2010-01-25, 05:45
mccorkled Wrote:steppedup:
Thanks for that info about renaming the folder to just audio. I tried it and can confirm its working. How you ever figured that out is a mystery to me.
Secondly I have my ratings vids named "G.avi" and NOT "Rated G.avi"
My movie.nfo displays what yours does..
"<mpaa>Rated PG-13 on appeal for crude sexual humor and drug references.</mpaa>"
even with my ratings videos named to "PG.avi" they still work great.
1 Movie that doesnt play a rating video is "A Bug's Life" The .nfo says only "<mpaa>Rated G.</mpaa>
The rating video is titles "G.avi"
I dont know why it's not working.
I think I've got this whupped.
"A Bug's Life" as pulled from IMDB.com by the XBMC Media Companion is rated "U".
"U" as discussed in previous posts is not considered to be an issue, and therefore, xbmcscript_trivia.py is not designed to catch it.
Kudos to mssywork (sp?) for noticing this first - if correct, I'm just supplementing their work.
Quote:def _get_slides( self, paths ):
# reset folders list
folders = []
# mpaa ratings
mpaa_ratings = { "G": 0, "PG": 1, "PG-13": 2, "R": 3, "NC-17": 4, "--": 5, "": 6 }
# enumerate thru paths and fetch slides recursively
There's no "U" in the mpaa ratings.
So, I yanked out the code indicated by msswork....
And booya - no more problems.
Of course, that means rating doesn't work with the trivia questions, but I've got an easy solution for you.
Make two sets of folders - one for adults and one for adults & kids. Before running the script, just go in and set it to the right folder.
Sure, it uses some hard disk space, but since everyone who's using XBMC probably has terabytes of space for their movies anyway.....
For Nuka - the IMDB is a manually updated database. That means it's going to have all sorts of incorrect information all of the time.
What about adjusting the logic to checking for an mpaa rating match? If no match, then assume the slide is rated G - and can be used with all levels of movies.
Hope that helps....it worked for me....