Jump to content

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


Recommended Posts

sftech13
Posted
6 hours ago, mickle026 said:

OK, here goes!

Its different, so copy your old dll, and the VODtoSTRMscheduledTask.xml from the plugins/configuration directory and back them up.
Currently the only thing I know that is not working is fetching the Icons/Poster images.
Also I still haven't tested the group by Genres yet, so don't know if that is working or not.

The detection section has changed!

Include will override the ignores.

image.png.c5f284f97decbc5fa932525675c33e04.png

 

You can use your personal API keys from TMDB, TVDB or OMDB to add Provider Ids or collect Genre Information
 

Screenshot2025-03-15at16-55-14MICKS-RYZEN7.png.ffd0f717be46da83d432e8add4819588.png

 

VOD Output grouping has more options
image.png.6bbc307c5da3b95dd68ca9b3737c3728.png

 

Choose what you wish to output, you can now output whatever strms you like.

image.png.544660926c202bb648ad98fab31124b5.png

image.png.b5a9fc72e75e2a0c594528928050af94.png

 

Choose what you wish to log

 

image.png.fd96c67cbb7540a4569f5b2747045ac7.png

A LOT of work has gone into this - Let me know you findings!

I have taken onboard as well that this might get used to output different things, so I am also thinking about adding a saved profiles section, so that it could be run with different configs.
What do you tink?

VODtoSTRMscheduledTask.dll 676 kB · 6 downloads

Great work.....I like it. 

Posted

Yeah I had to revert back 1.0.0.93 as well. I'll pm you the logs for both the latest version and the 93.

mickle026
Posted
25 minutes ago, BigIrn said:

Yeah I had to revert back 1.0.0.93 as well. I'll pm you the logs for both the latest version and the 93.

Well this is not what I expected :( 

You have only live tv in the M3U  that you  sent?? its an already filtered list.


 

 

mickle026
Posted

Can you all start with no filters? i.e. no ignore words, no force to category and see where you go from there.  

It is not taking long to do the output, a full output takes about 30 mins here, that's every line and the verbose logs

 

If you use my lines and modify to your needs (i.e. language), don't use anything else on the first run,

include words

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

exclude words

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|,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

 

  • Like 1
Posted

I'll try it in a few. It acts like it's running even though the log finished. How often is the trigger to run? The log stops but I can see files populate on the drive.

mickle026
Posted
1 minute ago, BigIrn said:

I'll try it in a few. It acts like it's running even though the log finished. How often is the trigger to run? The log stops but I can see files populate on the drive.

When the log is complete and says it is finished, the drive should be populated.
Enable all logging to see what is going on, it takes longer but tells you just about everything.

Posted

I might do a full restart. Some folders are locked. I shutdown emby all the way and keep having to do sudo rm -r . I'm sure I'm just impatient.

Posted

Ok files are released after the macos restart and deleted from Trash.

Shut down Emby. 

Deleted the 93 vers DLL. 

Restarted Emby and checked to make sure there wasn't a remnant. 

Shut it down again. 

Downloaded and pasted the latest dll (99). Started emby

Put in the filters and didn't make any other changes except add full logs.

Walking away and taking a break before wife strangles me for ignoring her.

 

Screenshot 2025-03-15 at 9.57.24 PM.png

Screenshot 2025-03-15 at 9.57.11 PM.png

Screenshot 2025-03-15 at 9.56.58 PM.png

Screenshot 2025-03-15 at 9.56.42 PM.png

Screenshot 2025-03-15 at 9.54.48 PM.png

gillmacca01
Posted

Ok, VODS are created now, but if I add an additional ignore word, content is not being removed. Both boxes are ticked related to removal

Posted (edited)
11 minutes ago, gillmacca01 said:

Ok, VODS are created now, but if I add an additional ignore word, content is not being removed. Both boxes are ticked related to removal

If you make a change to the plugin, save, and reopen the plugin, does it save your changes? Mine keeps reverting. I'm also having file locks around PRIME PPV US/ PRIME PPV 6 - MLS 360 EN ESPAÑOL  Sat 15 Mar 23/20  8K EXCLUSIVE. Are you having any file locks? I have to restart the whole server each time.

Do you mind sharing your filters?

Edited by BigIrn
forgot what I was talking about
fbrassin
Posted
7 hours ago, mickle026 said:

Nothing?  I will checked tomorrow, I'm out tonight, But you have set to only create TV shows.

Movie VOD: False

Is this what you want?

You are right. 

I misunderstood that setting.

That's why it didn't create movies.

It run plugin right now and let you know

gillmacca01
Posted

It appears to be saving OK.

As far as i am aware, no file locks and it always completes.

I'm using Mickle026 ignore list, which worked, but I then added 4K to the 2 ignore fields and that's where it is failing 

Posted
5 minutes ago, gillmacca01 said:

It appears to be saving OK.

As far as i am aware, no file locks and it always completes.

I'm using Mickle026 ignore list, which worked, but I then added 4K to the 2 ignore fields and that's where it is failing 

16.Mar.2025 - 02:42:05 -----------------------[ Scanning Current Folders ]----------------------------
16.Mar.2025 - 02:42:05 Scanning Output Directory for content: /Volumes/T9/media/Streaming/.
16.Mar.2025 - 02:42:05 Found 6 folders in Output path. Scanning...
16.Mar.2025 - 02:42:05 Deleted empty directory: /Volumes/T9/media/Streaming/Movies 2.10.08 AM/US PRIME PPV ᵃᵐᶻ/US: PRIME PPV 6 - MLS 360 EN ESPAÑOL Sat 15 Mar 23:20 8K EXCLUSIVE
16.Mar.2025 - 02:42:05 Failed to delete empty directory /Volumes/T9/media/Streaming/Movies 2.10.08 AM/US PRIME PPV ᴿᴬᵂ/US: PRIME PPV ᴿᴬᵂ 10 - MLS 360 EN ESPAÑOL Sun 16 Mar 00:20 8K EXCLUSIVE: Could not find a part of the path '/Volumes/T9/media/Streaming/Movies 2.10.08 AM/US PRIME PPV ᴿᴬᵂ/US: PRIME PPV ᴿᴬᵂ 10 - MLS 360 EN ESPAÑOL Sun 16 Mar 00:20 8K EXCLUSIVE'.
16.Mar.2025 - 02:42:05 Failed to delete empty directory /Volumes/T9/media/Streaming/Movies 2.10.08 AM/US PRIME PPV ᴿᴬᵂ/US: PRIME PPV ᴿᴬᵂ 32 - BODØGLIMT VS. BEŞIKTAŞ Thu 12 Dec 20:30 8K EXCLUSIVE: Could not find a part of the path '/Volumes/T9/media/Streaming/Movies 2.10.08 AM/US PRIME PPV ᴿᴬᵂ/US: PRIME PPV ᴿᴬᵂ 32 - BODØGLIMT VS. BEŞIKTAŞ Thu 12 Dec 20:30 8K EXCLUSIVE'.
16.Mar.2025 - 02:42:05 Total .strm files processed: 0
 
What the hell am I doing wrong? Hmmmm.
 
I got this one while I was away
 
System.IndexOutOfRangeException: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at VODtoSTRMscheduledTask.STRMTOVOD.<>c__DisplayClass21_2.<<scanM3UFileAsync>g__AddMoivesTOMoviem3uList|5>d.MoveNext()
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
at System.Threading.QueueUserWorkItemCallback.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()
Source: VODtoSTRMscheduledTask
TargetSite: Void MoveNext()
 
Is it a string character issue utf/ansi error with the name of that PPV event?
gillmacca01
Posted

I haven't even looked at PPV yet. Want to get tv shows/movies working first 

Posted
19 minutes ago, gillmacca01 said:

I haven't even looked at PPV yet. Want to get tv shows/movies working first 

Ok. I’ll take out the PPV and Sports channels and see what happens only using his filters. 

fbrassin
Posted (edited)

I run the plugin with your config, but i think ignore doesn't ran as it should.

I.E. XXX has been created.

In requested words also i think doesn't work as it took files also without those words.

This is my config

<?xml version="1.0"?>
<PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EnableTMDBApi>false</EnableTMDBApi>
  <EnableOMDBApi>false</EnableOMDBApi>
  <EnableTVDBApi>false</EnableTVDBApi>
  <chkSaveUnknownsm3u>false</chkSaveUnknownsm3u>
  <chkLogSplitting>true</chkLogSplitting>
  <chkRemoveAllOtherVodFolders>false</chkRemoveAllOtherVodFolders>
  <chkWriteLiveTVVods>false</chkWriteLiveTVVods>
  <chkWriteMovieVods>true</chkWriteMovieVods>
  <chkWriteTVshowVods>true</chkWriteTVshowVods>
  <IgnoreSeasonFolder>false</IgnoreSeasonFolder>
  <chkLogIO>true</chkLogIO>
  <chkEnableURLChecking>true</chkEnableURLChecking>
  <IgnoreGroupTitleFolder>true</IgnoreGroupTitleFolder>
  <GroupByGenres>false</GroupByGenres>
  <GroupInYears>false</GroupInYears>
  <TMDBApiKey />
  <OMDBApiKey />
  <TVDBApiKey />
  <m3uImportVODFile>/tmp/list.m3u</m3uImportVODFile>
  <m3uImportVODFile2 />
  <m3uImportVODFile3 />
  <chkRemoveObsoleteEntries>true</chkRemoveObsoleteEntries>
  <chkLogMultiThread>true</chkLogMultiThread>
  <VODInclusionWords>vod,video on demand,movie,film,video,apple+ tv,netflix</VODInclusionWords>
  <m3uOverrideLiveTVChannelNames />
  <m3uOverrideMovieVODChannelNames />
  <m3uOverrideTVShowsVODChannelNames />
  <IncludeWords_StartingWith />
  <IncludeWords_Contains>EN ,EN -,EN|,US ,US|</IncludeWords_Contains>
  <IgnoreWords_StartingWith />
  <IgnoreWords_Contains> 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|,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</IgnoreWords_Contains>
  <chkfetchImages>false</chkfetchImages>
  <chkSaveLiveTVm3u>true</chkSaveLiveTVm3u>
  <chkSaveMoviesm3u>true</chkSaveMoviesm3u>
  <chkSaveTVShowsm3u>true</chkSaveTVShowsm3u>
  <m3uExportFiles />
  <chkLogm3uToStrm>true</chkLogm3uToStrm>
  <chkLogVerbose>true</chkLogVerbose>
  <m3uExportMovieSTRMS>/media/S3/m3u</m3uExportMovieSTRMS>
</PluginConfiguration>

And also full log.

FileWriteDebugLogging [M3UToStrm]16.mar.2025.txt

ScheduledTask-[M3UToStrm]16.mar.2025 - 07.40.30.txt

Edited by fbrassin
gillmacca01
Posted

Your gonna start hating us.

Come across another problem, but this may be an Emby issue. Attached 2 screenshot. 1st is what Emby is calling it. The second is the metadata screen 

Screenshot_20250316_083924_Emby.jpg

Screenshot_20250316_083949_Emby.jpg

Posted
1 hour ago, fbrassin said:

I run the plugin with your config, but i think ignore doesn't ran as it should.

I.E. XXX has been created.

In requested words also i think doesn't work as it took files also without those words.

This is my config

<?xml version="1.0"?>
<PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <EnableTMDBApi>false</EnableTMDBApi>
  <EnableOMDBApi>false</EnableOMDBApi>
  <EnableTVDBApi>false</EnableTVDBApi>
  <chkSaveUnknownsm3u>false</chkSaveUnknownsm3u>
  <chkLogSplitting>true</chkLogSplitting>
  <chkRemoveAllOtherVodFolders>false</chkRemoveAllOtherVodFolders>
  <chkWriteLiveTVVods>false</chkWriteLiveTVVods>
  <chkWriteMovieVods>true</chkWriteMovieVods>
  <chkWriteTVshowVods>true</chkWriteTVshowVods>
  <IgnoreSeasonFolder>false</IgnoreSeasonFolder>
  <chkLogIO>true</chkLogIO>
  <chkEnableURLChecking>true</chkEnableURLChecking>
  <IgnoreGroupTitleFolder>true</IgnoreGroupTitleFolder>
  <GroupByGenres>false</GroupByGenres>
  <GroupInYears>false</GroupInYears>
  <TMDBApiKey />
  <OMDBApiKey />
  <TVDBApiKey />
  <m3uImportVODFile>/tmp/list.m3u</m3uImportVODFile>
  <m3uImportVODFile2 />
  <m3uImportVODFile3 />
  <chkRemoveObsoleteEntries>true</chkRemoveObsoleteEntries>
  <chkLogMultiThread>true</chkLogMultiThread>
  <VODInclusionWords>vod,video on demand,movie,film,video,apple+ tv,netflix</VODInclusionWords>
  <m3uOverrideLiveTVChannelNames />
  <m3uOverrideMovieVODChannelNames />
  <m3uOverrideTVShowsVODChannelNames />
  <IncludeWords_StartingWith />
  <IncludeWords_Contains>EN ,EN -,EN|,US ,US|</IncludeWords_Contains>
  <IgnoreWords_StartingWith />
  <IgnoreWords_Contains> 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|,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</IgnoreWords_Contains>
  <chkfetchImages>false</chkfetchImages>
  <chkSaveLiveTVm3u>true</chkSaveLiveTVm3u>
  <chkSaveMoviesm3u>true</chkSaveMoviesm3u>
  <chkSaveTVShowsm3u>true</chkSaveTVShowsm3u>
  <m3uExportFiles />
  <chkLogm3uToStrm>true</chkLogm3uToStrm>
  <chkLogVerbose>true</chkLogVerbose>
  <m3uExportMovieSTRMS>/media/S3/m3u</m3uExportMovieSTRMS>
</PluginConfiguration>

And also full log.

ScheduledTask-[M3UToStrm]16.mar.2025 - 07.40.30.txt 69.03 MB · 0 downloads FileWriteDebugLogging [M3UToStrm]16.mar.2025.txt 903.63 kB · 0 downloads

Check if your password is in the log before attaching it publicly. I didn’t look for myself but I’ve managed to do it several times the last two weeks. 

Posted
41 minutes ago, gillmacca01 said:

Your gonna start hating us.

Come across another problem, but this may be an Emby issue. Attached 2 screenshot. 1st is what Emby is calling it. The second is the metadata screen 

Screenshot_20250316_083924_Emby.jpg

Screenshot_20250316_083949_Emby.jpg

What happens when you change the view to a list? Does the title appear?

gillmacca01
Posted
2 minutes ago, BigIrn said:

What happens when you change the view to a list? Does the title appear?

Never thought of trying that, but unfortunately still the same

gillmacca01
Posted (edited)
26 minutes ago, BigIrn said:

Check if your password is in the log before attaching it publicly. I didn’t look for myself but I’ve managed to do it several times the last two weeks. 

Strangely enough, on the old version, I had to set xxx as ignore. This version, is automatically ignoring it - I don't want xxxx anyway

Edited by gillmacca01
fbrassin
Posted
38 minutes ago, BigIrn said:

Check if your password is in the log before attaching it publicly. I didn’t look for myself but I’ve managed to do it several times the last two weeks. 

I checked, but i don't think my password is in the file.

Did you see it?

gillmacca01
Posted
1 minute ago, fbrassin said:

I checked, but i don't think my password is in the file.

Did you see it?

Either you edited the file or you are using a Downloaded file - either way your good 

  • Like 1
fbrassin
Posted
24 minutes ago, gillmacca01 said:

Strangely enough, on the old version, I had to set xxx as ignore. This version, is automatically ignoring it - I don't want xxxx anyway

For me, it is not ignoring XXX even though i put xxx in ignore

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...