@
latts9923
Can you please confirm this in the ArtworkBeef thread that $INFO[ListItem.Art(fanart)] stops returning a value on use multiimage via fadelabel control after some time of use.
https://forum.kodi.tv/showthread.php?tid...pid2828135
https://forum.kodi.tv/showthread.php?tid...pid2831609
The entry is from the AB wiki should be deleted, it just does not work (with fanarts) I tested it extensively and after a while, the main fanart simply disappear.
https://rmrector.github.io/script.artwor...onfreefun/
I went back to the drawing board in this regard.
I have now deleted all the multiimage via fadelabel control and replaced it with the codes of ArtworkHelper.
(ArtworkHelper is a dependency, but as far as I know who uses ArtworkBeef, ArtworkHelper automatically works too)
Read/Use this:
https://rmrector.github.io/script.artwor...orkhelper/
I have browsed something in the other skins that are up to date as it has been done there, no one uses multiimage via fadelabel control, they all use multiimage via artworkhelper
Delete all code regarding artworkbeef multiimage you have set. (includes.xml, includesvariables.xml, myvideonav.xml...)
Just add these lines to the includesvariables.xml:
Code:
<variable name="value_videofanart">
<value condition="Container.Content(movies) + String.Contains(Skin.String(moviesfanart),fallback)">$INFO[Skin.String(CustomFallbackMoviesBG)]</value>
<value condition="Container.Content(movies) + String.Contains(Skin.String(moviesfanart),curtains)">special://skin/backgrounds/extras/curtains.jpg</value>
<value condition="Container.Content(movies) + String.Contains(Skin.String(moviesfanart),extra)">$INFO[ListItem.Path]extrafanart/</value>
<value condition="Container.Content(movies) + String.Contains(Skin.String(moviesfanart),setanewstring)">plugin://script.artwork.helper/multiimage/listitem/?refresh=$INFO[ListItem.DBID]&&arttype=fanart</value>
<value condition="Container.Content(musicvideos) + String.Contains(Skin.String(musicvideosfanart),fallback)">$INFO[Skin.String(CustomFallbackMusicVideosBG)]</value>
<value condition="Container.Content(musicvideos) + String.Contains(Skin.String(musicvideosfanart),curtains)">special://skin/backgrounds/extras/curtains.jpg</value>
<value condition="Container.Content(musicvideos) + String.Contains(Skin.String(musicvideosfanart),extra)">$INFO[ListItem.Path]extrafanart/</value>
<value condition="Container.Content(tvshows) + String.Contains(Skin.String(tvshowsfanart),fallback)">$INFO[Skin.String(CustomFallbackTVShowsBG)]</value>
<value condition="Container.Content(tvshows) + String.Contains(Skin.String(tvshowsfanart),curtains)">special://skin/backgrounds/extras/curtains.jpg</value>
<value condition="Container.Content(tvshows) + String.Contains(Skin.String(tvshowsfanart),extra)">$INFO[ListItem.Path]extrafanart/</value>
<value condition="Container.Content(tvshows) + String.Contains(Skin.String(tvshowsfanart),setanewstring)">plugin://script.artwork.helper/multiimage/listitem/?refresh=$INFO[ListItem.DBID]&&arttype=fanart</value>
<value condition="Container.Content(seasons) + String.Contains(Skin.String(seasonsfanart),fallback)">$INFO[Skin.String(CustomFallbackSeasonsBG)]</value>
<value condition="Container.Content(seasons) + String.Contains(Skin.String(seasonsfanart),curtains)">special://skin/backgrounds/extras/curtains.jpg</value>
<value condition="Container.Content(seasons) + String.Contains(Skin.String(seasonsfanart),extra)">$INFO[ListItem.Path,,extrafanart/]</value>
<value condition="Container.Content(seasons) + String.Contains(Skin.String(seasonsfanart),seasons)">$INFO[ListItem.Path]$INFO[ListItem.Label,,/fanart.jpg]</value>
<value condition="Container.Content(episodes) + String.Contains(Skin.String(episodesfanart),fallback)">$INFO[Skin.String(CustomFallbackEpisodesBG)]</value>
<value condition="Container.Content(episodes) + String.Contains(Skin.String(episodesfanart),curtains)">special://skin/backgrounds/extras/curtains.jpg</value>
<value condition="Container.Content(episodes) + String.Contains(Skin.String(episodesfanart),extra)">$INFO[ListItem.Path,,../extrafanart/]</value>
<value condition="Container.Content(episodes) + String.Contains(Skin.String(episodesfanart),seasons)">$INFO[ListItem.Path,,fanart.jpg]</value>
<value condition="Container.Content(sets) + String.Contains(Skin.String(setsfanart),fallback)">$INFO[Skin.String(CustomFallbackSetsBG)]</value>
<value condition="Container.Content(sets) + String.Contains(Skin.String(setsfanart),curtains)">special://skin/backgrounds/extras/curtains.jpg</value>
<value condition="Container.Content(sets) + String.Contains(Skin.String(setsfanart),extra)">$INFO[ListItem.Path]extrafanart/</value>
<value condition="Container.Content(sets) + String.Contains(Skin.String(setsfanart),setanewstring)">plugin://script.artwork.helper/multiimage/listitem/?refresh=$INFO[ListItem.DBID]&&arttype=fanart</value>
<value condition="Container.Content(addons) + String.Contains(Skin.String(programsfanart),fanart)">$INFO[ListItem.Art(fanart)]</value>
<value condition="Container.Content(addons) + String.Contains(Skin.String(programsfanart),fallback)">$INFO[Skin.String(CustomFallbackProgramsBG)]</value>
<value condition="Container.Content(addons) + String.Contains(Skin.String(programsfanart),curtains)">special://skin/backgrounds/extras/curtains.jpg</value>
<!-- MULTI MOD -->
<value>$INFO[ListItem.Art(fanart)]</value>
<!-- MULTI MOD -->
</variable>
"setanewstring" for the includestopmenu.xml to set new buttons. It's working like a charm
To mention:
This code includes a fallback.
When the extrafanarts are read into artworkbeef, the main fanart and the read in extrafanarts are displayed.
If, however, no extra extrafanarts are read into artworkbeef and you still have an extrafanarts folder in use, the main fanart and extrafanarts are displayed from the extrafanarts folder.
(You can also read the extrafanarts from extrafanart folder into AB, when do that its showing the extrafanarts read into AB accessing from db, when not do that the extrafanarts are accessing as a fallback direct from the extrafanarts folder)