Kodi Community Forum
Showing music fanart when in fullscreen mode - 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: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: Showing music fanart when in fullscreen mode (/showthread.php?tid=131928)



Showing music fanart when in fullscreen mode - TheEvilHammer - 2012-05-20

I would like the following behavior when playing music in fullscreen mode:
  • If fanart exists for the currently playing artist, show the fanart instead of the visualization.
  • Otherwise, show the current visualization.
Is this possible with either the skin options or by modifying the XML files?


RE: Showing music fanart when in fullscreen mode - mad-max - 2012-05-20

Check my signature...my MOD has that capability...

cheers,
mad-max


RE: Showing music fanart when in fullscreen mode - TheEvilHammer - 2012-05-23

Meh, I don't really want to mess around with an entire mod. I just want this one small change. I've tried editing MusicVisualisation.xml myself but I can't get the fanart to show up. Even if I remove the entire <control> section for the visualization, it still appears in fullscreen mode. Any ideas?


RE: Showing music fanart when in fullscreen mode - Jezz_X - 2012-05-24

Open up MusicVisualisation.xml and below this
PHP Code:
        <control type="visualisation" id="2">
            <!-- 
FIX ME Music Visualization needs to have an id of 2 in this window to be able to lock or change preset -->
            <
description>visualisation</description>
            <
posx>0</posx>
            <
posy>0</posy>
            <
width>1280</width>
            <
height>720</height>
        </
control
add this
PHP Code:
        <control type="image">
            <
description>Fanart Image for Artist</description>
            <
posx>0</posx>
            <
posy>0</posy>
            <
width>1280</width>
            <
height>720</height>
            <
texture background="true">$INFO[MusicPlayer.Property(Fanart_Image)]</texture>
            <
colordiffuse>AAFFFFFF</colordiffuse>
            <
visible>!IsEmpty(MusicPlayer.Property(Fanart_Image))</visible>
            <
fadetime>600</fadetime>
        </
control
if you dont want the visualisation to show through as well then remove this line
PHP Code:
<colordiffuse>AAFFFFFF</colordiffuse



RE: Showing music fanart when in fullscreen mode - pkscout - 2012-05-24

(2012-05-23, 23:30)TheEvilHammer Wrote: Meh, I don't really want to mess around with an entire mod. I just want this one small change. I've tried editing MusicVisualisation.xml myself but I can't get the fanart to show up. Even if I remove the entire <control> section for the visualization, it still appears in fullscreen mode. Any ideas?

In that case take a look at the Artist Slideshow addon. Mad-max's mod includes support for that (along with other things), but the actual changes needed just for Artist Slideshow are pretty small (and explained on the wiki page for the addon).