monkeylove 11 Posted August 31, 2024 Posted August 31, 2024 Hello. I use the ff. setup: Tiny Media Manager (TMM) - I scrape metadata from IMDB by default, and if a video or show's not available there, I use TMDB, TVDB, or Trakt. The metadata is stored in NFOs. When I view one entry, I can see one or more ratings. Emby server - it adds the videos to its libraries using only the local data; it takes only TMDB ratings, not any IMDB ratings. Emby Add-on for Kodi - it scans the Emby libraries and adds the entries to Kodi In Kodi, I use the feature in the Estuary skin to show the movie rating, but what's shown is the one from TMDB. I tried the Emby app for Android, and it does the same. Is there a way for the Emby server to add other ratings included in local metadata and display them?
GrimReaper 4740 Posted August 31, 2024 Posted August 31, 2024 25 minutes ago, monkeylove said: Emby server - it adds the videos to its libraries using only the local data; it takes only TMDB ratings, not any IMDB ratings. Can you provide specific example and post NFO for the item in question? My library has been exclusively driven by TMM NFOs/artwork for years, I have never encountered any issues with Emby importing IMDB ratings from NFOs.
monkeylove 11 Posted August 31, 2024 Author Posted August 31, 2024 3 hours ago, GrimReaper said: Can you provide specific example and post NFO for the item in question? My library has been exclusively driven by TMM NFOs/artwork for years, I have never encountered any issues with Emby importing IMDB ratings from NFOs. I double-checked, and I think it only happens with TV shows. Here's an example: I add the show 30 Rock, which has an IMDB rating of 8.3 and a TMDB rating of 7.4 in TMM. In Kodi, I go to Settings -> Interface -> Skin (I use Estuary)-> Configure Skin -> General -> Choose rating to display for media items -> rating. The ratings now show up with the thumbprints of the shows. The rating shown for the show is 7.4, which is from TMDB.
GrimReaper 4740 Posted August 31, 2024 Posted August 31, 2024 3 hours ago, GrimReaper said: and post NFO for the item in question?
Happy2Play 9780 Posted August 31, 2024 Posted August 31, 2024 (edited) As mentioned, would need to see how TMM is writing the data it gets from IMDB and Emby does not directly use IMDB and gets the info from OMDB as IMDB wants lots of money to get the data legally. But will guess a unique field is used and Emby currently does not map to that field in the nfo plugin. Not sure how TMM is legally getting around getting this info but have never really researched their free option but do not see how that can ever apply to a metadata manager product as the product itself is sort of beyond personal use. But personally know one of my metadata managers got a cease-and-desist letter from IMDB for using their data. AWS Marketplace: IMDb Ratings for Movies/TV/OTT (Bulk data) (amazon.com) AWS Marketplace: IMDb Ratings for Movies/TV/OTT Shows (Bulk Data SAMPLE) (amazon.com) Edited August 31, 2024 by Happy2Play
monkeylove 11 Posted September 1, 2024 Author Posted September 1, 2024 (edited) Sorry for the delay. Here's the NFO for 30 Rock. It says <rating>7.4</rating> and lines below <ratings> <rating default="false" max="10" name="themoviedb"> <value>7.4</value> <votes>483</votes> </rating> <rating default="false" max="10" name="imdb"> <value>8.3</value> <votes>121278</votes> </rating> </ratings> I think Emby reads only what's in the "rating" section. tvshow.nfo Edited September 1, 2024 by monkeylove
Happy2Play 9780 Posted September 1, 2024 Posted September 1, 2024 (edited) @Lukewould have to verify as I don't believe this format is currently read by nfo plugin. <ratings> <rating default="false" max="10" name="themoviedb"> <value>7.4</value> <votes>483</votes> </rating> <rating default="false" max="10" name="imdb"> <value>8.3</value> <votes>121278</votes> </rating> </ratings> Where by default this one is read. <rating>7.4</rating> But do see there is code for Ratings. NfoMetadata/NfoMetadata/Parsers/BaseNfoParser.cs at master · MediaBrowser/NfoMetadata (github.com) Edited September 1, 2024 by Happy2Play
Happy2Play 9780 Posted September 1, 2024 Posted September 1, 2024 But will probably come back to this.
GrimReaper 4740 Posted September 1, 2024 Posted September 1, 2024 1 hour ago, Happy2Play said: ukewould have to verify as I don't believe this format is currently read by nfo plugin It is read just fine, but one of the ratings needs to have <default="true*>, i.e. Quote <ratings> <rating default="false" max="10" name="themoviedb"> <value>7.4</value> <votes>483</votes> </rating> <rating default="true" max="10" name="imdb"> <value>8.3</value> <votes>121278</votes> </rating> </ratings> 1
Happy2Play 9780 Posted September 1, 2024 Posted September 1, 2024 1 minute ago, GrimReaper said: It is read just fine, but one of the ratings needs to have <default="true*>, i.e. Is that something that has to be done manually or does TMM have a setting?
GrimReaper 4740 Posted September 1, 2024 Posted September 1, 2024 It depends on choice of scraper and preferred rating, but in OP's case I'd assume it'd be easier to do Notepad++ FindinFiles and replace string else they would need to potentially rescrape all items.
Happy2Play 9780 Posted September 1, 2024 Posted September 1, 2024 (edited) With a quick look it would appear you have to select one. Or is that just order of presedence? But yes a find and replace on existing items would probably be the fastest route vs refetching. Edited September 1, 2024 by Happy2Play 1
GrimReaper 4740 Posted September 1, 2024 Posted September 1, 2024 (edited) 14 minutes ago, Happy2Play said: With a quick look it would appear you have to select one Yes, top rating there should get <default="true"> tag written - if scraper selected in the first place or ratings separately fetched in item right click>Enhanced Editing>Advanced. Edited September 1, 2024 by GrimReaper
monkeylove 11 Posted September 1, 2024 Author Posted September 1, 2024 I think it's something with TMM because I already set IMDB as the default, etc. I think TMM takes various ratings if configured to do so, and then uses whatever is prioritized as the default. Meanwhile, Emby will read only what's set as the default and use that, and Kodi will only take what Emby provides. For some reason, when it comes to movies, TMM sets the IMDB rating as the default, but for TV shows, it still uses TMDB. I'll ask the TMM developers about this. Meanwhile, it'd be interesting if Emby gets to show other ratings found in local metadata and display them (and will also be displayed in Kodi with the Emby add-on) plus allow users to choose one as the default.
Happy2Play 9780 Posted September 1, 2024 Posted September 1, 2024 Emby currently has only one rating communityrating as there is no distinction currently of where it came from as the old topic mentioned it is not recorded in the db on where it came from. So this example you need to know why one of the listed Ratings is not default=true. 1
GrimReaper 4740 Posted September 1, 2024 Posted September 1, 2024 (edited) 15 minutes ago, monkeylove said: For some reason, when it comes to movies, TMM sets the IMDB rating as the default, but for TV shows, it still uses TMDB. As said, not knowing your particular setup and choice of scrapers, it can be combination of any. Here's TMM TVshow NFO with IMDB rating set as default (Universal scraper>Rating: IMDB, IMDB preferred). tvshow.nfo Edited September 1, 2024 by GrimReaper
GrimReaper 4740 Posted September 1, 2024 Posted September 1, 2024 7 minutes ago, monkeylove said: Meanwhile, it'd be interesting if Emby gets to show other ratings found in local metadata and display them No, as @Happy2Playsaid, there's only single db column for Community Rating with no provider identifier, so it'll always be the default one from your NFO. 1
GrimReaper 4740 Posted September 1, 2024 Posted September 1, 2024 (edited) 4 hours ago, monkeylove said: Sorry for the delay. Here's the NFO for 30 Rock. It says <rating>7.4</rating> and lines below <ratings> <rating default="false" max="10" name="themoviedb"> <value>7.4</value> <votes>483</votes> </rating> <rating default="false" max="10" name="imdb"> <value>8.3</value> <votes>121278</votes> </rating> </ratings> I think Emby reads only what's in the "rating" section. tvshow.nfo 8.89 kB · 2 downloads That is not only TMM-written NFO, as there are some tags TMM does not write + it is not stated in the header/footer. Wild guess would be you're letting Emby (re)write those NFOs - which is never a good idea having multiple software writing/rewriting NFOs as you're bound to eventually face issues and potentially end up in a loop at some point. Disable Emby NFO Metadata writer in library settings (and/or any other software that might be doing it). Edited September 1, 2024 by GrimReaper
monkeylove 11 Posted September 1, 2024 Author Posted September 1, 2024 (edited) 7 hours ago, GrimReaper said: As said, not knowing your particular setup and choice of scrapers, it can be combination of any. Here's TMM TVshow NFO with IMDB rating set as default (Universal scraper>Rating: IMDB, IMDB preferred). tvshow.nfo 15.65 kB · 2 downloads I can't understand what happened. I tested this on one show that had both IMDB and TMDB ratings given in TMM. I removed the show (but not the files) from TMM, then in the show folder deleted all metadata, and then rescraped the show, and now it shows just the IMDB rating correctly! Here's another weird thing: I tested again on another show that has both IMDB and TMDB ratings, right-click, and selected "Search and scrape selected TV show(s)," choosing IMDB and making sure that "Do not overwrite existing data" is unchecked. After rescraping, the TMDB rating's still there. I also tried checking the option as well as right-click, Enhanced editing, fetch ratings for selected TV show, but the metadata isn't being replaced. Meanwhile, the movies aren't affected: even if some of them have more than one rating shown in TMM, the IMDB one is correctly shown in Emby (Android app, web browser, and addon for Kodi). Finally, too bad about the single DB column. That'd be a nice feature, though. Edited September 1, 2024 by monkeylove
GrimReaper 4740 Posted September 1, 2024 Posted September 1, 2024 29 minutes ago, monkeylove said: I tested again on another show that has both IMDB and TMDB ratings, right-click, and selected "Search and scrape selected TV show(s)," choosing IMDB and making sure that "Do not overwrite existing data" is unchecked. After rescraping, the TMDB rating's still there. I also tried checking the option as well as right-click, Enhanced editing, fetch ratings for selected TV show, but the metadata isn't being replaced. Do you have "Write clean NFO" checked in TMM Settings>TV Shows>NFO settings?
Happy2Play 9780 Posted September 1, 2024 Posted September 1, 2024 31 minutes ago, monkeylove said: Meanwhile, the movies aren't affected: even if some of them have more than one rating shown in TMM, the IMDB one is correctly shown in Emby (Android app, web browser, and addon for Kodi). Do you have Emby metadata fetchers enabled? As Emby by default will use the rating from OMDB.
GrimReaper 4740 Posted September 1, 2024 Posted September 1, 2024 39 minutes ago, Happy2Play said: Do you have Emby metadata fetchers enabled? As Emby by default will use the rating from OMDB. I reckon OP should clarify their workflow/settings: what's scraping what, what's been imported by Emby and what's been downloaded, what's writing/rewriting NFOs. As I don't see any of the issues they're facing and I've been exclusively using TMM-provided metadata for years, all Emby's metadata downloaders and NFO writer are disabled, i.e. TMM backend/Emby frontend.
monkeylove 11 Posted September 2, 2024 Author Posted September 2, 2024 21 hours ago, GrimReaper said: Do you have "Write clean NFO" checked in TMM Settings>TV Shows>NFO settings? I didn't! I checked it, and tried to rescan one show, with "Do not overwrite existing data" also unchecked (Ancient Top 10, which showed an IMDB rating of 7.6 and a TMDB rating of 8.2), but the TMDB rating didn't go away.
monkeylove 11 Posted September 2, 2024 Author Posted September 2, 2024 21 hours ago, Happy2Play said: Do you have Emby metadata fetchers enabled? As Emby by default will use the rating from OMDB. They're all turned off except for subtitle search. I asked TMM support about the issue, and they said that the NFO I sent does not have the "created by TMM" header or something like that, so they figured that something else wrote on the NFO. The only apps I'm using are TMM, which makes all metadata, and Emby, which adds videos to libraries by reading only local metadata generated by TMM, with only subtitle downloads turned on (Open Subtitles and Require a hash match).
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