Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1803

How to give exact parameter label for youtube search?

$
0
0
Hello

I am using movie/tv show trailer playing using youtube plugin as below (with my youtube API key)


    <variable name="ContentVideoYoutube">
        <value condition="String.IsEqual(Window.Property(videoyoutube),1)">plugin://plugin.video.youtube/search/?q=$INFO[ListItem.Label]</value>
    </variable>

with this, I can find an almost matched movie video that has found from youtube but sometimes it does not matched exactly. So, I will give some additional label as like this


    <variable name="ContentVideoYoutube">
        <value condition="String.IsEqual(Window.Property(videoyoutube),1)">plugin://plugin.video.youtube/search/?q=$INFO[ListItem.Label]+trailer</value>
    </variable>
 

However, it does not find what I am want. It looks search query "or" condition not "and".
I am looking for "and" conditions for the query.

Viewing all articles
Browse latest Browse all 1803

Trending Articles