mickle026 650 Posted March 25, 2025 Author Posted March 25, 2025 29 minutes ago, gillmacca01 said: I think your right here. First screenshot from a mixed content library looking at 2-Headed Shark Attack (appearing as a tv show) Same movie, but searched from a movie library (movie is displayed), but it's classed as a episode in Emby So If I was to tell Emby to populate the metadata from tmdb, this SHOULD be identified as a movie? I am not sure. What I found when trying to get the API providers working was that the Pre appended country codes caused havoc with the TMDB api not recognising most items. That's where the idea about removing them came from and why that was added into the plugin as an option. so when I call them TMDB api string tmdbSearchUrl = $"https://api.themoviedb.org/3/search/movie?api_key={tmdbApiKey}&query={Uri.EscapeDataString(movieName)}"; like this, add api key, and the movie name, most items are not found when the have the country code pre-appended such as "DE - 2 Headed Shark Attack", but it would find "2 Headed Shark Attack" Perhaps this is happening, and TVDB is giving a response in the mixed mode library?? Honest answer is I don't actually know what Emby is doing in this scenario. What I am actually concerned about is this output correctly via the plugin? So there are a few Options for your output to be properly identified in Emby 1: /VODS/ /VODS/Movies <---- import this as only a movie library /VODS/TV Shows <---- import this as only a TV Show library 2: Remove Country Codes when you export items, I could actually look at adding in a country code folder instead? /VODS/Movies/DE/2 Headed Shark Attack ..... <-- This is possible 3: Add API provider ids to the output files <----- takes much longer
gillmacca01 211 Posted March 25, 2025 Posted March 25, 2025 (edited) 13 minutes ago, mickle026 said: I am not sure. What I found when trying to get the API providers working was that the Pre appended country codes caused havoc with the TMDB api not recognising most items. That's where the idea about removing them came from and why that was added into the plugin as an option. so when I call them TMDB api string tmdbSearchUrl = $"https://api.themoviedb.org/3/search/movie?api_key={tmdbApiKey}&query={Uri.EscapeDataString(movieName)}"; like this, add api key, and the movie name, most items are not found when the have the country code pre-appended such as "DE - 2 Headed Shark Attack", but it would find "2 Headed Shark Attack" Perhaps this is happening, and TVDB is giving a response in the mixed mode library?? Honest answer is I don't actually know what Emby is doing in this scenario. What I am actually concerned about is this output correctly via the plugin? So there are a few Options for your output to be properly identified in Emby 1: /VODS/ /VODS/Movies <---- import this as only a movie library /VODS/TV Shows <---- import this as only a TV Show library 2: Remove Country Codes when you export items, I could actually look at adding in a country code folder instead? /VODS/Movies/DE/2 Headed Shark Attack ..... <-- This is possible 3: Add API provider ids to the output files <----- takes much longer ignore the DE one - my laptop has the full m3u added (via live tv) to it as well as the VODs via the plugin, so they will be doubled up. On my nas the original m3u is run through live tv and is filtered to not show VODs I also don't have metdata providers turned on for the VOD library Edited March 25, 2025 by gillmacca01
gillmacca01 211 Posted March 25, 2025 Posted March 25, 2025 (edited) I have removed the movie library, and re-added it with tmdb provider enabled. Going to take all night to populate, but want to see what happens with the movies Emby thinks are episodes. Will report back tomorrow But, I have noticed this, with a few movies (I know you put a fix in), it is prefixing with EN on these movies Edited March 25, 2025 by gillmacca01
gillmacca01 211 Posted March 25, 2025 Posted March 25, 2025 Although metadata is currently being pulled in, things are looking good. Searching 2 headed shark is now showing in Emby as a movie. Fingers crossed
mickle026 650 Posted March 25, 2025 Author Posted March 25, 2025 8 minutes ago, gillmacca01 said: I have removed the movie library, and re-added it with tmdb provider enabled. Going to take all night to populate, but want to see what happens with the movies Emby thinks are episodes. Will report back tomorrow But, I have noticed this, with a few movies (I know you put a fix in), it is prefixing with EN on these movies All 4 of them are in the list of edge cases, that previously were having their titles removed and became year only because their titles can be considered country codes. I will take another look at the edge cases, perhaps something is not allowing the county code to be removed in my code when it should, it wouldn't be the first time!
BigIrn 10 Posted March 25, 2025 Posted March 25, 2025 @mickle026what are the pros and cons of using the tmdb/omdb/tvdb for identify vs emby? I went ahead and signed up to each site for the api keys to use but I don't know why
BigIrn 10 Posted March 25, 2025 Posted March 25, 2025 Instead of having emby streaming using the root folder I changed it to 2 folders (tv shows/movies) and it did this:
mickle026 650 Posted March 25, 2025 Author Posted March 25, 2025 38 minutes ago, BigIrn said: @mickle026what are the pros and cons of using the tmdb/omdb/tvdb for identify vs emby? I went ahead and signed up to each site for the api keys to use but I don't know why It should rename your strm files so that they include the providers id like the example in the plugin web user interface. Emby will then read this and use it to look up the title, thus giving a more accurate import in to Emby. 1
mickle026 650 Posted March 25, 2025 Author Posted March 25, 2025 38 minutes ago, BigIrn said: Instead of having emby streaming using the root folder I changed it to 2 folders (tv shows/movies) and it did this: I see what emby is showing you but is it correct on the drive?
BigIrn 10 Posted March 25, 2025 Posted March 25, 2025 35 minutes ago, mickle026 said: I see what emby is showing you but is it correct on the drive? No way is it correct unless it's counting individual episodes of a season of tv shows.
mickle026 650 Posted March 25, 2025 Author Posted March 25, 2025 36 minutes ago, BigIrn said: Here is some screenshots I would still like to know if the files in the storage drive are correct? Take a look directly at your storage drive rather than in emby. How Emby has imported them is an Emby issue, rather than the vod plugin. Like I suggested to @gillmacca01 above, try creating 2 libraries, TV shows and movies separately and point emby to those folders separately and see if it's the same.
gillmacca01 211 Posted March 26, 2025 Posted March 26, 2025 So found a couple of anomalies. Films duplicated - not a plugin problem (films in multiple categories) Some movies not getting identified - i can manually identify them, but just fyi some of these movies have a number in front that shouldn't be there, example: 01-Asterix The Gaul, 02 EN - Friday The 13th Part 2 (including movies starting with 04 up to 09). Not sure how many movies, but I think 20+
gillmacca01 211 Posted March 26, 2025 Posted March 26, 2025 So now it looks like 99% has been sorted, it's back to the QNAP to try and find out why it's got from completing in 22 mins, to over 4 hrs now
mickle026 650 Posted March 26, 2025 Author Posted March 26, 2025 6 hours ago, gillmacca01 said: So found a couple of anomalies. Films duplicated - not a plugin problem (films in multiple categories) Some movies not getting identified - i can manually identify them, but just fyi some of these movies have a number in front that shouldn't be there, example: 01-Asterix The Gaul, 02 EN - Friday The 13th Part 2 (including movies starting with 04 up to 09). Not sure how many movies, but I think 20+ I have fixed the edge cases movies with the country codes here on my build pc (dll still to be posted) I doubt there is an easy fix for the few with numbers Infront of them without causing interference to films that actually start with numbers. I would have to code a function that did it generally for any movie from any m3u to cover something like this. Have you separated the libraries, or are you still mixed mode?
mickle026 650 Posted March 26, 2025 Author Posted March 26, 2025 3 minutes ago, gillmacca01 said: Separate libraries Can you remember when you had it mixed mode whether emby was counting episodes as individual items like movies? I think that is what was happening to @BigIrn. I think theirs is mixed mode and having issues with items being identified properly and the library counting every item rather than every film and every TV show, it seems to be counting every film and every episode. Mixed mode seems like it's not working well. However that is just an assumption because I haven't imported anything in my tests. Non of this is a plugin issue though. My main concern is getting the plugin to do the correct things that it needs to do.
BigIrn 10 Posted March 26, 2025 Posted March 26, 2025 13 hours ago, mickle026 said: I would still like to know if the files in the storage drive are correct? Take a look directly at your storage drive rather than in emby. How Emby has imported them is an Emby issue, rather than the vod plugin. Like I suggested to @gillmacca01 above, try creating 2 libraries, TV shows and movies separately and point emby to those folders separately and see if it's the same. I'll do that in a bit. Any reason why the plugin would run longer than a day on a mac? It's never done this before. I'll dm you the log.
gillmacca01 211 Posted March 26, 2025 Posted March 26, 2025 43 minutes ago, mickle026 said: Can you remember when you had it mixed mode whether emby was counting episodes as individual items like movies? I think that is what was happening to @BigIrn. I think theirs is mixed mode and having issues with items being identified properly and the library counting every item rather than every film and every TV show, it seems to be counting every film and every episode. Mixed mode seems like it's not working well. However that is just an assumption because I haven't imported anything in my tests. Non of this is a plugin issue though. My main concern is getting the plugin to do the correct things that it needs to do. Can't remember. When I get back to the hotel, I'll create a mixed library and let you know
BigIrn 10 Posted March 26, 2025 Posted March 26, 2025 @gillmacca01@mickle026Is there a way to scan library files? It's taking forever... to be fair I think creating 2 libraries for movies and shows and pointing them directly to their respective folders seems to be working at least for what has been scanned so far.
gillmacca01 211 Posted March 26, 2025 Posted March 26, 2025 It will take along time, depending on how much content you have and whether you are getting metatdata for everything as well
BigIrn 10 Posted March 26, 2025 Posted March 26, 2025 In folder 15224 movies, 3274 shows... any guesstimate? How do I turn off downloading metadata? I really only want to see the title of the media so I can compare the libraries in emby to my folders in windows.
mickle026 650 Posted March 26, 2025 Author Posted March 26, 2025 2 minutes ago, BigIrn said: In folder 15224 movies, 3274 shows... any guesstimate? How do I turn off downloading metadata? I really only want to see the title of the media so I can compare the libraries in emby to my folders in windows. To turn them off, go to Emby library Edit in Libraries, uncheck the metadata fetchers for data and images, restart the Emby Server Process(Otherwise they dont turn off) 1
gillmacca01 211 Posted March 26, 2025 Posted March 26, 2025 This is how my shows appear in Mixed Content Library
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now