Add Audio Config To Main Details
#1
Hi all,

I'm new to XBMC, having come from MediaBrowser (very happy so far) and have a question I'm hoping someone can help out with.

When viewing my collection in InfoWall, I'd really like to see the audio config added to the details as well. Presently, I have to go into the movie information tab to see this. Is there a way to add this to the main section so that I can see the audio config at a glance, without having to go into the movie information?

I've added an image below, where I've put the audio config where'd I'd like it. Is this something I can edit via XML somewhere?

Image

Apologies if a solution to this exists somewhere, I couldn't find it using search or the FAQ.

Thanks in advance!
Reply
#2
This is actually something I'd be interested in as well. I always thought just the DTS/Dolby info could be grabbed - if it's already available w/in the system, having it display would be a nice addition. (Although I feel like I have seen it displayed somewhere before - old skin version or another skin maybe?)
Reply
#3
(2013-01-17, 17:03)Necromancyr Wrote: This is actually something I'd be interested in as well. I always thought just the DTS/Dolby info could be grabbed - if it's already available w/in the system, having it display would be a nice addition. (Although I feel like I have seen it displayed somewhere before - old skin version or another skin maybe?)

Yeah, Necro that's kind of what I'd like as well. Perhaps down the line there could be a preferences pane somewhere where you could check which media images to display on the main page. I switched to other skins and some of them show the audio config on the main part, so i know it's got to be possible in some form.

If anyone has any ideas, that'd be awesomel! Thanks!

Reply
#4
It is already in the system - I misread what you meant by info (i.e., it's in the info panel already vs. looking at the media file directly to get the info) - so this should just be a minor mod...
Reply
#5
Is there a place one could request this? Or is this something you know how to do? Even if someone could point me in the right direction that'd be cool too. Thanks!
Reply
#6
Well, if you want a really hacky way to do it.... Open up Viewtype_AddonWall.xml

Find:
Code:
<control type="group">
                        <control type="group">
                            <control type="label">
                                <posx>1830</posx>
                                <posy>1015</posy>
                                <height>20</height>
                                <width>690</width>
                                <font>Font_Reg19</font>
                                <align>right</align>
                                <textcolor>$VAR[FlagDiffuseVar]</textcolor>
                                <scroll>true</scroll>
                                <label>$VAR[InfoWallBottomLabel1Var]</label>
                            </control>
                            <control type="label">
                                <posx>1830</posx>
                                <posy>1060</posy>
                                <height>20</height>
                                <width>690</width>
                                <font>Font_Reg19</font>
                                <align>right</align>
                                <textcolor>$VAR[FlagDiffuseVar]</textcolor>
                                <label>$VAR[InfoWallBottomLabel2Var]</label>
                            </control>

After that add:
Code:
<control type="image" id="900017">
                        <posx>1200</posx>
                        <posy>1024</posy>
                        <width>70</width>
                        <height>65</height>
                        <colordiffuse>FF7c7c7c</colordiffuse>
                        <aspectratio aligny="center" align="center">keep</aspectratio>
                        <texture>$INFO[ListItem.AudioChannels,flags/info/channels/,.png]</texture>
                        <aspectratio>keep</aspectratio>
                        <animation effect="slide" end="0,3" condition="true">Conditional</animation>
                        <visible>!IsEmpty(Control.GetLabel(900017))</visible>
                    </control>

It will look exactly like that screenshot in first post above, this is not the best way to do it, but it works.. really hacky though. The correct edit would probably be in one of the includes or the variable file.

Delete the colordiffuse line if you want it pure white.
My Madnox Mods | Nox Version Guide
---------------------------------------------------------------
Movie Logo Requests | Studio Logo Requests
Logo's Made So Far:
838
Reply
#7
Thanks ShadowTek! I'll give that a go!
Reply
#8
(2013-01-18, 08:07)ShadowTek Wrote: Well, if you want a really hacky way to do it.... Open up Viewtype_AddonWall.xml

Find:
Code:
<control type="group">
                        <control type="group">
                            <control type="label">
                                <posx>1830</posx>
                                <posy>1015</posy>
                                <height>20</height>
                                <width>690</width>
                                <font>Font_Reg19</font>
                                <align>right</align>
                                <textcolor>$VAR[FlagDiffuseVar]</textcolor>
                                <scroll>true</scroll>
                                <label>$VAR[InfoWallBottomLabel1Var]</label>
                            </control>
                            <control type="label">
                                <posx>1830</posx>
                                <posy>1060</posy>
                                <height>20</height>
                                <width>690</width>
                                <font>Font_Reg19</font>
                                <align>right</align>
                                <textcolor>$VAR[FlagDiffuseVar]</textcolor>
                                <label>$VAR[InfoWallBottomLabel2Var]</label>
                            </control>

After that add:
Code:
<control type="image" id="900017">
                        <posx>1200</posx>
                        <posy>1024</posy>
                        <width>70</width>
                        <height>65</height>
                        <colordiffuse>FF7c7c7c</colordiffuse>
                        <aspectratio aligny="center" align="center">keep</aspectratio>
                        <texture>$INFO[ListItem.AudioChannels,flags/info/channels/,.png]</texture>
                        <aspectratio>keep</aspectratio>
                        <animation effect="slide" end="0,3" condition="true">Conditional</animation>
                        <visible>!IsEmpty(Control.GetLabel(900017))</visible>
                    </control>

It will look exactly like that screenshot in first post above, this is not the best way to do it, but it works.. really hacky though. The correct edit would probably be in one of the includes or the variable file.

Delete the colordiffuse line if you want it pure white.


Thanks Shadow, this did the trick -- Would it be possible to switch the placement of the AAC or Dolby Surround, etc. images with the audio config image? That way it wouldn't be so far off to the right side, and I don't care about the audio codec information that much.

I couldn't find any reference to the codec images in the viewtype_AddonWall.xml file. Is the placement and layout for these images in another file somewhere?

Thanks again for your help!
Reply
#9
Yeah its not in the AddonWall.xml file file, its in the variables.xml file I think under <!--InfoWall variables--> but I could be wrong. Haven't looked to close at it yet.
My Madnox Mods | Nox Version Guide
---------------------------------------------------------------
Movie Logo Requests | Studio Logo Requests
Logo's Made So Far:
838
Reply
#10
(2013-01-20, 22:19)ShadowTek Wrote: Yeah its not in the AddonWall.xml file file, its in the variables.xml file I think under <!--InfoWall variables--> but I could be wrong. Haven't looked to close at it yet.
I figured it out -- Not sure if i've broken anything else but it's working how I want so far, lol.

This is what I did:

I commented out the following block in the variables.xml file:

Code:
<!--
    <variable name="AudioFlagVar">
        <value condition="substring(ListItem.AudioCodec,ac3,left) + !Stringcompare(ListItem.AudioChannels,2)">dolbydigital</value>
        <value condition="substring(ListItem.AudioCodec,ac3,left) + Stringcompare(ListItem.AudioChannels,2)">dolbypro</value>
        <value>$INFO[ListItem.AudioCodec]</value>
    </variable>
-->

Then, in Viewtype_AddonWall.xml, after this block of code (Thanks ShadowTek):

Code:
</control>
                            <control type="label">
                                <posx>1830</posx>
                                <posy>1060</posy>
                                <height>20</height>
                                <width>690</width>
                                <font>Font_Reg19</font>
                                <align>right</align>
                                <textcolor>$VAR[FlagDiffuseVar]</textcolor>
                                <label>$VAR[InfoWallBottomLabel2Var]</label>
                            </control>

I added the following block of xml:

Code:
<control type="image" id="900017">
                        <posx>1080</posx>
                        <posy>1024</posy>
                        <width>70</width>
                        <height>70</height>
                        <aspectratio aligny="center" align="center">keep</aspectratio>
                        <texture>$INFO[ListItem.AudioChannels,flags/info/channels/,.png]</texture>
                        <aspectratio>keep</aspectratio>
                        <animation effect="slide" end="0,3" condition="true">Conditional</animation>
                        <visible>!IsEmpty(Control.GetLabel(900017))</visible>
                    </control>

..and now it looks like this! Smile

Image
Reply

Logout Mark Read Team Forum Stats Members Help
Add Audio Config To Main Details0