Aeon Madnox for Krypton / Jarvis - (no longer in development)
(2016-03-20, 02:26)_Andy_ Wrote: I don't use the latest git of Madnox so you have to modify the files manually. Maybe not the best solution but now you can change the behavior of the audio flag in all views at one point in the variables.xml
I have checked all video views and file view. The audio flag is working fine in all views so i hope i didn't miss anything.
I'm not very familiar with the conditions in skinning. Maybe there is a simpler solution. But it works.

file changes
Code:
1) Add the 3 logos to addons\skin.aeon.madnox\extras\AltIcons\color flags\flags\audio
2) variables.xml
   search for     <variable name="AudioFlagVar">
   and modify to
  
    <variable name="AudioFlagVar">
        <value>$INFO[ListItem.AudioCodec]$INFO[ListItem.AudioChannels]</value>
    </variable>
    <variable name="PlayerAudioFlagVAR">
        <value condition="SubString(Player.Filename,dtsx)">$VAR[ColorFlagsAudio]audio\dtsxlogo.png</value>
        <value condition="SubString(Player.Filename,auro)">$VAR[ColorFlagsAudio]audio\aurologo.png</value>
        <value condition="SubString(Player.Filename,atmos)">$VAR[ColorFlagsAudio]audio\dolbyatmoslogo.png</value>
        <value condition="!SubString(Player.Filename,dtsx) | !SubString(Player.Filename,auro) | !SubString(Player.Filename,atmos)">$VAR[ColorFlagsAudio]audio/$INFO[VideoPlayer.AudioCodec]$INFO[VideoPlayer.AudioChannels,,.png]</value>
    </variable>
    <variable name="FileAudioFlagVAR">
        <value condition="SubString(ListItem.Filenameandpath,dtsx)">$VAR[ColorFlagsAudio]audio\dtsxlogo.png</value>
        <value condition="SubString(ListItem.Filenameandpath,auro)">$VAR[ColorFlagsAudio]audio\aurologo.png</value>
        <value condition="SubString(ListItem.Filenameandpath,atmos)">$VAR[ColorFlagsAudio]audio\dolbyatmoslogo.png</value>
        <value condition="!SubString(ListItem.Filenameandpath,dtsx) | !SubString(ListItem.Filenameandpath,auro) | !SubString(ListItem.Filenameandpath,atmos)">$VAR[ColorFlagsAudio]audio/$VAR[AudioFlagVar,,.png]</value>
    </variable>
3)  DialogFullScreenInfo.xml
    at line 407 change to
       <control type="image">
        <left>1745</left>
        <texture fallback="flags/audio/defaultsound.png">$VAR[PlayerAudioFlagVAR]</texture>
        <include>OSDFlagVars</include>
    </control>
4) Includes_MediaFlags.xml
    line 327,656,1162 change to
    <texture>$VAR[FileAudioFlagVAR]</texture>
5) DialogVideoInfo.xml
   line 726 change to
   <texture>$VAR[FileAudioFlagVAR]</texture>
6) DialogSeekBar.xml
   line 875 change to
       <texture fallback="flags/audio/defaultsound.png">$VAR[PlayerAudioFlagVAR]</texture>
7) View_800_KodiFlix.xml
   line 3049 change to
   <texture>$VAR[FileAudioFlagVAR]</texture>
8) View_505_BannerInfo.xml
   line 568 change to
   <texture>$VAR[FileAudioFlagVAR]</texture>
9) View_507_FanartList.xml
   line 136 change to
   <texture>$VAR[FileAudioFlagVAR]</texture>
10) View_700_RightList.xml
   line 494 change to
   <texture>$VAR[FileAudioFlagVAR]</texture>  
11)  View_708_Shelf.xml
    line 231,672,752,854 change to
    <texture>$VAR[FileAudioFlagVAR]</texture>
12) View_750_Shelf.xml
    line 521 change to
    <texture>$VAR[FileAudioFlagVAR]</texture>
I made three logos. I like them. Maybe someone can make better ones.
...

i will make some white versions and some colored transparent versions too Smile
EDIT:
Icons are done and pushed to git - 3x white & 3x transparent color

the code should be checked by one of the coding gurus first Smile

but thx andy
HW: I5, AMD A6, Odroid C2 OS:Win10 & LibreElec Kodi:latest 16.x & 17.x Skin: MADNOX

M A D N O X - incl "HOW TO - SETUP TRICKS..." on first page !!!
Extra GFX Stuff for AeonNox Mods


Messages In This Thread
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:08
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:08
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:09
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:09
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:10
RE: Aeon Madnox - Beta Release - by Mike_Doc - 2015-06-29, 17:10
MADNOX FAQ - by schimi2k - 2015-06-29, 17:11
MADNOX HELP - by schimi2k - 2015-06-29, 17:12
RE: Aeon Madnox - Beta Release - by schimi2k - 2015-06-29, 17:12
refresh item - by bill1972 - 2016-03-08, 03:31
Keyboard Autocompletion - by JinNJuice - 2016-03-19, 00:26
RE: Aeon Madnox [RC1] for Jarvis *** Important Please read first post (27/02)*** - by schimi2k - 2016-03-20, 11:48
System Infoline - by reksp13 - 2016-04-09, 05:20
https://imageshack.com/my/images - by spook61 - 2016-04-14, 17:55
https://imageshack.com/my/images - by spook61 - 2016-04-14, 18:01
Leia - Madnox Problems - by Picard - 2017-06-22, 04:15
VideoLyrics - by Pr.Sinister - 2018-04-05, 23:40
Logout Mark Read Team Forum Stats Members Help
Aeon Madnox for Krypton / Jarvis - (no longer in development)39