When I first started messing with this, I didn’t know a thing about XBMC skinning or XML, so this is basically copy-paste from PM3HD and a bit of my own work – it’s simple, but it works.
This mod will enable flags for movies and episodes using the Media Preview view and in the episode view itself. It will show, in order of appearance: source, resolution, Vcodec, Acodec, Achannels. If the source resolution is SD by definition, the resolution flag will not be shown.
It's fitted for my own needs, but I figured I'd still share it.
The flag images are far from perfect - I only have a very basic understanding of Photoshop, so while they should always show where they're supposed to, they don't exactly fit each other. If you view the \flagging\video dir in a thumb view on a white background, you'll know what I mean! I hope by posting this, maybe someone could point me to/make some flags that look good... ?
Also, should you notice any missing flags, please tell me!
If you run an umodded MediaStream just copy all the files from the rar and replace the 2 files already there.
If it's modded, around line 12 add the following to your Includes.xml (under " <include file="ViewsPics.xml" />")
Code:
<include file="IncludesCodecFlagging.xml" />Code:
<control type="label">
<description>Value</description>
<include>TVEpisodesWideValueDims</include>
<info>ListItem.Director</info>
<include>TVEpisodesDetailValue</include>
</control>Code:
<control type="grouplist">
<description>Media Codec Flagging Images</description>
<posx>-20</posx>
<posy>33</posy>
<width>340</width>
<align>center</align>
<itemgap>0</itemgap>
<orientation>horizontal</orientation>
<include>VideoCodecFlaggingConditions</include>
<include>AudioCodecFlaggingConditions</include>
<include>AspectCodecFlaggingConditions</include>
</control>Code:
<control type="label">
<description>Movie Title</description>
<width>660</width>
<label>$INFO
[ListItem.Label]</label>
<font>TitleCapsFont</font>
<scroll>true</scroll>
</control>Code:
<control type="grouplist">
<description>Media Codec Flagging Images</description>
<posx>510</posx>
<posy>0</posy>
<width>340</width>
<align>center</align>
<itemgap>0</itemgap>
<orientation>horizontal</orientation>
<include>VideoCodecFlaggingConditions</include>
<include>AudioCodecFlaggingConditions</include>
<include>AspectCodecFlaggingConditions</include>
</control>
If you want the flags to show in other views, just place
Code:
<control type="grouplist">
<description>Media Codec Flagging Images</description>
<posx>0</posx>
<posy>0</posy>
<width>340</width>
<align>center</align>
<itemgap>0</itemgap>
<orientation>horizontal</orientation>
<include>VideoCodecFlaggingConditions</include>
<include>AudioCodecFlaggingConditions</include>
<include>AspectCodecFlaggingConditions</include>
</control>Screenshots:
![[Image: mo1.jpg]](http://www.mope.biz/pic/mo1.jpg)
![[Image: mo3.jpg]](http://www.mope.biz/pic/mo3.jpg)
![[Image: ep1.jpg]](http://www.mope.biz/pic/ep1.jpg)

so if You could point me where I shoud paste that part of the code so I can see flags in info list I would be Grateful.
Thanks
Search
Help