Jump to content

Plugin: Export VODS from .m3u - split m3u livetv, tvshows, movies (Going BETA!!)


Recommended Posts

Posted
2 hours ago, mickle026 said:

OK

This is probably by design at the moment

I explained that Includes are working in the way that they keep processing.
if you included EN| then it would just continue and 4K wouldn't even get looked for.

The idea was to get this running and outputting to the correct folders first.  Then I would circle back and look at this logic.
It seems that now is the time to do that.
 

Nothing has changed in the way the cpu is utilised.  The plugin should only use what its always been using, if emby is ramping up the cpu usage, please check if it doing something else as well in the background. Transcoding, Library Scan etc.....

Library Scan is the biggest use of resources on my system.  I have 3 machines running emby, 2 behave, but the one using win10 (oldest version) does this occasionally after restarting emby several times without restarting the system.

Just for my information what is your system, how many cpu cores etc?

  Chip:    Apple M4
  Total Number of Cores:    10 (4 performance and 6 efficiency)

 

 

Screenshot 2025-03-17 at 11.21.57 AM.png

Posted

Ok using latest DLL and running now.

Last build finished after 19 minutes but it only showed like 18 movies out of the ~1000 it should and tv was low too. If the new DLL doesn't add to the shows I'll try messing with the add/ignores or something and double check my m3u isn't missing stuff I expect to see.

mickle026
Posted (edited)

OK, @BigIrn

So DONT use the last posted version - its very slow because of a logging error. running at a few kb per second when logging instead of 100's of kb per second.
I will replace it.

I have an option here that you guys cannot see for Extra Verbose logging, I didnt turn it off for this build so you will see other stuff in the verbose logs and they will be bigger in this version, i'll turn them off in a later build, or add a checkbox for it if you think it should stay.

DONT post logs from this Version, The logs contain the m3u lines and therefore your usernames and passwords

Sorry about that :( 

VODtoSTRMscheduledTask.dll

Edited by mickle026
fbrassin
Posted

This version after 2 days wrote in my output folder.

I don't know if it is because i put something in Include words.

I don't understand how include works, because i put this

EN ,EN -,EN|,US ,US|

But many movies has been taken also without those words.

 

Moreover i'd like to ask:

after a running were folder in movies have been written, if i put some new words in ignore and run pluing again, movies already in movie folder will be deleted or not?

fbrassin
Posted

Another thing.

I found some Tv shows and some movies written like these

Is there a way to solve?

 

image.png.122c61ba97c87e044f935c062fea226e.png

mickle026
Posted

What device is that on?

And 2 days, just 😲 wow.

Posted

lol I was thinking the same thing... at first it looks like firmware editor. I'm guessing this is a linux vi editor?

Posted
5 hours ago, mickle026 said:

OK, @BigIrn

So DONT use the last posted version - its very slow because of a logging error. running at a few kb per second when logging instead of 100's of kb per second.
I will replace it.

I have an option here that you guys cannot see for Extra Verbose logging, I didnt turn it off for this build so you will see other stuff in the verbose logs and they will be bigger in this version, i'll turn them off in a later build, or add a checkbox for it if you think it should stay.

DONT post logs from this Version, The logs contain the m3u lines and therefore your usernames and passwords

Sorry about that :( 

VODtoSTRMscheduledTask.dll 688 kB · 6 downloads

No dice. It finished between 10-15 minutes and my TV still shows 18 movies. I’m charging my laptop so I can remote in and see what happened. 

mickle026
Posted (edited)
10 hours ago, fbrassin said:

Moreover i'd like to ask:

after a running were folder in movies have been written, if i put some new words in ignore and run pluing again, movies already in movie folder will be deleted or not?

The plugin "should" remove anything that is not output from the current m3u run if you did not deselect remove obsolete files.

 

10 hours ago, fbrassin said:

I don't understand how include works, because i put this

EN ,EN -,EN|,US ,US|

But many movies has been taken also without those words.

The include / exclude logic still needs working on and deciding how you all want it to work.

I had it not check ignore words if it was to be included, but then it wasn't excluding "4K" if that was an ignore word.

So in the last build I altered it, so that it would still ignore if you had "4K" set in ignores,

BUT that makes the include redundant, because if you exclude everything else except "EN ,EN -,EN|,US ,US|" , then it will do the same thing

I think this would make sense (so I have altered it again 😛 )
if either include type is empty , keep everything (as a default behaviour), but can still be ignored by the ignore words.
if its in include has values, then exclude everything else,
then check ignores and filter the includes further by ignoring anything that is in either ignore boxes

Here is a build that should do just that...


 

 

 

VODtoSTRMscheduledTask.dll

Edited by mickle026
fbrassin
Posted
9 hours ago, mickle026 said:

What device is that on?

And 2 days, just 😲 wow.

I think i bad explain. 😀

It didn't last 2 days, but only few minutes, but previous build didn't write folders in output folder. While this one did.

I'm on Ubuntu

fbrassin
Posted
8 hours ago, BigIrn said:

lol I was thinking the same thing... at first it looks like firmware editor. I'm guessing this is a linux vi editor?

In was mc on ubuntu

fbrassin
Posted

Sorry which is the difference fro second and last option?

 

image.png.9d67bd9b2e6c8bb4d6e1934d9117d963.png

mickle026
Posted (edited)

Second option will delete what is not in the m3u at the next run.

For example strms and their sub folders, however it is sometimes leaving the empty folders behind.

Last option will remove top level folders if checked and will also remove empty subfolders.

For example you only choose movies, it will delete TV shows and live TV folders if they exist and haven't been removed.

I understand the confusion.  They sound like they do the same thing.  

Programming wise I should merge them into the same thing.

 

The last one is basically a clean up anything that should have been done already.

Edited by mickle026
  • Like 1
Posted (edited)
1 hour ago, mickle026 said:

Second option will delete what is not in the m3u at the next run.b

For example strms and their sub folders.

Last option will remove top level folders if checked.

For example you only choose movies, it will delete TV shows and live TV folders if they exist and haven't been removed.

I understand the confusion.  They sound like they do the same thing.  

Programming wise I should merge them into the same thing.

 

The last one is basically a clean up anything that should have been done already.

 
Updated and restarted Emby. It finished quick with no errors but didn't change anything.
 
18.Mar.2025 - 08:28:02 Create Movie strm files From M3U
18.Mar.2025 - 08:28:02 Build Version: 1.0.0.112
18.Mar.2025 - 08:28:02 CPU Cores: 10: Logical Processors (Max Threads): 10, Hyperthreading: False
18.Mar.2025 - 08:28:02 Task Started at: 3/18/2025 8:28:02AM
18.Mar.2025 - 08:28:02 -----------------------------------------------------------------------
18.Mar.2025 - 08:28:02 Create Movie Stream Files From M3U Scheduled Task Triggered.
18.Mar.2025 - 08:28:02 -----------------------------------------------------------------------
18.Mar.2025 - 08:28:02 Input File 1: yadayada
18.Mar.2025 - 08:28:02 -----------------------[ Scanning Current Folders ]----------------------------
18.Mar.2025 - 08:28:02 Scanning Output Directory for content: /Volumes/T9/media/Streaming/.
18.Mar.2025 - 08:28:03 Found 2051 folders in Output path. Scanning...
18.Mar.2025 - 08:28:04 Total .strm files processed: 0
18.Mar.2025 - 08:28:04 The output directory is empty.
18.Mar.2025 - 08:28:04 ----------------------[ Reading M3U File Contents ]----------------------------
18.Mar.2025 - 08:28:04 Loading M3U file.
18.Mar.2025 - 08:28:04 Attempting to download file: http://yadayada
18.Mar.2025 - 08:28:08 Download Progress: 10%
18.Mar.2025 - 08:28:08 Download Progress: 20%
18.Mar.2025 - 08:28:08 Download Progress: 30%
18.Mar.2025 - 08:28:08 Download Progress: 40%
18.Mar.2025 - 08:28:08 Download Progress: 50%
18.Mar.2025 - 08:28:08 Download Progress: 60%
18.Mar.2025 - 08:28:08 Download Progress: 70%
18.Mar.2025 - 08:28:08 Download Progress: 80%
18.Mar.2025 - 08:28:08 Download Progress: 90%
18.Mar.2025 - 08:28:08 Download Progress: 100%
18.Mar.2025 - 08:28:08 -----------------------[ Updating Output Folder ]-------------------------------
18.Mar.2025 - 08:28:08 Updating OutputFolder (Creating/Deleting strms & folders)
18.Mar.2025 - 08:28:08 Config: Write LiveTV VOD: False Write Movie VOD: True Write TV Show VODS: True
18.Mar.2025 - 08:28:09 Finished this import.
18.Mar.2025 - 08:28:09 Task Ended at: 3/18/2025 8:28:09AM
18.Mar.2025 - 08:28:09 Task Duration: 00:00:06.56
18.Mar.2025 - 08:28:09 No Input File 2
18.Mar.2025 - 08:28:09 No Input File 3
 
I've deleted what was already in my vod (streaming) folders and running it again without the EN ,EN -,EN|,US ,US|,|EN|
Edited by BigIrn
mickle026
Posted (edited)

@BigIrn

Can you run this one, this one will write your include and ignores to the top of the log so i can copy them (your config) and check what is happening?

So I can also see what you are trying to do.  I only need this bit, so you can run without logging on, this bit will print to the log when logging is off.

Thanks

18.Mar.2025 - 12:50:31 CreateMovieStrmsFromM3UTaskStarter method triggered.
18.Mar.2025 - 12:50:31 Inside Task.Run.
18.Mar.2025 - 12:50:31 Create Movie strm files From M3U
18.Mar.2025 - 12:50:31 Build Version: 1.0.0.113
18.Mar.2025 - 12:50:33 CPU Cores: 8: Logical Processors (Max Threads): 16, Hyperthreading: True
18.Mar.2025 - 12:50:33 Ignore [Contains]: 4K,(4K),[4K]
18.Mar.2025 - 12:50:33 Ignore [StartsWith]: 4K,AF -,AF|,AJ -,AL -,AR -,AR-ANM -,AR-KID -,AR-,BE -,BE|,BG -,BR -,CN -,DE (BLURAY),DE -,DE|,DK -,DK|,ES -,ES|,ÈS - ,ES .,ES- ,EX -,EX - ,EX -,EXYU ,FI -,FR -,FR - ,FR-,FR|,GR -,GR|,IL -,IL|,IN -,IN-,IN|,IR -,IR-,IS -,IT -,IT|,JP -,JP|,KR -,KR|,KU -,KU|,LA -,LAT -,LAT-,LATT -,LAT.. -,LATINO,MT -,MT|MT,NF -,NF - ,NF-,NF - ,NL 24,NL FILMS,NL F,NL HBO,NL M,NL NETFLIX,NL R,N -,NL -,NL ,NL|,NL.-,NO -,NO|,PK -,PL -,PT -,PT ;,PT|,QC -,QFR -,RO -,RU -,RU|,RX ,SC -,SC|,SE -,SE|,SH -,TOP -,TOD -,TR -,TR|,VIU -,WIT-,XU -,XU|,###,(DE),(FR),(GR),(IR),(KR),(RU),(TR),FOR ADULTS,XXX,XXL
18.Mar.2025 - 12:50:33 Include [Contains]: 
18.Mar.2025 - 12:50:33 Include [StartsWith]: EN ,EN -,EN|,US ,US|,UK,|EN|
18.Mar.2025 - 12:50:33 Task Started at: 18/03/2025 12:50:33

when I run yours it continues to processing the m3u
 

18.Mar.2025 - 13:00:43 ----------------------[ Reading M3U File Contents ]----------------------------
18.Mar.2025 - 13:00:43 Loading M3U file.
18.Mar.2025 - 13:00:43 Attempting to download file: http://**********************
18.Mar.2025 - 13:01:30 Download Progress: 10%
18.Mar.2025 - 13:01:55 Download Progress: 20%
18.Mar.2025 - 13:02:13 Download Progress: 30%
18.Mar.2025 - 13:02:38 Download Progress: 40%
18.Mar.2025 - 13:02:56 Download Progress: 50%
18.Mar.2025 - 13:03:14 Download Progress: 60%
18.Mar.2025 - 13:03:32 Download Progress: 70%
18.Mar.2025 - 13:03:52 Download Progress: 80%
18.Mar.2025 - 13:04:16 Download Progress: 90%
18.Mar.2025 - 13:04:38 Download Progress: 100%
18.Mar.2025 - 13:04:39 channelName: ##### 4K ᵁᴴᴰ ³⁸⁴⁰ᴾ #####
18.Mar.2025 - 13:04:39 Checking [Include] Contains
18.Mar.2025 - 13:04:39 Checking [Include] StartsWith
18.Mar.2025 - 13:04:39 channelName: 4K: beIN ᵁᴴᴰ ³⁸⁴⁰ᴾ (EVENT ONLY)
18.Mar.2025 - 13:04:39 Checking [Include] Contains
18.Mar.2025 - 13:04:39 Checking [Include] StartsWith
18.Mar.2025 - 13:04:39 channelName: 4K: V SPORT ᵁᴴᴰ ³⁸⁴⁰ᴾ
18.Mar.2025 - 13:04:39 Checking [Include] Contains

 

 

VODtoSTRMscheduledTask.dll

Edited by mickle026
my spelling is terrible!
Posted
30 minutes ago, mickle026 said:

@BigIrn

Can you run this one, this one will write your include and ignores to the top of the log so i can copy them (your config) and check what is happening?

So I can also see what you are trying to do.  I only need this bit, so you can run without logging on, this bit will print to the log when logging is off.

Thanks

18.Mar.2025 - 12:50:31 CreateMovieStrmsFromM3UTaskStarter method triggered.
18.Mar.2025 - 12:50:31 Inside Task.Run.
18.Mar.2025 - 12:50:31 Create Movie strm files From M3U
18.Mar.2025 - 12:50:31 Build Version: 1.0.0.113
18.Mar.2025 - 12:50:33 CPU Cores: 8: Logical Processors (Max Threads): 16, Hyperthreading: True
18.Mar.2025 - 12:50:33 Ignore [Contains]: 4K,(4K),[4K]
18.Mar.2025 - 12:50:33 Ignore [StartsWith]: 4K,AF -,AF|,AJ -,AL -,AR -,AR-ANM -,AR-KID -,AR-,BE -,BE|,BG -,BR -,CN -,DE (BLURAY),DE -,DE|,DK -,DK|,ES -,ES|,ÈS - ,ES .,ES- ,EX -,EX - ,EX -,EXYU ,FI -,FR -,FR - ,FR-,FR|,GR -,GR|,IL -,IL|,IN -,IN-,IN|,IR -,IR-,IS -,IT -,IT|,JP -,JP|,KR -,KR|,KU -,KU|,LA -,LAT -,LAT-,LATT -,LAT.. -,LATINO,MT -,MT|MT,NF -,NF - ,NF-,NF - ,NL 24,NL FILMS,NL F,NL HBO,NL M,NL NETFLIX,NL R,N -,NL -,NL ,NL|,NL.-,NO -,NO|,PK -,PL -,PT -,PT ;,PT|,QC -,QFR -,RO -,RU -,RU|,RX ,SC -,SC|,SE -,SE|,SH -,TOP -,TOD -,TR -,TR|,VIU -,WIT-,XU -,XU|,###,(DE),(FR),(GR),(IR),(KR),(RU),(TR),FOR ADULTS,XXX,XXL
18.Mar.2025 - 12:50:33 Include [Contains]: 
18.Mar.2025 - 12:50:33 Include [StartsWith]: EN ,EN -,EN|,US ,US|,UK,|EN|
18.Mar.2025 - 12:50:33 Task Started at: 18/03/2025 12:50:33

when I run yours it continues to processing the m3u
 

18.Mar.2025 - 13:00:43 ----------------------[ Reading M3U File Contents ]----------------------------
18.Mar.2025 - 13:00:43 Loading M3U file.
18.Mar.2025 - 13:00:43 Attempting to download file: http://**********************
18.Mar.2025 - 13:01:30 Download Progress: 10%
18.Mar.2025 - 13:01:55 Download Progress: 20%
18.Mar.2025 - 13:02:13 Download Progress: 30%
18.Mar.2025 - 13:02:38 Download Progress: 40%
18.Mar.2025 - 13:02:56 Download Progress: 50%
18.Mar.2025 - 13:03:14 Download Progress: 60%
18.Mar.2025 - 13:03:32 Download Progress: 70%
18.Mar.2025 - 13:03:52 Download Progress: 80%
18.Mar.2025 - 13:04:16 Download Progress: 90%
18.Mar.2025 - 13:04:38 Download Progress: 100%
18.Mar.2025 - 13:04:39 channelName: ##### 4K ᵁᴴᴰ ³⁸⁴⁰ᴾ #####
18.Mar.2025 - 13:04:39 Checking [Include] Contains
18.Mar.2025 - 13:04:39 Checking [Include] StartsWith
18.Mar.2025 - 13:04:39 channelName: 4K: beIN ᵁᴴᴰ ³⁸⁴⁰ᴾ (EVENT ONLY)
18.Mar.2025 - 13:04:39 Checking [Include] Contains
18.Mar.2025 - 13:04:39 Checking [Include] StartsWith
18.Mar.2025 - 13:04:39 channelName: 4K: V SPORT ᵁᴴᴰ ³⁸⁴⁰ᴾ
18.Mar.2025 - 13:04:39 Checking [Include] Contains

 

VODtoSTRMscheduledTask.dll 694 kB · 0 downloads

Yeah do you want me to cancel the one that is running right now? It’s at 2% since I posted last. 

mickle026
Posted

I don't mind, whenever you are ready.

I am try to get rid of any issue that anyone might have and fix any misunderstandings.

I obviously know how it works, because I wrote it.  

Posted
18.Mar.2025 - 09:39:41 Create strm files and folders From M3U
18.Mar.2025 - 09:39:41 Build Version: 1.0.0.113
18.Mar.2025 - 09:39:41 CPU Cores: 10: Logical Processors (Max Threads): 10, Hyperthreading: False
18.Mar.2025 - 09:39:41 Ignore [Contains]:
18.Mar.2025 - 09:39:41 Ignore [StartsWith]: 4K,AF -,AF|,AJ -,8K,AL -,AR -,AR-ANM -,AR-KID -,AR-,BE -,BE|,BG -,BR -,CN -,DE (BLURAY),DE -,DE|,DK -,DK|,ES -,ES|,ÈS - ,ES .,ES- ,EX -,EX - ,EX -,EXYU ,FI -,FR -,FR - ,FR-,FR|,GR -,GR|,IL -,IL|,IN -,IN-,IN|,IR -,IR-,IS -,IT -,IT|,JP -,JP|,KR -,KR|,KU -,KU|,LA -,LAT -,LAT-,LATT -,LAT.. -,LATINO,MT -,MT|MT,NF -,NF - ,NF-,NF - ,NL 24,NL FILMS,NL F,NL HBO,NL M,NL NETFLIX,NL R,N -,NL -,NL ,NL|,NO -,NO|,PK -,PL -,PT -,PT ;,PT|,QC -,QFR -,RO -,RU -,RU|,RX ,SC -,SC|,SE -,SE|,SH -,TOP -,TOD -,TR -,TR|,VIU -,WIT-,XU -,XU|,###,(DE),(FR),(GR),(IR),(KR),(RU),(TR),XXX,XXL
18.Mar.2025 - 09:39:41 Include [Contains]:
18.Mar.2025 - 09:39:41 Include [StartsWith]:
18.Mar.2025 - 09:39:41 Task Started at: 3/18/2025 9:39:41AM
18.Mar.2025 - 09:39:41 Scanning Output Directory for content: /Volumes/T9/media/Streaming/.
18.Mar.2025 - 09:39:41 Found 0 folders in Output path. Scanning...
18.Mar.2025 - 09:39:41 Total .strm files processed: 0
18.Mar.2025 - 09:39:47 Updating OutputFolder (Creating/Deleting strms & folders)
18.Mar.2025 - 09:39:47 Config: Write LiveTV VOD: False Write Movie VOD: True Write TV Show VODS: True
18.Mar.2025 - 09:39:47 Task Ended at: 3/18/2025 9:39:47AM
18.Mar.2025 - 09:39:47 Task Duration: 00:00:05.49
mickle026
Posted
3 minutes ago, BigIrn said:
18.Mar.2025 - 09:39:41 Create strm files and folders From M3U
18.Mar.2025 - 09:39:41 Build Version: 1.0.0.113
18.Mar.2025 - 09:39:41 CPU Cores: 10: Logical Processors (Max Threads): 10, Hyperthreading: False
18.Mar.2025 - 09:39:41 Ignore [Contains]:
18.Mar.2025 - 09:39:41 Ignore [StartsWith]: 4K,AF -,AF|,AJ -,8K,AL -,AR -,AR-ANM -,AR-KID -,AR-,BE -,BE|,BG -,BR -,CN -,DE (BLURAY),DE -,DE|,DK -,DK|,ES -,ES|,ÈS - ,ES .,ES- ,EX -,EX - ,EX -,EXYU ,FI -,FR -,FR - ,FR-,FR|,GR -,GR|,IL -,IL|,IN -,IN-,IN|,IR -,IR-,IS -,IT -,IT|,JP -,JP|,KR -,KR|,KU -,KU|,LA -,LAT -,LAT-,LATT -,LAT.. -,LATINO,MT -,MT|MT,NF -,NF - ,NF-,NF - ,NL 24,NL FILMS,NL F,NL HBO,NL M,NL NETFLIX,NL R,N -,NL -,NL ,NL|,NO -,NO|,PK -,PL -,PT -,PT ;,PT|,QC -,QFR -,RO -,RU -,RU|,RX ,SC -,SC|,SE -,SE|,SH -,TOP -,TOD -,TR -,TR|,VIU -,WIT-,XU -,XU|,###,(DE),(FR),(GR),(IR),(KR),(RU),(TR),XXX,XXL
18.Mar.2025 - 09:39:41 Include [Contains]:
18.Mar.2025 - 09:39:41 Include [StartsWith]:
18.Mar.2025 - 09:39:41 Task Started at: 3/18/2025 9:39:41AM
18.Mar.2025 - 09:39:41 Scanning Output Directory for content: /Volumes/T9/media/Streaming/.
18.Mar.2025 - 09:39:41 Found 0 folders in Output path. Scanning...
18.Mar.2025 - 09:39:41 Total .strm files processed: 0
18.Mar.2025 - 09:39:47 Updating OutputFolder (Creating/Deleting strms & folders)
18.Mar.2025 - 09:39:47 Config: Write LiveTV VOD: False Write Movie VOD: True Write TV Show VODS: True
18.Mar.2025 - 09:39:47 Task Ended at: 3/18/2025 9:39:47AM
18.Mar.2025 - 09:39:47 Task Duration: 00:00:05.49

So do you think everything is being excluded? - I will check that ... 
What would you like to keep?

Posted

I've lost track but on one version end of last week, it populated all the right movies and tv shows, it was just showing the country code EN or US on everything and it forced me to restart the emby service. (Honestly I was lazy, when your job was done I could have wrote a bash script to trim left 3 string when the country code existed). You updated it to remove the country code and I think that is when it filtered the list of movies and shows down to like less than 1% of what I had before. Now it's not creating anything.

Let me run this with no filters and see if it pulls anything.

mickle026
Posted

With my filters shown above & your m3u file

Movies: 1,919 Files, 1,919 Folders
TV Shows: 122,592 Files, 11,953 Folders

So I have added some debug lines to the code to see what it is doing with your config

Posted
18.Mar.2025 - 10:06:32 Create strm files and folders From M3U
18.Mar.2025 - 10:06:32 Build Version: 1.0.0.113
18.Mar.2025 - 10:06:32 CPU Cores: 10: Logical Processors (Max Threads): 10, Hyperthreading: False
18.Mar.2025 - 10:06:32 Ignore [Contains]:
18.Mar.2025 - 10:06:32 Ignore [StartsWith]: 4K,AF -,AF|,AJ -,8K,AL -,AR -,AR-ANM -,AR-KID -,AR-,BE -,BE|,BG -,BR -,CN -,DE (BLURAY),DE -,DE|,DK -,DK|,ES -,ES|,ÈS - ,ES .,ES- ,EX -,EX - ,EX -,EXYU ,FI -,FR -,FR - ,FR-,FR|,GR -,GR|,IL -,IL|,IN -,IN-,IN|,IR -,IR-,IS -,IT -,IT|,JP -,JP|,KR -,KR|,KU -,KU|,LA -,LAT -,LAT-,LATT -,LAT.. -,LATINO,MT -,MT|MT,NF -,NF - ,NF-,NF - ,NL 24,NL FILMS,NL F,NL HBO,NL M,NL NETFLIX,NL R,N -,NL -,NL ,NL|,NO -,NO|,PK -,PL -,PT -,PT ;,PT|,QC -,QFR -,RO -,RU -,RU|,RX ,SC -,SC|,SE -,SE|,SH -,TOP -,TOD -,TR -,TR|,VIU -,WIT-,XU -,XU|,###,(DE),(FR),(GR),(IR),(KR),(RU),(TR),XXX,XXL
18.Mar.2025 - 10:06:32 Include [Contains]:
18.Mar.2025 - 10:06:32 Include [StartsWith]: EN ,EN -,EN|,US ,US|,|EN|
18.Mar.2025 - 10:06:32 Task Started at: 3/18/2025 10:06:32AM
18.Mar.2025 - 10:06:32 -----------------------------------------------------------------------
18.Mar.2025 - 10:06:32 Create Movie Stream Files From M3U Scheduled Task Triggered.
18.Mar.2025 - 10:06:32 -----------------------------------------------------------------------
18.Mar.2025 - 10:06:32 Input File 1: http://m3u4u.com/m3u/REDACTED
18.Mar.2025 - 10:06:32 -----------------------[ Scanning Current Folders ]----------------------------
18.Mar.2025 - 10:06:32 Scanning Output Directory for content: /Volumes/T9/media/Streaming/.
18.Mar.2025 - 10:06:32 Found 0 folders in Output path. Scanning...
18.Mar.2025 - 10:06:32 Total .strm files processed: 0
18.Mar.2025 - 10:06:33 The output directory is empty.
18.Mar.2025 - 10:06:33 ----------------------[ Reading M3U File Contents ]----------------------------
18.Mar.2025 - 10:06:33 Loading M3U file.
18.Mar.2025 - 10:06:33 Attempting to download file: http://m3u4u.com/m3u/SIKE
18.Mar.2025 - 10:06:35 Download Progress: 10%
18.Mar.2025 - 10:06:35 Download Progress: 20%
18.Mar.2025 - 10:06:35 Download Progress: 30%
18.Mar.2025 - 10:06:35 Download Progress: 40%
18.Mar.2025 - 10:06:35 Download Progress: 50%
18.Mar.2025 - 10:06:35 Download Progress: 60%
18.Mar.2025 - 10:06:35 Download Progress: 70%
18.Mar.2025 - 10:06:36 Download Progress: 80%
18.Mar.2025 - 10:06:36 Download Progress: 90%
18.Mar.2025 - 10:06:36 Download Progress: 100%
18.Mar.2025 - 10:06:36 -----------------------[ Updating Output Folder ]-------------------------------
18.Mar.2025 - 10:06:36 Updating OutputFolder (Creating/Deleting strms & folders)
18.Mar.2025 - 10:06:36 Config: Write LiveTV VOD: False Write Movie VOD: True Write TV Show VODS: True
18.Mar.2025 - 10:06:36 Finished this import.
18.Mar.2025 - 10:06:36 Task Ended at: 3/18/2025 10:06:36AM
18.Mar.2025 - 10:06:36 Task Duration: 00:00:03.81
18.Mar.2025 - 10:06:36 No Input File 2
18.Mar.2025 - 10:06:36 No Input File 3
18.Mar.2025 - 10:06:36 Finished.
mickle026
Posted (edited)

I adjusted the ignore/include logic  to gracefully handle if there is nothing in the config boxes

I am running it now, and according to the logs so far it appears to be working correctly now.

I have full verbose (and Extra verbose) logging on, so it'll take a bit longer.

Here is the dll

I will post the result when its finished

18.Mar.2025 - 14:28:21 channelName: AMZ - Upload S01 E04
18.Mar.2025 - 14:28:21 Checking [Include Config] Include: True because config is empty.  Next check Ignore Config.
18.Mar.2025 - 14:28:21 Checking [Ignore] Contains
18.Mar.2025 - 14:28:21 Checking [Ignore] StartsWith
18.Mar.2025 - 14:28:21 Include / Ignore checking passed succesfully.
18.Mar.2025 - 14:28:21 Ingnore/Include Total execution time: 0 ms
18.Mar.2025 - 14:28:21 Sanitized Channelname: AMZ - Upload
18.Mar.2025 - 14:28:21 Detected TV Shows - URL contains the word '/Series/'
18.Mar.2025 - 14:28:21 Adding TV show: AMZ - Upload S01 E04
18.Mar.2025 - 14:28:21 Debugging AddContentAsync Inputs: outputDirectory=D:\VODS, tvgType=TV Shows, groupTitle=, showTitle=AMZ - Upload S01 E04, season=NULL, fileName=AMZ - Upload S01 E04.strm, fileContents=http://**************************, imagePath=, year=unknown_year, genres=
18.Mar.2025 - 14:28:21 groupTitle Folder omitted due to IgnoreGroupTitleFolder setting.
18.Mar.2025 - 14:28:21 Constructed Folder Name: D:\VODS\TV Shows\AMZ - Upload\Season 01
18.Mar.2025 - 14:28:21 Debugging AddToContentListAsync: folderName=D:\VODS\TV Shows\AMZ - Upload\Season 01, fileName=AMZ - Upload S01 E04.strm, fileContents=http://**************************
18.Mar.2025 - 14:28:21 Item [388226] Adding to Folder: D:\VODS\TV Shows\AMZ - Upload\Season 01

 

.

18.Mar.2025 - 14:27:50 channelName: NF - Alba (ES) S01 E11
18.Mar.2025 - 14:27:50 Checking [Include Config] Include: True because config is empty.  Next check Ignore Config.
18.Mar.2025 - 14:27:50 Checking [Ignore] Contains
18.Mar.2025 - 14:27:50 Checking [Ignore] StartsWith
18.Mar.2025 - 14:27:50 **FILTER** Ignoring [channelName] [173302]: NF - Alba (ES) S01 E11 :Filtered by: 'NF -'

 

 

VODtoSTRMscheduledTask.dll

Edited by mickle026
Posted

Check and see if the issue is not the filter but the input method. I changed from URL to local M3U (same content) and now it appears to be running longer this time.

Posted
18.Mar.2025 - 10:14:08 Create strm files and folders From M3U
18.Mar.2025 - 10:14:08 Build Version: 1.0.0.113
18.Mar.2025 - 10:14:09 CPU Cores: 10: Logical Processors (Max Threads): 10, Hyperthreading: False
18.Mar.2025 - 10:14:09 Ignore [Contains]:
18.Mar.2025 - 10:14:09 Ignore [StartsWith]: 4K,AF -,AF|,AJ -,8K,AL -,AR -,AR-ANM -,AR-KID -,AR-,BE -,BE|,BG -,BR -,CN -,DE (BLURAY),DE -,DE|,DK -,DK|,ES -,ES|,ÈS - ,ES .,ES- ,EX -,EX - ,EX -,EXYU ,FI -,FR -,FR - ,FR-,FR|,GR -,GR|,IL -,IL|,IN -,IN-,IN|,IR -,IR-,IS -,IT -,IT|,JP -,JP|,KR -,KR|,KU -,KU|,LA -,LAT -,LAT-,LATT -,LAT.. -,LATINO,MT -,MT|MT,NF -,NF - ,NF-,NF - ,NL 24,NL FILMS,NL F,NL HBO,NL M,NL NETFLIX,NL R,N -,NL -,NL ,NL|,NO -,NO|,PK -,PL -,PT -,PT ;,PT|,QC -,QFR -,RO -,RU -,RU|,RX ,SC -,SC|,SE -,SE|,SH -,TOP -,TOD -,TR -,TR|,VIU -,WIT-,XU -,XU|,###,(DE),(FR),(GR),(IR),(KR),(RU),(TR),XXX,XXL
18.Mar.2025 - 10:14:09 Include [Contains]:
18.Mar.2025 - 10:14:09 Include [StartsWith]: EN ,EN -,EN|,US ,US|,|EN|
18.Mar.2025 - 10:14:09 Task Started at: 3/18/2025 10:14:09AM
18.Mar.2025 - 10:14:09 -----------------------------------------------------------------------
18.Mar.2025 - 10:14:09 Create Movie Stream Files From M3U Scheduled Task Triggered.
18.Mar.2025 - 10:14:09 -----------------------------------------------------------------------
18.Mar.2025 - 10:14:09 Input File 1: http:// m3u URL which I removed from the plugin when I switch to local m3u so this is an error
18.Mar.2025 - 10:14:09 -----------------------[ Scanning Current Folders ]----------------------------
18.Mar.2025 - 10:14:09 Scanning Output Directory for content: /Volumes/T9/media/Streaming/.
18.Mar.2025 - 10:14:09 Found 0 folders in Output path. Scanning...
18.Mar.2025 - 10:14:09 Total .strm files processed: 0
18.Mar.2025 - 10:14:09 The output directory is empty.
18.Mar.2025 - 10:14:09 ----------------------[ Reading M3U File Contents ]----------------------------
18.Mar.2025 - 10:14:09 Loading M3U file.
18.Mar.2025 - 10:14:09 Attempting to download file: still showing a URL even though I changed it to local file
18.Mar.2025 - 10:14:15 Download Progress: 10%
18.Mar.2025 - 10:14:16 Download Progress: 20%
18.Mar.2025 - 10:14:16 Download Progress: 30%
18.Mar.2025 - 10:14:16 Download Progress: 40%
18.Mar.2025 - 10:14:16 Download Progress: 50%
18.Mar.2025 - 10:14:16 Download Progress: 60%
18.Mar.2025 - 10:14:16 Download Progress: 70%
18.Mar.2025 - 10:14:16 Download Progress: 80%
18.Mar.2025 - 10:14:16 Download Progress: 90%
18.Mar.2025 - 10:14:16 Download Progress: 100%
18.Mar.2025 - 10:14:16 -----------------------[ Updating Output Folder ]-------------------------------
18.Mar.2025 - 10:14:16 Updating OutputFolder (Creating/Deleting strms & folders)
18.Mar.2025 - 10:14:16 Config: Write LiveTV VOD: False Write Movie VOD: True Write TV Show VODS: True
18.Mar.2025 - 10:14:16 Finished this import.
18.Mar.2025 - 10:14:16 Task Ended at: 3/18/2025 10:14:16AM
18.Mar.2025 - 10:14:16 Task Duration: 00:00:07.51
18.Mar.2025 - 10:14:16 No Input File 2
18.Mar.2025 - 10:14:16 Input File 3: /Volumes/T9/StreamingM3U/tv_channels_b3e6755ebfe2.m3u <-correct
18.Mar.2025 - 10:14:16 -----------------------[ Scanning Current Folders ]----------------------------
18.Mar.2025 - 10:14:16 Scanning Output Directory for content: /Volumes/T9/media/Streaming/.
18.Mar.2025 - 10:14:16 Found 0 folders in Output path. Scanning...
18.Mar.2025 - 10:14:16 Total .strm files processed: 0
18.Mar.2025 - 10:14:16 The output directory is empty.
18.Mar.2025 - 10:14:17 ----------------------[ Reading M3U File Contents ]----------------------------
18.Mar.2025 - 10:14:17 Loading M3U file.
18.Mar.2025 - 10:14:17 Reading local file: /Volumes/T9/StreamingM3U/tv_channels_b3e6755ebfe2.m3u
18.Mar.2025 - 10:14:17 Detected and removed country code: Modified string is 'UFC 313: Pereira vs. Ankalaev (2025) (Multi Audio)'
18.Mar.2025 - 10:14:18 Detected and removed country code: Modified string is 'UFC 313: Pereira vs. Ankalaev (2025) (Multi Audio)'

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...