Kodi Community Forum
new flags ? what do i need to do? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (https://forum.kodi.tv/forumdisplay.php?fid=179)
+----- Forum: Night (https://forum.kodi.tv/forumdisplay.php?fid=130)
+----- Thread: new flags ? what do i need to do? (/showthread.php?tid=81329)

Pages: 1 2 3 4


- mcborzu - 2010-09-19

@jsm00thie

Post a download link, it looks nice!!


- Danielocean - 2010-09-19

year year year!!!

mcborzo is happy about the flags... maybe a nativ implementation in night?!


- jsm00thie - 2010-09-19

mcborzu Wrote:@jsm00thie

Post a download link, it looks nice!!

It would likely mess up things for people if I uploaded my version of Night. I've made many mods that are geared specifically to my use. (Implementing my smartlists etc)

I agree with danielocean...a native implementation of the option of using these flags would be great.


- stoli - 2010-09-19

mcborzu Wrote:2. It should be as simple as following the code and replacing the said image:

IncludesCodecFlagging.xml]

I'm updating the includes to accommodate these flag images but have a couple of questions;

1. Is there an easy way to find what codecs XBMC is reading from the files when it is not present in the includes? i.e., it's just a blank entry.

2. What flag should be in this position for movies - it is empty in all of mine.

Image

Thanks,


- jsm00thie - 2010-09-19

stoli Wrote:I'm updating the includes to accommodate these flag images but have a couple of questions;

1. Is there an easy way to find what codecs XBMC is reading from the files when it is not present in the includes? i.e., it's just a blank entry.

2. What flag should be in this position for movies - it is empty in all of mine.

Image

Thanks,

With the default flags, this space is reserved for the number of audio channels. This is no longer needed with these new flags as there are separate ones for 2, 6, 7, 8 audio channels. You just have to define which one to display in the IncludesCodecFlagging.xml based on the number of channels the video file has.


- zwat - 2010-09-19

could u post ur includecodecflagging.xml that u fixed?

think mcborzu wanted the codec flag links and not ur night skin version Big Grin


- jsm00thie - 2010-09-19

All I did was create a copy of the include and added a 2 at the end. Then on each view, I either directed it to the original or the new version based on the New Media Flag option.

If flag is off then:
<include>AudioCodecFlaggingConditions</include>

If flag is on then:
<include>AudioCodecFlaggingConditions2</include>


Here's an example of my audio flagging in my IncludesCodecFlagging.xml.

Code:
<include name="AudioCodecFlaggingConditions2">
        <control type="image">
            <description>mp3 Codec Image</description>
            <width>75</width>
            <height>56</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio2/mp3.png</texture>
            <visible>substring(ListItem.AudioCodec,mp3)</visible>
        </control>
        <control type="image">
            <description>dts Codec Image</description>
            <width>75</width>
            <height>56</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio2/dts.png</texture>
            <visible>[substring(ListItem.AudioCodec,dts) | substring(ListItem.AudioCodec,dca)] + !substring(ListItem.AudioChannels,6)</visible>
        </control>
        <control type="image">
            <description>dts Codec Image</description>
            <width>75</width>
            <height>56</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio2/dts.51.png</texture>
            <visible>[substring(ListItem.AudioCodec,dts) | substring(ListItem.AudioCodec,dca)] + substring(ListItem.AudioChannels,6)</visible>
        </control>
        
        <control type="image">
            <description>Dolby Digital Image</description>
            <width>75</width>
            <height>56</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio2/ac3.51.png</texture>
            <visible>substring(ListItem.AudioCodec,ac3) + substring(ListItem.AudioChannels,6)</visible>
        </control>
        <control type="image">
            <description>ac3 Image</description>
            <width>75</width>
            <height>56</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio2/ac3.png</texture>
            <visible>substring(ListItem.AudioCodec,ac3) + !substring(ListItem.AudioChannels,6)</visible>
        </control>
        <control type="image">
            <description>aac Image</description>
            <width>75</width>
            <height>56</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio2/aac.png</texture>
            <visible>substring(ListItem.AudioCodec,aac)</visible>
        </control>
        <control type="image">
            <description>WMA Pro Codec Image</description>
            <width>75</width>
            <height>56</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio2/wma.png</texture>
            <visible>substring(ListItem.AudioCodec,wma)</visible>
        </control>
        <control type="image">
            <description>WMA Pro Codec Image</description>
            <width>75</width>
            <height>56</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio2/wmapro.png</texture>
            <visible>substring(ListItem.AudioCodec,wmapro)</visible>
        </control>
         <control type="image">
            <description>vorbis Image</description>
            <width>75</width>
            <height>56</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio2/vorbis.png</texture>
            <visible>substring(ListItem.AudioCodec,vorbis)</visible>
        </control>
        <control type="image">
            <description>flac Image</description>
            <width>75</width>
            <height>56</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio2/flac.png</texture>
            <visible>substring(ListItem.AudioCodec,flac) + substring(ListItem.AudioChannels,6)</visible>
        </control>
        <control type="image">
            <description>dtsma Image</description>
            <width>75</width>
            <height>56</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio2/dtsma.png</texture>
            <visible>substring(ListItem.AudioCodec,dtsma) + substring(ListItem.AudioChannels,6)</visible>
        </control>
        <control type="image">
            <description>truehd Image</description>
            <width>75</width>
            <height>56</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio2/truehd.png</texture>
            <visible>substring(ListItem.AudioCodec,truehd) + substring(ListItem.AudioChannels,6)</visible>
        </control>
    </include>



- voidy - 2010-09-19

omg i feel so stupid now i didnt get them to work :'( but they look soooo cool


- mcborzu - 2010-09-20

For me I hate making people check settings, if I like these I would just use them as the main flags...

I havent even downloaded the pack mostly I was curious if you had to rename the images, but really it's probably 15 min of work if I had too...


- voidy - 2010-09-20

gogo do it and make me a happy voidy Tongue
i cant get it to work on my own Big Grin


- Oddsodz - 2010-09-20

I Would be interested to see this in at some point.


- krypt2nite - 2010-09-21

These look great and like said would be a perfect addition to the skin imo.


- zwat - 2010-09-22

have u looked into this mcborzu? in case are u playing with color or monochrome? i was trying monochrome but must change em to transparency to see how that look. didn't really feel for em with black\grayish background.


- mcborzu - 2010-09-22

Yea I like them, I want to change the spacing so I should finish in a couple of days...Oh I do like the color version.


- Danielocean - 2010-09-22

some of these logos are not "original right"... so i think i try to work on it... are you interesting in that, mcborzu?! Which style do you prefer?!