2015-01-06, 16:34
Since i had no script's errors i thought that it was not necessary. Sorry, here is my debug log...
http://pastebin.com/WVy40ikc
I was wrong in my previous message. The open YouTube addon behavior is when using a static content with this onclick action...
When using the <content>plugin:// fill method like bellow i get an script error...
Cheers
Nessus
http://pastebin.com/WVy40ikc
I was wrong in my previous message. The open YouTube addon behavior is when using a static content with this onclick action...
PHP Code:
<onclick>ActivateWindow(videos,$INFO[Window(Home).Property(InCinemasMovies.1.Title),plugin://plugin.video.youtube/?feed=search&path=%2froot%2fsearch&search=, trailer],return)</onclick>
When using the <content>plugin:// fill method like bellow i get an script error...
PHP Code:
<content>plugin://script.extendedinfo?info=youtubeusersearch&&id=$VAR[RSSVideoFeedURL]</content>
PHP Code:
<variable name="RSSVideoFeedURL">
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),Euronews)">Euronews</value>
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),BBC News)">bbcnews</value>
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),Vice)">vice</value>
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),TMZ)">TMZ</value>
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),The Ellen Show)">TheEllenShow</value>
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),TEDx Talks)">TEDxTalks</value>
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),VH1)">VH1</value>
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),VEVO)">vevo</value>
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),Comedy Central)">comedycentral</value>
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),Funny Or Die)">FunnyorDie</value>
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),GameTrailers)">gametrailers</value>
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),NBA)">NBA</value>
<value condition="stringcompare(Skin.String(RSSVideoFeedURL),Custom)">$INFO[Skin.String(SearchStringURL)]</value>
</variable>
Cheers
Nessus