Kodi Community Forum

Full Version: Addons and Library
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Since there are several addons like youtube, clipfish etc. etc. handling their stuff the same way the kodi library does, there is no way to separate them.

Example:

I have an overlay and TV Show Poster that should only be visible for example for TVShows, so i have:

1.

PHP Code:
<control type="image">
.........
.........
.........
.........
<
visible>Container.Content(TVShows) + !Container.Content(Addons)</visible>
</
control

and

2.

PHP Code:
<control type="image">
<
texture>$INFO[Container(51).ListItem.Art(tvshow.poster)]</texture>
.........
.........
.........
<
visible>Container.Content(TVShows) + !Container.Content(Addons)</visible>
</
control

Now i enter an addon for ex. clipfish. This addon has clips tagged as TVShows and here comes the problem. There is no way to show me my overlay only for tvshows and not for addons.
Same for tvshow.poster. It's showing me the clip thumb and it looks bad because the tvshow.poster's set to stretch:

Image

Is there a suggestion telling all the addon creators outthere to handle stuff the same way? Youtube for ex. uses clips tagged as Episodes, other addons are tagged as Files.
I really think this is a big mess, else i'm missing something obviously.

TV Shows (Library) works as as expected:

Image

Thanx
How can we fix the image size problem with addons?

For fTV I used
PHP Code:
IsEmpty(Container.PluginName
in all the 'proper' views.
Thanx Hitcher, your suggestion seems to be the only way and it works perfectly.

Cheers
Code:
SubString(ListItem.path,plugin://,left)

shuld work to if i get it right

Regards.