YAMJ / yamj-v2

Yet Another Movie Jukebox (YAMJ) v2
GNU General Public License v3.0
28 stars 11 forks source link

Unable to see UK rating / certification #1898

Closed Omertron closed 9 years ago

Omertron commented 9 years ago

Original issue 1899 created by Omertron on 2011-04-26T06:47:41.000Z:

What steps will reproduce the problem?

Update moviejukebox.properties file in YAMJ root folder with imdb.getCertificationFromMPAA=false imdb.preferredCountry=UK

I also updated the mpaa_pg.png image as described in skins/default/html/pictures/certificates/_readme.txt, but I expect this is used later in the process.

What is the expected output? What do you see instead?

I expect UK certification, but see US certification

What version/revision of YAMJ are you using? On what operating system?

2.3 BETA revision 2010 (as used in Y2M - YAMJ to Mede8er - V1BETA7 64-bit) Windows 7 Home Premium, 64-bit, SP1

What skin are you using?

default

What device are you using YAMJ on? Networked Media Tank, PlayonHD, Other?

Ultimately, the YAMJ output will be used on a Mede8er MED500X, but I run YAMJ on a Intel Core2 4300 PC.

Please provide any additional information below.

When scraping a sample movie Ugly Truth (2009), I get the following in my Ugly Truth (2009).xml

<id moviedb="imdb">tt1142988</id> ... <certification>R</certification>

When looking up this information on http://uk.imdb.com/title/tt1142988/, the UK certificate is shown as "15"

Certification: USA:R (certificate # 44576) / Ireland:16 / Mexico:B15 / Singapore:NC-16 / South Korea:18 / Portugal:M/12 / Netherlands:12 / UK:15 / Australia:MA / New Zealand:R16 / Norway:A / Switzerland:10 (canton of Geneva) / Switzerland:10 (canton of Vaud) / Argentina:13 / Japan:R15+ / Sweden:Btl / Brazil:14 / Philippines:R-13 (MTRCB) / Taiwan:R-12 / Peru:14 / Germany:12 / Malaysia:18PL

Same happens on 10 other sample movies.

Omertron commented 9 years ago

Comment #1 originally posted by Omertron on 2011-04-26T09:30:01.000Z:

This works for me. I'm not using the Mede8or skin, so I don't know if any settings are changed by the skin, but you should check at the top of log file to ensure that your settings have taken effect.

Also, if you've made this change after your XML has been generated you will need to regenerate the XML

Omertron commented 9 years ago

Comment #2 originally posted by Omertron on 2011-04-26T11:46:53.000Z:

Stuart,

Thank you for your quick response.

The log file shows the following:

Yet Another Movie Jukebox v2.3 BETA


http://code.google.com/p/moviejukebox/
Copyright (c) 2004-2010 YAMJ Members

This software is licensed under a Creative Commons License
See this page: http://code.google.com/p/moviejukebox/wiki/License

  Revision: r2010
Build Date: December 30 2010

Processing started at Mon Apr 25 20:36:01 BST 2011

Using properties file ./properties/moviejukebox-default.properties
Using properties file moviejukebox-Mede8er.properties
Using properties file ./skins/default/skin.properties
Using properties file ./skins/default/skin-user.properties
Warning (non-fatal): User properties file: skin-user.properties, not found.
Using properties file ./properties/apikeys.properties
Properties: {API_KEY_MovieMeter=[APIKEY],API_KEY_TVRage=[APIKEY],API_KEY_TheMovieDB=[APIKEY],API_KEY_TheTVDb=[APIKEY],actors.max=10,appletrailers.download=false,appletrailers.max=3,appletrailers.replaceurl=www.apple.com,appletrailers.trailertypes=tlr,trl,clip,tsr,30sec,640w,appletrailers.typesinclude=true,banner.scanner.imageName=banner,banner.scanner.useFolderImage=false,banners.format=jpg,banners.height=103,banners.normalize=true,banners.opacityEnd=100.0,banners.opacityStart=30.0,banners.perspective=false,banners.perspectiveBottom=3.0,banners.perspectiveDirection=right,banners.perspectiveTop=3.0,banners.reflection=false,banners.reflectionEnd=100.0,banners.reflectionHeight=12.5,banners.reflectionStart=0.0,banners.width=557,certification.ordering=G,TV-G,PG,TV-PG,PG-13,TV-14,R,NC-17,Unrated,Not Rated,custom5150.exitviamenu=../index.htm,fanart.movie.download=true,fanart.movie.height=720,fanart.movie.width=1280,fanart.scanner.Validate=true,fanart.scanner.ValidateAspect=true,fanart.scanner.ValidateMatch=75,fanart.scanner.fanartExtensions=jpg,jpeg,gif,bmp,png,fanart.scanner.fanartToken=.fanart,fanart.scanner.imageName=fanart,backdrop,background,fanart.scanner.useFolderImage=false,fanart.tv.download=true,fanart.tv.height=720,fanart.tv.width=1280,filename.extras.keywords=trailer,bonus,extra,filename.extras.process=true,filename.movie.versions.keywords=directors cut,extended cut,final cut,remastered,extended version,filename.nfo.acceptAllNfo=false,filename.nfo.checknewer=true,filename.nfo.directory=NFO,filename.nfo.extensions=NFO,NFO.TXT,filename.nfo.parentDirs=false,filename.nfo.writeFiles=false,filename.scanner.language.detection=true,filename.scanner.language.keywords=Chinese,Dual_Language,English,French,German,Hebrew,Hindi,Hungarian,Italian,Japanese,Norwegian,Polish,Portuguese,Russian,Spanish,Swedish,Thai,VO,Danish,Dutch,Tagalog,filename.scanner.language.keywords.Chinese=ZH,Zh,zh,CHI,Chi,chi,CHINESE,Chinese,chinese,filename.scanner.language.keywords.Danish=DA,DAN,DANISH,da,dan,danish,filename.scanner.language.keywords.Dual_Language=DL,dl,filename.scanner.language.keywords.Dutch=NL,Nl,nl,NLD,Nld,nld,DUTCH,Dutch,dutch,filename.scanner.language.keywords.English=ENG,EN,ENGLISH,eng,en,english,Eng,filename.scanner.language.keywords.French=FRA,FR,FRENCH,VF,fra,fr,french,vf,Fra,filename.scanner.language.keywords.German=GER,DE,GERMAN,ger,de,german,Ger,filename.scanner.language.keywords.Hebrew=HEB,HE,HEBREW,HEBDUB,heb,he,hebrew,hebdub,Heb,filename.scanner.language.keywords.Hindi=HI,HIN,HINDI,hi,hin,hindi,Hin,Hindi,filename.scanner.language.keywords.Hungarian=HUN,HU,HUNGARIAN,hun,hu,hungarian,filename.scanner.language.keywords.Italian=ITA,IT,ITALIAN,ita,it,italian,Ita,filename.scanner.language.keywords.Japanese=JPN,JP,JAPANESE,jpn,jp,japanese,Jpn,filename.scanner.language.keywords.Norwegian=NOR,NORWEGIAN,nor,norwegian,Norwegian,filename.scanner.language.keywords.Polish=POL,PL,POLISH,PLDUB,pol,pl,polish,pldub,Pol,filename.scanner.language.keywords.Portuguese=POR,PT,PORTUGUESE,por,pt,portuguese,Por,filename.scanner.language.keywords.Russian=RUS,RU,RUSSIAN,rus,ru,russian,Rus,filename.scanner.language.keywords.Spanish=SPA,ES,SPANISH,spa,es,spanish,Spa,filename.scanner.language.keywords.Swedish=SV,Sv,sv,SWE,Swe,swe,SWEDISH,Swedish,swedish,filename.scanner.language.keywords.Tagalog=TL,Tl,tl,TGL,Tgl,tgl,TAGALOG,Tagalog,tagalog,filename.scanner.language.keywords.Thai=TH,Th,th,THA,Tha,tha,THAI,Thai,thai,filename.scanner.language.keywords.VO=VO,VOSTFR,vo,vostfr,filename.scanner.skip.caseSensitive=true,filename.scanner.skip.caseSensitive.regex=true,filename.scanner.skip.episodeTitle=false,filename.scanner.skip.keywords=LiMiTED,DiAMOND,AXXO,PUKKA,iDHD,PROPER,REPACK,DSR,STV,UNRATED,RERIP,REMUX,filename.scanner.skip.keywords.regex=,filename.scanner.source.keywords=HDTV,PDTV,DVDRip,DVDSCR,DSRip,CAM,R5,LINE,HD2DVD,DVD,HRHDTV,MVCD,VCD,TS,VHSRip,BluRay,HDDVD,D-THEATER,SDTV,WEBDL,filename.scanner.source.keywords.BluRay=BDRIP,BLURAYRIP,BLU-RAY,BRRIP,filename.scanner.source.keywords.D-THEATER=DTH,DTHEATER,filename.scanner.source.keywords.DVD=DVD5,DVD9,filename.scanner.source.keywords.DVDRip=DVDR,filename.scanner.source.keywords.HDDVD=HD-DVD,HDDVDRIP,filename.scanner.source.keywords.SDTV=TVRip,PAL,NTSC,filename.scanner.source.keywords.WEBDL=WEB-DL,iTunes,filename.scanner.types=VOD,ZCD,RAR,filename.scanner.types.RAR=RAR,filename.scanner.types.VOD=,filename.scanner.types.ZCD=ISO,IMG,VOB,MDF,NRG,BIN,filename.scanner.types.suffix.RAR=?playall=1,filename.scanner.types.suffix.VOD=,filename.scanner.types.suffix.ZCD=2,filmaffinity.id.search=filmaffinity,filmdelta.getcdonposter=true,filmdelta.rating=filmdelta,filmkatalogus.getplot=true,filmkatalogus.gettitle=true,filmkatalogus.outline.length=150,filmweb.id.search=filmweb,filmweb.plot=long,genres.max=3,highdef.1080.width=1920,highdef.720.width=1280,highdef.differentiate=false,imdb.full.info=false,imdb.id.search=imdb,imdb.perfect.match=true,imdb.plot=long,imdb.site=us,indexing.character.groupEnglish=false,...

I added the UK cmdb settings to the moviejukebox.properties file in the root.

There does not appear to be a reference to this properties file, however, these properties appear to be picked up in the Mede8er skin, because I can see them in the skin's settings (see attached).

However, the log file suggests that these settings have NOT been picked up. I will make the Mede8er team aware.

I have now added the settings to the ./properties/moviejukebox-default.properties file and the process works perfectly. I know I should not use this file as it gets overwritten, but I can paste the settings back in again if it does.

Yes, I have completely deleted the Jukebox folder with all the XML files before rerunning YAMJ with the new settings.

Please let me know if I should use any alternative methods than to modify ./properties/moviejukebox-default.properties?

Thank you for your support. 
Omertron commented 9 years ago

Comment #3 originally posted by Omertron on 2011-04-26T12:02:29.000Z:

the moviejukebox.properties file should be in the folder above the one where the moviejukebox-default.properties file is for it to be picked up.