2009-05-03, 14:39
If its in the nfo, what section is it under?
PiNCH Wrote:Could someone elaborate as to why the source has to be read from the filename?
For me this means I have to edit all my filenames to get the source flag... Why can't it just be read from the <studio> like everything else?
Hidd3nFury Wrote:Find the Includes_MediaFlags.xml in skin 720p folder and change everything in it that says "listitem.filename" to "listitem.studio" (notepad++ and ctrl + f is a good way to do this) it will now read everything from the studio tags in the .nfo. obviously you will have to manually add the source info to your .nfo files.
Imaginos Wrote:You see Pinch, an automated software cannot guess whether a video is ripped from a bluray, a hdtv or a hddvd just by analysing it.
This is the only data wich cannot be auto-selected. So it has to be in the file name, thing that can be easily done with batch renaming tools
<control type="image" id="82">
<include>Furniture_PanelMediaFlagsVars</include>
<texture>flags/bluray.png</texture>
<visible>substring(listitem.filename,bluray)[b] | substring(listitem.studio,bluray)[/b]</visible>
</control>
phonics Wrote:so putting "bluray" into the filenames is working perfectly for me, however i cant seem to get the dvd flags to show up when i put "dvd" into the filename, is there something else i need to do to get that to show up?
Hitcher Wrote:sddvd.
phonics Wrote:thanks
is there somewhere i can find all the default codes (for both video and audio source)?
Media Source String
------------ ------
Blu-ray "bluray"
DVD "sddvd"
HD-DVD "hddvd"
HDTV "hdtv"
Resolution String
---------- ------
SD "sd"
720p "720p"
1080p "1080p"
576i "576i"
Audio String
----- ------
DTS "dts"
Dolby Digital "ac-3"
MP3 "mp3"