Welcome to Media Brazil Forum, Bem-vindo ao Media Brasil Fórum, comunidade brasileira de suporte aos usuários do Kodi™ Entertainment Center. Doe ou subscreva e torne-se membro VIP Plus. Você sabia: Leia e Matrix Custom Plus, são instaladores personalizados para o sistema operacional Windows, baseado na tecnologia da Fundação XBMC®, das versões mais recentes do KODI Leia - 18.5 (32 e 64 bits) e Kodi Matrix - 19.0, com skin Aeon MQ 8 como default, suporta 3D MVC e HDR (8 e 10 bit), disponíveis para membros vips plus do fórum. KODI® está disponível para download de forma gratuita, tanto em nosso fórum, como na página oficial da fundação XBMC®. KODI™ is a trademark of the XBMC Foundation®. Não fornecemos conteúdos de qualquer natureza. que firam direitos de terceiros. MediaBrasil.tv Forum does not provide any media files itself. You either must own all audio and video files through a legal way or you can use the add-ons that can be found in the kodi.tv official repository. We will not assist or be held responsible for any way you obtain your media files.


Avaliação do Tópico:
  • 0 Voto(s) - 0 em Média
  • 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>
Responder
#2
I think is more easy use smartplaylist, and create one new category in main menu, only with oscar items, based in our tags, will work great, after use features customize main menu for choice your background item.

isto fiz já tem um tempo, mas é uma solução

[Imagem: ucRJnUh.jpg]

Nova tag, nomeie como OSCAR, vai abrir uma lista com os seus filmes que estejam em modo coleção, selecione os filmes que ganharam o Oscar, e de um OK (seta para direita seguido de enter). Sim é um processo manual de seleção...

[Imagem: kkuu5bB.jpg]

[Imagem: EWaaMn9.jpg]

[Imagem: HtQ4eYa.jpg]

Tags funciona como campo extra que podes usar para filtrar conteúdos, o próximo passo após criar sua tag, é usar o editor de smartplaylist como na imagem abaixo

[Imagem: VPpl9Gs.jpg]

Agora basta ir na customização do menu principal, e usar o smarplaylist criando item no menu principal...

[Imagem: CRqY6h2.jpg]

Resultado final

[Imagem: xvbTJPg.png]

[Imagem: hTSjWCZ.jpg]

Para adicionar novos itens ou mesmo remover, vá no item Oscar no menu principal, submenu Tags de um enter

[Imagem: C1j80sn.jpg]

Ative o Menu de Contexto no item OSCAR, isto se faz pressionando letra C sobre o item Oscar, clique em Gerenciar, que vai encontrar Opção Adicionar ou Remover Filmes..
Apoie o projeto MEDIA Brasil. Faça uma doação ou assine e torne-se Vip - Tenha acesso aos recursos exclusivos das versões customizadas + acesso área vip do fórum.  
Support the Media Brazil project. Make a donation or subscribe and become VIP - Access the exclusive features of the custom versions + access the VIP area of the forum.
Request more info via chat or private message.

Please do not PM me for support; use the forum instead

Wanilton
Media Brazil Forum Staff
KODI 19.0 Matrix Custom / Skin Aeon MQ9 x Skin Ace 2-1.6.0
Be Vip, donate and support us.
[-] 1 membro agradeceu/agradeceram ao Wanilton, por este post:
  • chrissix
Responder
#3
My intention is not functionality or useability, its more a "Design" and "Lookalike" thing for me!

It should be more an upgrade to Highlight the movies in my IMDB Top 250 View.

My Favourite View is RightList. That view is sooo indescribable nice so i decided to go in the .xml and spending lot of time to modify, fix and tweak some small things:
(I have no experience with coding, programming, script language, all o do is trial and error)

1) In the plot text the last line was cut off in a half.
2) For over 1000 000 Votes there was too less space that the votes was always in motion only by over 1000 000 votes.
3) Made the ClearArt and Logos a lot bigger.
4) I was missing a Flag to display the ImdbTop250 and added a code.
    The inner surface of the Top250.png was transparent white, so when the fanart was bright, i was difficult to read
    Modified the Top250.png inner Surface to 50% Transparent black and now look really nice!

Now the ImdbTop 250 are "graphical"  highlighted and now as an final additional upgrade want to highlight the Movies with best Picture in a graphical Way!

Have you a solution for my broken code line: "<visible>!String.Contains(Window(Home).Property(SkinHelper.ListItemTags),Award)</visible>"

My post was originally a lot of longer and huger, but clicked on a thing and all Text was gone. I'm a huge Fan of your work Wanilton and your Skin!
Spent a lot of time to know how your Skin is working and still much i dont understand! I have so much feedback, questions and requests...

Have to admit to date i spend no money to your great work! im just anoter poor college student of movie science...

The following Picture is a Screenshot of how it should approximately lookalike. And i know "design flavours" are difference^^

Have you a suggestion for the broken code line? "<visible></visible>"

[Imagem: sXcJ9sY.jpg]

Can you sent me a Adress for a Bitcoin Wallet?
Responder
#4
Here

https://wanilton.bitcoinwallet.com/

1NfWmHduEFjoHPRFLzuNX32k4cmCswmZqr

[Imagem: generate_qrcode.php?q=1NfWmHduEFjoHPRFLz...4cmCswmZqr]
Apoie o projeto MEDIA Brasil. Faça uma doação ou assine e torne-se Vip - Tenha acesso aos recursos exclusivos das versões customizadas + acesso área vip do fórum.  
Support the Media Brazil project. Make a donation or subscribe and become VIP - Access the exclusive features of the custom versions + access the VIP area of the forum.
Request more info via chat or private message.

Please do not PM me for support; use the forum instead

Wanilton
Media Brazil Forum Staff
KODI 19.0 Matrix Custom / Skin Aeon MQ9 x Skin Ace 2-1.6.0
Be Vip, donate and support us.
[-] 1 membro agradeceu/agradeceram ao Wanilton, por este post:
  • chrissix
Responder




Usuários visualizando este tópico: 1 Visitante(s)
Kodi Site | Kodi Forum | Kodi Wiki | Kodi Trac System | Kodi Downloads

MEDIA Brazil is not connected to or in any other way affiliated with KODI®, Team KODI®, or the XBMC Foundation®. Furthermore, any software, addons, or products offered by MEDIA Brazil Forum will receive no support in official KODI® channels, including the KODI forums and various social networks.
MEDIA Brasil não está conectado de nenhuma maneira com KODI®, nem com o Time de desenvolvedores do KODI®, ou mesmo com XBMC Foundation®. Além disto, qualquer programa, addons, ou produtos fornecidos pelo MEDIA Brasil, não irá receber suporte nos canais oficiais do KODI, incluindo fórum Kodi.tv e redes sociais.
LiveZilla Live Chat Software