Jump to content

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


Recommended Posts

Posted

I'm running the script on both windows and mac side. If the root level folders issue is fixed I think we're good to proceed.

gillmacca01
Posted

Just added the movie folder to Emby, waiting for scan to finish

gillmacca01
Posted

Scan finished, still seeing things detected as TV Shows (see screenshot) - exclude the following as I can ignore them:

Math, Week

Shapes Songs Collection

Skip counting up to

Children_Family & Horror_thriller - are they a configuration error on my part?

Forgot to tick 'ignore empty group-title', so will re-run with the option ticked

Looking through folders & Movies tab, everything looks good in there

image.thumb.png.7a7f44643fd7856685d98f8427d63905.png

gillmacca01
Posted

Ignore list is not being applied to Live TV

image.png.de98e0ebd11dd5e16cad2faefef3c11a.png

mickle026
Posted (edited)
1 hour ago, gillmacca01 said:

For me personally, it looks like everything I want to import is importing via m3u url correctly - any issues left are correct detection, and some naming issues (some of the detection issues could be down to my config) and possibly ignore list not working for Live TV

I will check live TV, that was never originally intended to be output as vod, the original idea was to split the output and create vod for movies and TV shows leaving only live TV in a separate m3u complete, but I see now that it makes perfect sense to utilise the ignore operations for live TV.

I will also check the code for that and correct it if it doesn't.

Edited by mickle026
gillmacca01
Posted

Re-run and scanned and I'm left with these in TV Shows (only imported Movies into Emby)

Children_Family & Horror_Thriller - I have tried override for movies using what they are called in the m3u and the folder output - still showing in tv shows

image.thumb.png.f617e8c1b0fc84ff06c48cfc7c10a6ee.png

 

image.thumb.png.b0abb0d36a4aa199beec1687f9f84ff1.png

 

image.thumb.png.8c8b5143071a7753ad9050be1c7d392e.png

mickle026
Posted
37 minutes ago, gillmacca01 said:

Children_Family & Horror_Thriller - I have tried override for movies using what they are called in the m3u and the folder output - still showing in tv shows

image.thumb.png.f617e8c1b0fc84ff06c48cfc7c10a6ee.png

 

I cannot reproduce this now,

group-title="|EN| CHILDREN/FAMILY",EN - The Sloth Lane, A Sloth Story (2024)

They appear as movies and the CHILDREN_FAMILY group is not created in TV Shows at all.

slothlane.png.f6d6cded6bc186d6907efde73f4c4445.png

 

Check the timestamps of the folders, are these leftover remnants from a previous run?


I don't get a movies 2018 folder either.....

 

gillmacca01
Posted
2 minutes ago, mickle026 said:

I cannot reproduce this now,

group-title="|EN| CHILDREN/FAMILY",EN - The Sloth Lane, A Sloth Story (2024)

They appear as movies and the CHILDREN_FAMILY group is not created in TV Shows at all.

slothlane.png.f6d6cded6bc186d6907efde73f4c4445.png

 

Check the timestamps of the folders, are these leftover remnants from a previous run?


I don't get a movies 2018 folder either.....

 

This was done with fresh (all previous created m3u's and VOD's were deleted) and the VOD library removed from Emby and readded after the task had completed.

 

gillmacca01
Posted
2 minutes ago, gillmacca01 said:

This was done with fresh (all previous created m3u's and VOD's were deleted) and the VOD library removed from Emby and readded after the task had completed.

 

image.png.4260c730462b71f7eac31215da55f50e.png

gillmacca01
Posted (edited)
4 minutes ago, gillmacca01 said:

image.png.4260c730462b71f7eac31215da55f50e.png

I'm going to manually delete those 2 folders and re-run. Also deleted them from Emby

Edited by gillmacca01
mickle026
Posted

I don't see it here

spongebob.png.8c14b57862dd82f329d96bedcbd4dfbe.png

 

I will re-run again as I have don't create groups checked, I will uncheck it and re-run
 

Posted

OK I’m going to do a whole refresh because I’m still getting the top TV and movie folders showing as if they are their own movie and TV show. 

mickle026
Posted
36 minutes ago, BigIrn said:

IMG_0057.thumb.png.f7ac5c0b9b6ff2f23e4bd5eddf152bc8.png

IMG_0056.png

I will recheck your m3u after I have done the checks I am doing now.
I believe you may have some strms not in subfolders if you check it in a file browser rather than withing Emby, and that may be causing this issue.

mickle026
Posted

Detection added to prevent removing parts of the Name as Country Codes,

"Us (2019)", 
"Ma (2019)",
"It (1990)",
"It (2017)",
"Up (2009)",
"Pi (1998)",


and Prevent Movies from Season checking

9.11 (2017)  becoming "(2017)" season 9 Episode 11

"Skip Counting up to the 8s CC Math Week 1-4",
"Math, Weeks 13-24",
"Shapes Songs Collection Vol. 1 - 35 Mins of Baby, Toddler, Kindergarten Kids Learning Videos",
"Miss Marple 4.50 From Paddington (1987)",
"9.11 (2017)",
"9-11 (2017)",
"9_11 (2017)",
"11.22.63 (2016)",
"11-22-63 (2016)",
"9-1-1 (2018)",
"9.1.1 (2018)",
"9-1-1 Lone Star (2020)",
"9.1.1 Lone Star (2020)",
"70_30 (2021)",
"70 30 (2021)",
"70-30 (2021)",
"50_50 (2011)",
"50 50 (2011)",
"50-50 (2011)",
"Room 237 (2012)",
"Fahrenheit 9.11 (2004)",
"The 15.17 To Paris (2018)",
"The 15_17 To Paris (2018)",
"The Taking Of Pelham 1.2.3 (2009)",
"The Taking Of Pelham 1-2-3 (2009)",
"The Taking Of Pelham 1_2_3 (2009)",
"Away Bus (2019)",
"Ferrari 312B (2017)",
"Fahrenheit 451 (2018)",
"The 400 Blows (1959)",
"1984 (1984)",
"1492: Conquest of Paradise (1992)"

 

This shouldn't happen now.   If you find any more, let me know.


DLL Attached

VODtoSTRMscheduledTask.dll

gillmacca01
Posted

Just finished running the latest dll and ran 'scan media library' afterwards and still seeing some in tv shows. Going to work soon, but when I get back I'm going to do a complete restart (delete m3u's/strm's) and try again, in case of some sort of anomaly. But just incase, there is an issue you might see, this is the current tv show folder (a lot better than it was, but not quite there)

image.thumb.png.d407b1a9d7d12fe722030f8b49ab4ab3.png

mickle026
Posted
5 hours ago, gillmacca01 said:

Just finished running the latest dll and ran 'scan media library' afterwards and still seeing some in tv shows. Going to work soon, but when I get back I'm going to do a complete restart (delete m3u's/strm's) and try again, in case of some sort of anomaly. But just incase, there is an issue you might see, this is the current tv show folder (a lot better than it was, but not quite there)

image.thumb.png.d407b1a9d7d12fe722030f8b49ab4ab3.png

These are all in the movie folder here, something must be different in our configs.

Pm me your config XML file..

gillmacca01
Posted

Won't be back at hotel till about 4:30. Will dm then

mickle026
Posted (edited)

@gillmacca01

Just ran it again with your m3u and everything seems to be correctly placed and named correctly.

I have included the DLL , the only thing I edited since the last build is the country codes function, added some fine tuning checks.

1.png.775cdabf0e6ffe89a9feb882e173e54f.png

 

3.png.6b4c4215a2c45ac0cb3d188794037380.png

2.png

 

VODtoSTRMscheduledTask.dll

 

Edited by mickle026
gillmacca01
Posted
2 minutes ago, mickle026 said:

@gillmacca01

Just ran it again with your m3u and everything seems to be correctly placed and named correctly.

I have included the DLL , the only thing I edited since the last build is the country codes function, added some fine tuning checks.

1.png.775cdabf0e6ffe89a9feb882e173e54f.png

 

3.png.6b4c4215a2c45ac0cb3d188794037380.png

2.png

VODtoSTRMscheduledTask.dll 738 kB · 0 downloads

Just thinking about this, and will have to confirm when I can, but it is appearing in the movie VOD folder, it's just when scanned into Emby that they appear in TV Shows 

mickle026
Posted (edited)
1 minute ago, gillmacca01 said:

Just thinking about this, and will have to confirm when I can, but it is appearing in the movie VOD folder, it's just when scanned into Emby that they appear in TV Shows 

This is a mixed mode library isn't it? (maybe Emby's detection is failing in the same place, where I have added extra code to detect this)

If you separate the library in Emby into Movies and TV Shows and point to each folder independently, then they might show properly

Edited by mickle026
gillmacca01
Posted (edited)
4 minutes ago, mickle026 said:

This is a mixed mode library isn't it? (maybe Emby's detection is failing in the same place, where I have added extra code to detect this)

If you separate the library in Emby into Movies and TV Shows and point to each folder independently, then they might show properly

Yes, mixed content library

I'll give that a try when I can

Edited by gillmacca01
gillmacca01
Posted

I will dm you my configuration file now, in case there is an issue there, but I'm about to run the latest dll, then I will create a mixed content library (importing only the movie folder) and a standard movie library and see if there is a difference

mickle026
Posted
33 minutes ago, gillmacca01 said:

I will dm you my configuration file now, in case there is an issue there, but I'm about to run the latest dll, then I will create a mixed content library (importing only the movie folder) and a standard movie library and see if there is a difference

I have looked at your config and I don't see anything that would make them be recognised as TV Shows, so I am convinced that this is probably happening in Emby.
I believe the m3u to VOD strm plugin is recognising them correctly now and that issue is now resolved. (until the time there is something new to the m3u that is not recognised)

I am open to correction though, but this is what I believe.

To further make them correctly imported to Emby a user could add a tmbd/imdb code via the api key option, but that would slow down the export to vod a lot. 

gillmacca01
Posted

I think your right here.

First screenshot from a mixed content library looking at 2-Headed Shark Attack (appearing as a tv show)

image.thumb.png.c52d2c109db3d77f28970372a11201b6.png

Same movie, but searched from a movie library (movie is displayed), but it's classed as a episode in Emby

image.thumb.png.624a48407074d8137ce1db5ff7a9f3f3.png

So If I was to tell Emby to populate the metadata from tmdb, this SHOULD be identified as a movie?

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