Hitcher Wrote:Code:
3.2 Media flags
----------------
Again, pending CapnBry's solution for reading media info direct from the files
themselves, you'll need to do some file renaming if you want all of these to
work. The two exceptions are MPAA Rating and Studio, both of which require the
right strings to be present in your XBMC database. It's pretty much essential
to use locally-stored nfo files to manage and control this data, so look up
XBMC Media Companion and start using that.
The keywords Aeon looks for are:
Studio String
------ ------
20th Century Fox "Fox"
Universal "Universal"
Film4 "FilmFour" / "Channel Four"
Disney "Disney" / "Pixar"
Gaumont "Gaumont"
United Artists "Artists"
New Line Cinema "New Line"
Dimension "Dimension"
Touchstone "Touchstone"
Hollywood Pictures "Hollywood"
Carolco "Carolco"
Revolution Studios "Revolution"
Lakeshore Entertainment "Lakeshore"
Lucasfilm "Lucasfilm"
Screen Gems "Screen Gems"
Warner Bros. "Warner"
TriStar Pictures "TriStar"
Castle Rock "Castle Rock"
Studio Canal "Studio Canal"
Paramount Pictures "Paramount" / "Comedy Central"
DreamWorks "DreamWorks"
Columbia Pictures "Columbia"
Metro Goldwyn Mayer "MGM" / "Mayer"
Sony Pictures "Sony"
Artisan "Artisan"
Lionsgate "Lionsgate"
Miramax "Miramax"
MPAA Rating String
----------- ------
G "Rated G"
PG "Rated PG"
PG-13 "Rated PG-13"
R "Rated R"
NC-17 "Rated NC-17"
Media Source String
------------ ------
Blu-ray "bluray"
DVD "sddvd"
Resolution String
---------- ------
720p "720p"
1080p "1080p"
Audio String
----- ------
DTS "dts"
Dolby Digital "dolbydigital"
Note that for media source, resolution and audio, the strings have to be
present (anywhere) in the filename for the movie. MPAA Rating and Studio,
meanwhile, have to be present in the relevant field of the XBMC database /
nfo file. Renamer (http://www.den4b.com/downloads.php?project=ReNamer) is
an excellent tool for batch renaming files.
A more complete selection of flags will be added when CapnBry's solution
is merged into XBMC trunk.
djh_ :
I know you aren't taking feature requests or coding advice but would it be
possible to just have the audio, source and resolution flags pulled from actual
graphics in the movide directory like you are doing with the -big.png files?
Meaning, we have a source.png, resolution.png and audio.png?
That way, we can have the defaults you provide and add our own or modify
your defaults. Those that want color labels would have them and those that
don't want to be limited to 2 sources and 2 audio types would also be pleased.
Quick example for me, the movie Mobsters was only available in HD on HDDVD.
I would like to use that flag instead of Blu-ray. Or the version of the movie
Se7en i have was ripped from an HD Premium TV Channel. I would like to have
the media flag show an HDTV logo like this one (converted to black like your
other ones)
Is this something that can be done or do you think it's a stupid idea?
-Pr.