Áreas do Fórum estão disponíveis apenas para membros com registro, cadastre-se ou logue para ter acesso. Forum areas are only available to registered members, register, or log in to gain access.
We move our host, if you have issues registering or logging in to our forum, please report the issue to admin@mediabrasil.tv, thanks. It,s possible to register using a social network (Google, Amazon, Github, or Spotify.) Only need to choose Login with (network name).
Contribua e torne-se membro VIP Plus do Fórum MediaBrasil.tv. International members, donate one single time (U$ 20.00) or subscribe and receive access to unique content, including Aeon MQ 9 (Kodi Omega 21.0, Nexus 20.0, and Matrix 19.5 read our FAQ for more info about how to support us. Help us keep the forum operational.

Doe via pagseguro ou mercado pago (Brazil only) - Doe via Bancos Brasileiros - International Donation - FAQ About Donation

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Problem InfoLabel "ListItem.Tag" not working
#1
Smiley Sad 

Hello! Please be patient i'm german native speaker, english not the best. Also i'm reading lot in kodi brazil forum but usually not a forum poster.
I'm no coder, have no experience with anything, all i do is lots of hours try and error prinzip cause i'm huge fan of kodi.

I want to show movies with "Academy Award Best Picture" is showing an Oscar Statue Picture.
The Movies are tagged "award", the award.png Picture path is set, Code in the "Skin View.xml" is also set.

I tried all variations of the code line "<visible></visible>" (String conditions, brackets, spelling... tried all)
Definitely sure that this line is the only problem, in all variations i tried there are 2 resustls:
1) The award.png is shown i every Movie
2) The award.png is shown i no Movie

But the goal is to show the award.png only in tagged movies "award".
In the kodi developers guide under InfoLabels there is definitely a description that kodi Tags could be used as InfoLabel and could also set under a "visible" condition:-> "ListItem.Tag:Will return the name of the 'tag' this movie is part of."
But nothing works, please Help.

My Actual Code is:

<control type="image">
                    <left>250</left>
                    <top>595</top>
                    <width>450</width>
                    <height>230</height>
                    <height>500</height>
                    <include>FlagImage</include>
                    <texture>C:\Users\chris\AppData\Roaming\Kodi\media\resources\award.png</texture>
                    <visible>!String.Contains(Window(Home).Property(SkinHelper.ListItemTags),Award)</visible>
                    </control>
Reply


Messages In This Thread
Problem InfoLabel "ListItem.Tag" not working - by chrissix - 08/12/2017, 16:28
RE: Problem InfoLabel "ListItem.Tag" not working - by Wanilton - 08/12/2017, 19:34
RE: Problem InfoLabel "ListItem.Tag" not working - by chrissix - 08/12/2017, 21:50
RE: Problem InfoLabel "ListItem.Tag" not working - by Wanilton - 08/12/2017, 22:13



Users browsing this thread: 1 Guest(s)