Kodi Community Forum

Full Version: Fanart during music playback
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I found it a shame that the Confluence skin wasn't doing anything with the fanart during music playback, so here's a quick and short howto:

Add the following image control node to your MusicVisualisation.xml, which should be located in the directory 720p of the Confluence skin (on Windows: C:\Program Files (x86)\XBMC\skin\Confluence\720p)
Code:
...
    <allowoverlay>no</allowoverlay>
    <controls>
        <control type="image">
            <description>visualisation background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <info>MusicPlayer.Property(Fanart_Image)</info>
        </control>

        <control type="visualisation" id="2">
            <description>visualisation</description>
...

Just insert it in front of the normal visualisation block. Once done and the visualisation switched to "none" in settings, you should see the fanart while playing music.
I try it and it is very nice.

It's much better as the hectical visualisation or the black screen.

Is it possible to expand the xml, if no Fanart available a default picture e.g. the firing guitar is show.

Thanks a lot
Regards Zippolighter
Ronie make a addon to the described musicvisualisation changes, so if no fanart available, a default picture (firing guitar) is show.

http://forum.xbmc.org/showpost.php?p=458476&postcount=6
Haven't had a look at that xml, will do later this week...
NiPiN³ Wrote:Haven't had a look at that xml, will do later this week...

I should try to learn to read...

If I understand the xml correctly, you should be able to do that, by placing another image control object in front of the visualisation background. That way it will load the burning guitar and throw the fanart over it. (same as the visualisation being thrown over the fanart...)
Sorry bit of a noob question but where in the MusicViz file do i insert the code?

Thanks

Dan
insert below code;

Code:
        <control type="image">
            <description>visualisation background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <info>MusicPlayer.Property(Fanart_Image)</info>
        </control>

between

Code:
    <allowoverlay>no</allowoverlay>
    <controls>

and

Code:
        <control type="visualisation" id="2">
            <description>visualisation</description>

They can be found at the beginning of the musicviz xml file
Code:
<window id="2006">
    <defaultcontrol>-</defaultcontrol>
    <allowoverlay>no</allowoverlay>
    <controls>
    <control type="image">
            <description>visualisation background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <info>MusicPlayer.Property(Fanart_Image)</info>
        </control>
        <control type="visualisation" id="2">
            <description>visualisation</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
        </control>

is how my musicviz file starts starts and no Fanart loads and i have my vizualization set on none! Sad
the MusicPlayer.Property(Fanart_Image) implementation in xbmc is somewhat limited.

check http://trac.xbmc.org/ticket/7902
Would I be correct in saying that this:

* only works in library mode
* shows a single fanart during playback

Thanks
dc2447 Wrote:Would I be correct in saying that this:

* only works in library mode
* shows a single fanart during playback

Thanks

yes.
xbmc does not support for music fanart in filemode.