Album fanart support
#16
@Video Titles I have split your last post into a new thread, TVShow art issues is no related to this topic https://forum.kodi.tv/showthread.php?tid=349212
Reply
#17
Hello world.
Here are my changes in MusicVisualization.xml:

xml:
   <control type="label" id="6661">
    <label>$INFO[Player.Art(album.fanart)]</label>
    <visible>false</visible>
   </control>
   <control type="label" id="6662">
       <label>$INFO[Player.Art(fanart)]</label>
       <visible>false</visible>
   </control>

   <control type="image">
    <aspectratio>scale</aspectratio>
    <fadetime>400</fadetime>
    <animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
    <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
    <texture background="true" colordiffuse="88FFFFFF">$INFO[Player.Art(album.fanart)]</texture>
    <visible>[String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image)) + String.IsEmpty(Control.GetLabel(6662))]</visible>
   </control>
   <control type="image">
    <aspectratio>scale</aspectratio>
    <fadetime>400</fadetime>
    <animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
    <animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
    <texture background="true" colordiffuse="88FFFFFF">$INFO[Player.Art(fanart)]</texture>
    <visible>[String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image)) + String.IsEmpty(Control.GetLabel(6661))]</visible>
   </control>

So, if there is an ALBUM FANART for some song - then ALBUM FANART is displayed, ARTIST FANART not displayed.
And vice versa.

Of course you should provide ALBUM FANART pics for soundtrack albums.
I usually put fanart.jpg file into OST album folder and then select this jpg as fanart.

Image


But the result is nice.

Image

Image
Reply
#18
@rivera That's a nice mod, much better than looking at Hans Zimmer!!

Goes off to mod Estuary yet again !!
Learning Linux the hard way !!
Reply
#19
(2019-12-09, 23:51)rivera Wrote: Hello world.
Here are my changes in MusicVisualization.xml:

You don't need those control labels. this would also do it in less code:

xml:
<control type="image">
<aspectratio>scale</aspectratio>
<fadetime>400</fadetime>
<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
<animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
<texture background="true" colordiffuse="88FFFFFF">$INFO[Player.Art(album.fanart)]</texture>
<visible>String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image))</visible>
</control>
<control type="image">
<aspectratio>scale</aspectratio>
<fadetime>400</fadetime>
<animation effect="fade" start="0" end="100" time="400">WindowOpen</animation>
<animation effect="fade" start="100" end="0" time="300">WindowClose</animation>
<texture background="true" colordiffuse="88FFFFFF">$INFO[Player.Art(fanart)]</texture>
<visible>String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image) + String.IsEmpty(Player.Art(album.fanart))</visible>
</control>

So if album fanart is present it will show it, if there is no album fanart then it will try for normal artist fanart.
Reply
#20
(2019-12-10, 07:28)black_eagle Wrote: @rivera That's a nice mod, much better than looking at Hans Zimmer!!

Goes off to mod Estuary yet again !!

Indeed! With a little fantasy: Sgt Pepper; Electric Ladyland; We're only in it for the money eso eso. When will this Mod become general in the skins?
Reply
#21
Pretty cool, this could be relatively easy to support on TheAudioDB if there was enough interest?
Reply
#22
(2019-12-10, 21:29)docwra Wrote: Pretty cool, this could be relatively easy to support on TheAudioDB if there was enough interest?

I would be happy to have it )))
Reply
#23
(2019-12-10, 12:50)jjd-uk Wrote: <visible>String.IsEmpty(Window(Visualisation).Property(ArtistSlideshow.Image) + String.IsEmpty(Player.Art(album.fanart))</visible>

In my case it shows black screen in both cases:
1) artist fanart = specified, album fanart = not specified (like some album of "The Beatles")
2) artist fanart = not specified, album fanart = specified (like "The Dark Knight" album)

Update:
Sorry, my fault.
It works fine.
Made a mistake while editing xml file.
Reply

Logout Mark Read Team Forum Stats Members Help
Album fanart support0