How to access Movie/TVShow tags from skin
#1
Hello all,

I want to show Movie/TVShow tags (content of tag and taglinks DB tables) in my modded skin but can't find Listitem for it. Can someone give me any hint?

Thanks
Reply
#2
Hello,

Did you mean Home menue etries?

My Solution ist a Button in the context menue like:

<control type="button" id="1117">
<visible>SubString(Container.FolderPath,videodb://2/9//)</visible>
<onclick>Skin.Reset(Serientag1)</onclick>
<onclick>Skin.SetString(Serientag1,$INFO[ListItem.FolderPath])</onclick>
</control>

to select a TVShow tag

and a Main menue Button with
<onclick>ActivateWindow(10025,&quot;$INFO[Skin.String(Serientag1)]&quotWink</onclick>
Reply
#3
I only guess that your code is used for selecting and saving some concrete tag (path to tag in library) and then directly access it from home menu, but it isn't what I'm trying to accomplish. I simply want to show assigned tags in same way like I have genres in TV Show navigation and Info dialog. Something like:

TVShow name
Genre1 / Genre2 / Genre3
Tag1 / Tag2 / Tag3

Additionally I would like to slightly modify skin functionality based on assigned tag(s), so I want use them in conditions.
Anyway, thanks for help.
Reply
#4
So I temporary solved my problem with Python script, over JSONRPC tags are available for TVShows.
Anyway I consider tags to be on same level as other Video library nodes (like Genres, Studios, Directors, Years, etc.) which all have InfoLabel. So I guess I'll create Feature request for adding Wink

Btw. can some skilled skinner give me hint if it's possible to call script at the moment when TVShow is selected and Episodes are shown? Onload on MyVideoNav.xml doesn't work because, I guess, it's loaded only once. Currently I have script call in onfocus on hidden button in focusedlayout group, but it is called for each item during list traversal, so possible performance problem.
Reply

Logout Mark Read Team Forum Stats Members Help
How to access Movie/TVShow tags from skin0