Kodi Community Forum
Night Release Thread - 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: Night Release Thread (/showthread.php?tid=73814)



- mcborzu - 2010-09-23

zwat Wrote:tested the new flags. not crazy about the color version, but i can fix that for me so thats not important. tho kinda hate the reflection of the poster. it hides the flags real good and thats bad. would be great if u could trial balloon the poster view without cover reflection. if u allso could trial ballon poster plus on fanart and not just dark view.

I'm going to put a black square behind the flags...PosterPlus on Fanart has been one of those "rain day" projects...


- zwat - 2010-09-23

u should move here. then u could have a rainy day project finished every week Tongue


- zwat - 2010-09-24

krypt2nite Wrote:I kind of like the flags a bit bigger and the audio channels combined with codec.

care to share ur includecodecflagging.xml hate to reinvent the wheel Big Grin


- papill6n - 2010-09-24

It's normal : http://img830.imageshack.us/i/sanstitre1lbj.jpg/

There is no text in this line.

I have the latest update via Git.


- User 55003 - 2010-09-24

Nice work with the flags and genre icons!
You might want to flip the reflection for genre icons in poster view Wink

Made a few TV only genre icons that where missing..bit rough but they look ok from a distance Smile
Image

Image

Image


- mobious - 2010-09-24

Been reading about people using combined audio/channel codec icons with the latest update instead of having them separate, well I can't seem to wrap my head around how to get that done, I am assuming I have to edit some XML files first? its not a simple drag and drop procedure is it?


- krypt2nite - 2010-09-24

Hey guys I'll share the xml in a bit when I get my free time.


- zwat - 2010-09-24

Steveb Wrote:Nice work with the flags and genre icons!
You might want to flip the reflection for genre icons in poster view Wink

Made a few TV only genre icons that where missing..bit rough but they look ok from a distance Smile
u should make the images to the border and not have that border at both sides


- KidKiwi - 2010-09-24

Edit: Removed Questions to Own Thread


- krypt2nite - 2010-09-24

What's peoples thoughts on this? Too much gap? Too big? I'm also gonna play around with making the opacity darker so the reflections don't interfere.

Image

Image



@Steveb I like them but sorry dude I made some new ones without the borders. Seem to be liked better that way and I agree.


- User 55003 - 2010-09-24

zwat Wrote:u should make the images to the border and not have that border at both sides

I will when and if mcborzu decides to change the style of the icon Wink

@krypt2nite No probs, if they get changed, i'll redo without the border Big Grin
Also the size and spacing of the flags looks ok, great job..

Just dl the new icons and template, yep they look a lot better that way..time to redo th TV genre icons Nod


- zwat - 2010-09-24

kinda like it without reflection. waiting for kryp2nite to release the combined audio channels xml for makin it perfect. D what u think of skipping reflection?
Image


- krypt2nite - 2010-09-24

Hey guys mine is so hacked up now it won't work with the default release of XBMC. I can do it if needed.

Here is the basics though. It's as simple as specifying the codec and corresponding channels.

So right now in we have this below, basically saying display a dolby digital flag for whatever version of ac3 the encode has.

Code:
<control type="image">
    <description>ac3 Image</description>
    <width>60</width>
    <height>40</height>
    <aspectratio>keep</aspectratio>
    <texture>flagging/audio/ac3.png</texture>
    <visible>substring(ListItem.AudioCodec,ac3) + !substring(ListItem.AudioChannels,6)</visible>
</control>

<control type="image">
         <description>Dolby Digital Image</description>
         <width>60</width>
         <height>40</height>
         <aspectratio>keep</aspectratio>
         <texture>flagging/audio/dolbydigital.png</texture>
         <visible>substring(ListItem.AudioCodec,ac3) + substring(ListItem.AudioChannels,6)</visible>
  </control>

So instead of that we just specify which image to display according to the number of channels.

Code:
<control type="image">
            <description>ac3 2.0</description>
            <width>70</width>
            <height>55</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/ac320.png</texture>
            <visible>substring(ListItem.AudioCodec,ac3) [b]+ substring(ListItem.AudioChannels,2)[/b]</visible>
        </control>
        <control type="image">
            <description>ac3 5.1</description>
            <width>70</width>
            <height>55</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/ac351.png</texture>
            <visible>substring(ListItem.AudioCodec,ac3) [b]+ substring(ListItem.AudioChannels,6)[/b]</visible>
        </control>

I'm not good at explaining but that visual should hopefully make sense.

Here is my complete audio portion I have thus far. Hits all movies I have but could be missing something.
Code:
        <control type="image">
            <description>mp3 Codec Image</description>
            <width>60</width>
            <height>40</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/mp3.png</texture>
            <visible>substring(ListItem.AudioCodec,mp3)</visible>
        </control>
        <control type="image">
            <description>dts 5.1</description>
            <width>60</width>
            <height>40</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/dts51.png</texture>
            <visible>substring(ListItem.AudioCodec,dca) + substring(ListItem.AudioChannels,6)</visible>
        </control>
        <control type="image">
            <description>ac3 1.0</description>
            <width>60</width>
            <height>40</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/ac310.png</texture>
            <visible>substring(ListItem.AudioCodec,ac3) + substring(ListItem.AudioChannels,1)</visible>
        </control>
        <control type="image">
            <description>ac3 2.0</description>
            <width>60</width>
            <height>40</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/ac320.png</texture>
            <visible>substring(ListItem.AudioCodec,ac3) + substring(ListItem.AudioChannels,2)</visible>
        </control>
        <control type="image">
            <description>ac3 5.1</description>
            <width>60</width>
            <height>40</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/ac351.png</texture>
            <visible>substring(ListItem.AudioCodec,ac3) + substring(ListItem.AudioChannels,6) | substring(ListItem.AudioChannels,5)</visible>
        </control>        
        
        
        
        <control type="image">
            <description>aac Image</description>
            <width>60</width>
            <height>40</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/aac.png</texture>
            <visible>substring(ListItem.AudioCodec,aac)</visible>
        </control>

        <control type="image">
            <description>WMA</description>
            <width>60</width>
            <height>40</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/wmapro.png</texture>
            <visible>substring(ListItem.AudioCodec,wmapro) | substring(ListItem.AudioCodec,wma)</visible>
        </control>
         <control type="image">
            <description>vorbis Image</description>
            <width>60</width>
            <height>40</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/vorbis.png</texture>
            <visible>substring(ListItem.AudioCodec,vorbis)</visible>
        </control>
        <control type="image">
            <description>dtsma 5.1</description>
            <width>60</width>
            <height>40</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/dtsma51.png</texture>
            <visible>substring(ListItem.AudioCodec,dtsma) + substring(ListItem.AudioChannels,6)</visible>
        </control>
        <control type="image">
            <description>truehd 5.1</description>
            <width>60</width>
            <height>40</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/truehd51.png</texture>
            <visible>substring(ListItem.AudioCodec,truehd) + substring(ListItem.AudioChannels,6)</visible>
        </control>
        <control type="image">
            <description>flac</description>
            <width>60</width>
            <height>40</height>
            <aspectratio>keep</aspectratio>
            <texture>flagging/audio/flac.png</texture>
            <visible>substring(ListItem.AudioCodec,flac)</visible>
        </control>



- mobious - 2010-09-24

Thank you, will work on implementing it today in my XML and see how it goes.


- Flomaster - 2010-09-24

krypt2nite, maybe I missed it, but did you post your media flags for download. with the channels + audio format ?

-=Jason=-