Kodi Community Forum

Full Version: Logo at fullscreen playback
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can i only show logos or cleararts at the top/right corner during playback?
Logos should be always on during playback and work for tvshows and movies yes?
Then with a good text editor like Notepad++ add the following code to the following files.

DialogSeekbar.xml
Code:
<control type="image">
    <posx>250r</posx>
    <posy>25</posy>
    <width>190</width>
    <height>90</height>
    <texture>$VAR[Now_Playing_Logo]</texture>
    <aspectratio>keep</aspectratio>
</control>

Variables.xml
Code:
<variable name="Now_Playing_Logo">
    <value condition="VideoPlayer.Content(movies)">$INFO[Player.Art(clearlogo)]</value>
    <value condition="VideoPlayer.Content(episodes)">$INFO[Player.Art(tvshow.clearlogo)]</value>
</variable>
Hi, I added the above code to the xml files, but nothing shows when playing, only when paused.I am using Aeon Nox. Any help would be grateful
In Nox, line number 4 (before the controls start) has visible conditions that prevent it showing up.

You need the image unaffected by these. To do that you have to regroup the rest. You could do something like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<window>
    <defaultcontrol>1</defaultcontrol>
    
    <coordinates>
        <system>1</system>
        <posx>0</posx>
        <posy>0</posy>
    </coordinates>
    <controls>
    
    <control type="image">
        <posx>250r</posx>
        <posy>25</posy>
        <width>190</width>
        <height>90</height>
        <texture>$VAR[Now_Playing_Logo]</texture>
        <aspectratio>keep</aspectratio>
    </control>

    <control type="group">    
    <visible>[Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding] + ![VideoPlayer.Content(livetv) | Window.IsVisible(videoosd) | Window.IsVisible(fullscreeninfo) | Window.IsActive(script-XBMC-Subtitles-main.xml)] + Window.IsVisible(fullscreenvideo)</visible>
        
        <control type="group">
            <visible>!Skin.HasSetting(Show_Info_Paused)</visible>

And then you also need an extra closing tag all the way in the bottom

Code:
                <include>FullScreenInfoBar</include>
            </control>
        </control>
        <include>AlaskaPausedLabel</include>
    </control>
    </controls>
</window>

I didn't test, but it should work.
Hi MassIV, Thank you for your help Smile

but alas I entered the above code and it did not work Sad
Tested, works just fine.
http://pastebin.com/FyYJJCFR
And don't forget you still need to add the variable to Variables.xml

But i saw nox already had a logo on pause. So i added that the one showing while playing does not show when paused.
If you want to see both while paused remove line 19
<visible>!Player.Paused</visible>