Page 1 of 1
					
				Is Certification no longer valid? (using TheTVDB)
				Posted: 06 Dec 2023, 15:53
				by vballrican
				Hi, i haven't had issues in a while until now. I'm on the latest FileBot and when i try to rename series files, the certification (PG, PG-13, etc) is not being parsed into the folder names as i have it.  How can i fix it? 
This is what i have:  
Thanks.
 
			
					
				Re: Is Certification no longer valid?
				Posted: 06 Dec 2023, 16:44
				by rednoah
				
 Which database are you using? Which series are you testing with?
 
 {certification}
 {certification} is confirmed to work at this point in time on the current release for 
Firefly {tmdb-1437}  and yield 
TV-14 in that test case.
 
			
					
				Re: Is Certification no longer valid?
				Posted: 06 Dec 2023, 17:20
				by vballrican
				The TVDB and i have tried 5 different series...
A Galaxy Next Door [, Animation, 2023]
Am I Actually the Strongest [, Animation, 2023]
BNA [, Animation, 2020]
Chainsaw Man [, Animation, 2022]
etc
Can you please try an anime series? doesn't work for me.
			 
			
					
				Re: Is Certification no longer valid?
				Posted: 06 Dec 2023, 18:11
				by rednoah
				{certification} fundamentally works if the information is available. Tested with 
Firefly {tvdb-78874}.
Chainsaw Man {tvdb-397934} indeed does not work. Maybe this piece of information hasn't been entered yet, or is no longer supported, at least it's not visible nor editable on the website:
https://thetvdb.com/series/chainsaw-man
 
 If you need 
{certification} to work reliably (or at least allow you to add the missing information if need be) then you will need to switch to TMDB.
 
			 
			
					
				Re: Is Certification no longer valid? (using TheTVDB)
				Posted: 06 Dec 2023, 19:25
				by vballrican
				Ok. thanks.  I tried with TVDB, TMDB, ANIdb, and TVMaze... none of the 5 shows got {certification} information.. 
 
myanimelist shows rating for all these shows.. don't know why the DBs are missing it..
 
			
					
				Re: Is Certification no longer valid? (using TheTVDB)
				Posted: 06 Dec 2023, 20:25
				by rednoah
				I now see the issue. I doesn't work for shows where the certification is not available in the origin country, as 
{certification} will give you the certification from the origin country, which is not necessarily the US.
 

 You can access the US certification explicitly like so:
 
			
					
				Re: Is Certification no longer valid? (using TheTVDB)
				Posted: 06 Dec 2023, 20:33
				by vballrican
				Ok. but this used to work with no issues.. been using it since i got FileBot.  
I just changed that setting and still not getting any certification... i do see an error on the top of the edit format page:
Binding "media": Failed to read media info: Binding "file": undefined
			 
			
					
				Re: Is Certification no longer valid? (using TheTVDB)
				Posted: 06 Dec 2023, 20:46
				by rednoah
				
 Are you testing with TheTVDB or TMDB now?
 

 Use 
{ info.certifications } to check country codes for your selected database. TVDB notably does not use standard country codes. The US snippet above is only tested for TMDB.
 
 Binding "media": Failed to read media info: Binding "file": undefined
 Binding "media": Failed to read media info: Binding "file": undefined means that you are testing a format that requires a file but you haven't yet setup a sample file for testing. If you test a format uses 
MediaInfo Bindings then you need a sample file for testing, otherwise bindings like 
{minutes} have nothing to work with. 
This is unrelated to the topic at hand.
EDIT:
If you're using 
TheTVDB then you need to adjust the format according to country codes uses by 
TheTVDB:
** Chainsaw Man {tvdb-397934} yields TV-MA in this case
EDIT 2:
FileBot r10159 makes changes to 
{certification} to prefer the content rating from (1) the preferred locale or (2) USA locale by default or (3) any origin country locale as a last resort.
 
			
					
				Re: Is Certification no longer valid? (using TheTVDB)
				Posted: 06 Dec 2023, 21:09
				by vballrican
				Awesome!  Thanks a lot for the response.. So i can just ignore the bindings thing right? 
I will change the certification from .US to .usa and try again.  and yes, i like using TVDB because it adds genre as opposed to the generic 'animation' added by TMDB.  Thanks!
			 
			
					
				Re: Is Certification no longer valid? (using TheTVDB)
				Posted: 06 Dec 2023, 21:18
				by vballrican
				That worked!! 

  One last thing, after i rename, it says something about adding attributes... it goes away so it's hard to see.. what is that and can i just ignore it?
 
			
					
				Re: Is Certification no longer valid? (using TheTVDB)
				Posted: 07 Dec 2023, 04:14
				by rednoah
				After renaming files, FileBot does a couple of things, one of which is storing 
xattr metadata for future reference. If any of these post-processing tasks take a while 
(normal if files are on a remote network drive) then a progress dialog will pop up until the task is complete.
 

 Please read 
Metadata and Extended Attributes for details.
 
			
					
				Re: Is Certification no longer valid? (using TheTVDB)
				Posted: 07 Dec 2023, 14:52
				by vballrican
				Great! Thank a lot! Hope you are well.