2017-10-09, 19:41
It does not work, in order to support reading from extrafanart folders you must point to the directory directly. This is from the first implementation of extrafanart folders from years back. Later on some scrappers support pulling images directly into the database but such a feature is not supported for anime. The only way to have extrafanart for that is to add it yourself.
There is also a problem with the Image_Background when used at the episode level. Because the method uses ListItem.Art(fanart) it returns "Returns the fanart image of the currently selected item", as a result if you select the back button in the episode view it will not load the correct image (I assume it will load the fall back image in this case if configured). To correct this the variable Fanart.Image must be used in it's place as that will load " Fanart image for the parent TV Show ". When using Fanart.Image instead of Image_Background the content loads as expected. I can modify Image_Background (adding at line 170) to have the following line added for compatibility if you want:
<value condition="Control.IsVisible(513)">$INFO[Fanart.Image]</value>
I just wanted to avoid modifying any stock includes unless explicitly told to do so.
Unfortunately, it is impossible for me to test any other way of loading extrafanart images. From what I see many of those fanart download mods that auto download content are able to place it or do place the files in an extrafanart folder at the local directory of the media if configured to do so. This is the only implementation of extra fan art I can support. If users do not have this folder it will not effect the skin, they will just get one image in this display mode instead of multiple ones.
If someone wants to add a control to support another way of loading extrafan art they can once I post the final code up; unfortunately it is irresponsible for me to try to add code for something that I can not test and verify works.
There is also a problem with the Image_Background when used at the episode level. Because the method uses ListItem.Art(fanart) it returns "Returns the fanart image of the currently selected item", as a result if you select the back button in the episode view it will not load the correct image (I assume it will load the fall back image in this case if configured). To correct this the variable Fanart.Image must be used in it's place as that will load " Fanart image for the parent TV Show ". When using Fanart.Image instead of Image_Background the content loads as expected. I can modify Image_Background (adding at line 170) to have the following line added for compatibility if you want:
<value condition="Control.IsVisible(513)">$INFO[Fanart.Image]</value>
I just wanted to avoid modifying any stock includes unless explicitly told to do so.
Unfortunately, it is impossible for me to test any other way of loading extrafanart images. From what I see many of those fanart download mods that auto download content are able to place it or do place the files in an extrafanart folder at the local directory of the media if configured to do so. This is the only implementation of extra fan art I can support. If users do not have this folder it will not effect the skin, they will just get one image in this display mode instead of multiple ones.
If someone wants to add a control to support another way of loading extrafan art they can once I post the final code up; unfortunately it is irresponsible for me to try to add code for something that I can not test and verify works.