2010-07-28, 21:12
2010-07-28, 21:33
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 ?
i'm not sure if xbmc can get the video resolution from .iso files ?
2010-07-29, 00:57
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>
2010-07-29, 02:52
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?
2010-07-29, 12:04
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)]
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)]
2010-07-29, 20:58
Thanks