2020-12-20, 14:21
(2020-12-19, 19:10)MB1968 Wrote:@latts9923 @MB1968(2020-12-19, 14:56)latts9923 Wrote: @MB1968Are we talking about the same? I don't see fanart for my YouTube channels.
Try this for the Video Add-on extrafanart...
xml:
<value condition="[Container.Content(movies) + String.Contains(Skin.String(moviesfanart),extra) + !String.IsEmpty(Window(home).Property(SkinHelper.ListItem.Art.FanArts)) + String.IsEmpty(ListItem.Path,,extrafanart/)] | [!Window.IsActive(videolibrary) + String.Contains(Skin.String(moviesfanart),extra) + !String.IsEmpty(Window(home).Property(SkinHelper.ListItem.Art.FanArts))]">$INFO[Window(home).Property(SkinHelper.ListItem.Art.FanArts)]</value>
I'll test if extrafanart works for a different video addon.
EDIT 1: the new piece of code does not work for video addons like YouTube.
EDIT 2: I''m not using video addons that support extrafanart. Therefore I'm unable to test this scenario.
I tried this fix and it seems that with this fix the online (extra)fanart of video add-ons is showing, but now the local extrafanart for your movies on your local drive isn't working. So then we are back where we came from....
Below you see two screenshots with the setup of the string "value_videofanart" in the IncludesVariables.xml file. One that was used in the Leia Mod version 1.0.1.5 and one that is used in the Leia Mod version 1.0.3.4.
In version 1.0.1.5:
- the local extrafanart for your movies on your local drive in separate folders is not cycling/working.
- the online (extra)fanart for video add-ons is working.
In version 1.0.3.4:
- the local extrafanart for your movies on your local drive in separate folders is cycling/working.
- the online (extra)fanart for video add-ons is not working.
@latts9923 Im not a software developer, but maybe the setup of the variables in the two strings should be combined in a sort of way? I can remember that before updating to version 1.0.3.0., this issue with the (extra)fanart wasn't there. Maybe you could use the setup of the "value_videofanart" string of the IncludesVariables.xml file of this version again?
SCREENSHOT INCLUDESVARIABLES.XML FILE VERSION 1.0.1.5
SCREENSHOT INCLUDESVARIABLES.XML FILE VERSION 1.0.3.4