Kodi Community Forum

Full Version: Bluray case for ISO
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way I can have the bluray case show on my bluray ISOs? ThanksSmile
i'm using the video resolution to determine whether to display a dvd or blu-ray case.

i'm not sure if xbmc can get the video resolution from .iso files ?
maybe with adding the file information into the NFO file of the bluray.iso ?

Code:
<fileinfo>
        <streamdetails>
            <video>
                <codec>h264</codec>
                <aspect>1.777778</aspect>
                <width>1920</width>
                <height>1080</height>
            </video>
            <audio>
                <codec>dca</codec>
                <language>fra</language>
                <channels>6</channels>
            </audio>
        </streamdetails>
    </fileinfo>
If the default case is DVD, can it be switched to Bluray and then files that have video resolution can still use the appropriate case?
bobrap Wrote:If the default case is DVD, can it be switched to Bluray and then files that have video resolution can still use the appropriate case?

that should well be possible, this is what i'm using for the dvd case:
Code:
![stringcompare(ListItem.VideoResolution,720) | stringcompare(ListItem.VideoResolution,1080)]
and here's the code for the blu-ray case:
Code:
[stringcompare(ListItem.VideoResolution,720) | stringcompare(ListItem.VideoResolution,1080)]


you'll have to browse all View-*.xml files and adjust those lines to:
dvd case:
Code:
[stringcompare(ListItem.VideoResolution,480) | stringcompare(ListItem.VideoResolution,540) | stringcompare(ListItem.VideoResolution,576)]

blu-ray case:
Code:
![stringcompare(ListItem.VideoResolution,480) | stringcompare(ListItem.VideoResolution,540) | stringcompare(ListItem.VideoResolution,576)]
ThanksNod