moviefan 187 Posted September 1, 2022 Posted September 1, 2022 Have been using TMM for some time now to perform automatic file renaming (after MediaCenterMaster went to shit due to Pete's extended absence and neglect) before moving movies into the area where Emby manages. Was working great for some time but recently they have started changing the way the MPAA certifications are entered. It used to just use the regular R, PG-13, etc ratings but now they are entered as "US:R / US:Rated R" for example instead. This breaks all of Emby's parental controls since Emby doesn't recognize this format. I understand this is not an Emby problem but ever since TMM started charging annual subscriptions and then moved their support channel to Reddit support has gone down the toilet. Just a bunch of people on Reddit downvoting questions and being unhelpful. Does anyone know of a fix for this situation or do I just need to delete the NFO files TMM creates before moving to Emby and let it rebuild on its own?
crusher11 1101 Posted September 1, 2022 Posted September 1, 2022 Can you not just edit the TMM NFO files? Something like Notepad++ will let you find-and-replace across all NFO files at once.
pünktchen 1409 Posted September 1, 2022 Posted September 1, 2022 There used to be a setting in tmm how ratings are formated. 2
Solution Happy2Play 9782 Posted September 1, 2022 Solution Posted September 1, 2022 @moviefan What version of TMM? What is TMM Certification format set to? But am guessing this is the same as the other topic similar to this. 1
moviefan 187 Posted September 1, 2022 Author Posted September 1, 2022 (edited) Thanks this was it. I guess this was a new feature that was added at some point and when I rebuilt my system it changed to the long format. I tried looking through all the settings but somehow missed it. Nice that Emby support is better than TMM even for TMM! Edited September 1, 2022 by moviefan
VirulentPip 93 Posted September 5, 2022 Posted September 5, 2022 (edited) I appear to have a similar issue, however this is using UK for certs. I have my nephew set up to see max "GB-15" however when using TMM even with UK set, it's just setting as "15" and Emby is only showing those that automatically had GB-15. Not quote sure what to do, is there a way to change in Emby config so that 15 = GB-15? Edit - I changed to technical and now it's GB_15 .. Emby still doesn't see it lol Edit 2 - What makes even less sense is that U and PG are fine without the GB- but 12 and 15 are hidden. Edited September 5, 2022 by VirulentPip
Luke 42080 Posted September 5, 2022 Posted September 5, 2022 2 hours ago, VirulentPip said: I appear to have a similar issue, however this is using UK for certs. I have my nephew set up to see max "GB-15" however when using TMM even with UK set, it's just setting as "15" and Emby is only showing those that automatically had GB-15. Not quote sure what to do, is there a way to change in Emby config so that 15 = GB-15? Edit - I changed to technical and now it's GB_15 .. Emby still doesn't see it lol Edit 2 - What makes even less sense is that U and PG are fine without the GB- but 12 and 15 are hidden. Hi there, we'd have to look at a specific example to help. Thanks.
VirulentPip 93 Posted September 6, 2022 Posted September 6, 2022 (edited) Well if in the Metadata, say via NFO import the certification while set under UK/GB setting is anything other than GB-15 specifically, be it just 15 or GB_15 and you have it set to show Max GB-15 in Parental Control only those specifically GB-15 are shown, not 15 or GB_15 which TMM write to NFO. I've shifted over to US certs as those are written as they are in Emby so makes life easier. But would be great to have it that if you set UK/GB and have certification of 12 12A 15 or 18 or GB_XX that they are seen and not just GB-XX Oh another thing, still with certifications, if set Max to R/MA etc for US setting, stuff that is GB-18 are shown, might need to look into that too, as the next up in US setting is NC-17 which even that shouldn't be showing GB-18. Edited September 6, 2022 by VirulentPip 1
Guest Posted May 1, 2024 Posted May 1, 2024 (edited) Hi All, I know this is an old post but I just went through this problem with TMM and Emby recently I wanted to share my solution. There appears to be no way to force Emby to use the certifications that are exported by TMM and in TMM there are some different variations in the formatting but for some reason not the correct formatting for Emby for UK certifications. So to get around this i did the following. 1. In TMM select the Certification format of Medium Simple 2. Run your search and scrapes so the nfo files are generated 3. Edit and run the Powersehll scripts i wrote. Attached The scripts are intended to run in Windows /Poweshell and are expecting the following directory structure - movies - movie1 movie1.mp4 movie1.nfo - tvshows - tvshow1 tvshow.nfo - season1 ep1.mp4 The scripts will go through your mapped drives to your media that you declare in the scripts and find the nfo files. It will then find/replace the mpaaa certification entry to match what TMM exports it as and then replace it with what Emby requires. Example. if ($nfoContent -match "<mpaa>GB: ") { $newContent = $nfoContent -replace "<mpaa>GB: ", "<mpaa>GB-" $newContent | Set-Content $nfo.FullName Add-Content $logFile -Value "Changed: $($nfo.FullName)" Im sure that these will work with other country certifications as well but i have not tested them. The scripts run through my movies (2000) in about 20 mins and Tv shows (200) in about 10 mins. Worked perfectly. Please be aware that i wrote these for my personal use and im happy to share them with the community but i will not be providing any support for these. All the Best D movies.ps1 tvshows.ps1 Edited May 1, 2024 by dpslabber
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