Kodi Community Forum

Full Version: script.extendedinfo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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...
PHP Code:
<onclick>ActivateWindow(videos,$INFO[Window(Home).Property(InCinemasMovies.1.Title),plugin://plugin.video.youtube/?feed=search&amp;path=%2froot%2fsearch&amp;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&amp;&amp;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
you need to have youtube-dl module installed.
My setup is a fresh Helix. Is that supposed to be installed automatically along with the YouTube addon ?
(2015-01-06, 16:44)nessus Wrote: [ -> ]My setup is a fresh Helix. Is that supposed to be installed automatically along with the YouTube addon ?

should install automatically when installing extendedinfo from zip. (see dependencies in addon.xml)
I dont use the youtube plugin anymore because it is very buggy when it comes to skin integration.
Aha. Well, since i always pull the extendedinfo script from Github i suppose that's why
I will check it out.

Cheers
Nessus

(2015-01-06, 16:45)phil65 Wrote: [ -> ]I dont use the youtube plugin anymore because it is very buggy when it comes to skin integration.
And what about the onclick action with the <content>plugin:// method ?
(2015-01-06, 16:47)nessus Wrote: [ -> ]Aha. Well, since i always pull the extendedinfo script from Github i suppose that's why
I will check it out.

Cheers
Nessus

(2015-01-06, 16:45)phil65 Wrote: [ -> ]I dont use the youtube plugin anymore because it is very buggy when it comes to skin integration.
And what about the onclick action with the <content>plugin:// method ?

the onclick action for movies by default is playing the trailer, but can be changed to show the infodialog in extendedinfo settings.
(2015-01-06, 16:51)phil65 Wrote: [ -> ]the onclick action for movies by default is playing the trailer, but can be changed to show the infodialog in extendedinfo settings.
I get an error with the onclick action when using this...
PHP Code:
<content>plugin://script.extendedinfo?info=incinemas</content> 

Debug log: http://pastebin.com/AvV92Va8
you´re still missing ruuk ´s youtube-dl add-on. Wink
http://forum.kodi.tv/showthread.php?tid=200877
Ah crap... sorry !. It's working now.

About the YouTube addon, there is no way to open a window with YouTube videos anymore with an onclick action like this ?...
PHP Code:
<onclick>ActivateWindow(videos,$INFO[Window(Home).Property(InCinemasMovies.1.Title),plugin://plugin.video.youtube/?feed=search&amp;path=%2froot%2fsearch&amp;search=, SOME-TEXT-STRING],return)</onclick> 
(2015-01-06, 17:12)nessus Wrote: [ -> ]Ah crap... sorry !. It's working now.

About the YouTube addon, there is no way to open a window with YouTube videos anymore with an onclick action like this ?...
PHP Code:
<onclick>ActivateWindow(videos,$INFO[Window(Home).Property(InCinemasMovies.1.Title),plugin://plugin.video.youtube/?feed=search&amp;path=%2froot%2fsearch&amp;search=, SOME-TEXT-STRING],return)</onclick> 

if you use the properties method then you can do whatever you want with the onclicks. I have nothing to do with it in that case.
I understand. This is has to do with the YouTube Addon.
Something has changed in the addon's behavior lately. Will check there.

Cheers
Nessus
lookin at your onclick again, it includes one parameter which should probably not be there (?)
$INFO[Window(Home).Property(InCinemasMovies.1.Title)]

EDIT: oops, you use $INFO[,prefix]. Forget my comment. Smile
hi guys,
i don't have any bio in the addon on Helix anymore,
but only relative movies on my library ?
many thanks
I'm getting an error with the script when starting kodi (Helix). I've installed the latest version of extendedinfo & script.module.youtube.dl & even the buggalo script to try & get the stack trace & relevent info in order to try & make diagnosing the issue easier.

Code:
21:24:41 T:2700  NOTICE: -->Python Interpreter Initialized<--
21:24:42 T:2700  NOTICE: version 1.9.0 started
21:24:43 T:2700   ERROR: Traceback (most recent call last):
21:24:43 T:2700   ERROR:   File "C:\Users\craig\AppData\Roaming\Kodi\addons\script.extendedinfo\default.py", line 27, in __init__
21:24:43 T:2700   ERROR:     self.control = StartInfoActions(self.infos, self.params)
21:24:43 T:2700   ERROR:   File "C:\Users\craig\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\process.py", line 245, in StartInfoActions
21:24:43 T:2700   ERROR:     data = GetYoutubeVideos(params["feed"]), "RSS"
21:24:43 T:2700   ERROR:   File "C:\Users\craig\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\YouTube.py", line 28, in GetYoutubeVideos
21:24:43 T:2700   ERROR:     for item in results["feed"]["entry"]:
21:24:43 T:2700   ERROR: KeyError: 'feed'
21:24:45 T:2212  NOTICE: Thread JobWorker start, auto delete: true
21:24:45 T:2212   ERROR: XFILE::CDirectory::GetDirectory - Error getting include
21:24:47 T:1588   ERROR: Previous line repeats 1 times.
21:24:47 T:1588  NOTICE: Thread RSSReader start, auto delete: false
21:24:47 T:3796  NOTICE: Thread LanguageInvoker start, auto delete: false
21:24:48 T:3796  NOTICE: -->Python Interpreter Initialized<--
21:24:48 T:4204  NOTICE: Service: 39482 actors took 7.580999851226807
21:25:03 T:2700   ERROR: Traceback (most recent call last):
21:25:03 T:2700   ERROR:   File "C:\Users\craig\AppData\Roaming\Kodi\addons\script.module.buggalo\lib\buggalo_gui.py", line 106, in onClick
21:25:03 T:2700   ERROR:     client.emailData(self.gmailRecipient, self.data)
21:25:03 T:2700   ERROR:   File "C:\Users\craig\AppData\Roaming\Kodi\addons\script.module.buggalo\lib\buggalo_client.py", line 172, in emailData
21:25:03 T:2700   ERROR:     smtp.sendmail(msg['From'], msg['To'], msg.as_string(9))
21:25:03 T:2700   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\smtplib.py", line 738, in sendmail
21:25:03 T:2700   ERROR:     self.rset()
21:25:03 T:2700   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\smtplib.py", line 462, in rset
21:25:03 T:2700   ERROR:     return self.docmd("rset")
21:25:03 T:2700   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\smtplib.py", line 387, in docmd
21:25:03 T:2700   ERROR:     return self.getreply()
21:25:03 T:2700   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\smtplib.py", line 363, in getreply
21:25:03 T:2700   ERROR:     raise SMTPServerDisconnected("Connection unexpectedly closed")
21:25:03 T:2700   ERROR: SMTPServerDisconnected: Connection unexpectedly closed
21:25:05 T:2700  NOTICE: finished
(2015-01-07, 23:32)craigey1 Wrote: [ -> ]I'm getting an error with the script when starting kodi (Helix). I've installed the latest version of extendedinfo & script.module.youtube.dl & even the buggalo script to try & get the stack trace & relevent info in order to try & make diagnosing the issue easier.

Code:
21:24:41 T:2700  NOTICE: -->Python Interpreter Initialized<--
21:24:42 T:2700  NOTICE: version 1.9.0 started
21:24:43 T:2700   ERROR: Traceback (most recent call last):
21:24:43 T:2700   ERROR:   File "C:\Users\craig\AppData\Roaming\Kodi\addons\script.extendedinfo\default.py", line 27, in __init__
21:24:43 T:2700   ERROR:     self.control = StartInfoActions(self.infos, self.params)
21:24:43 T:2700   ERROR:   File "C:\Users\craig\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\process.py", line 245, in StartInfoActions
21:24:43 T:2700   ERROR:     data = GetYoutubeVideos(params["feed"]), "RSS"
21:24:43 T:2700   ERROR:   File "C:\Users\craig\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\YouTube.py", line 28, in GetYoutubeVideos
21:24:43 T:2700   ERROR:     for item in results["feed"]["entry"]:
21:24:43 T:2700   ERROR: KeyError: 'feed'
21:24:45 T:2212  NOTICE: Thread JobWorker start, auto delete: true
21:24:45 T:2212   ERROR: XFILE::CDirectory::GetDirectory - Error getting include
21:24:47 T:1588   ERROR: Previous line repeats 1 times.
21:24:47 T:1588  NOTICE: Thread RSSReader start, auto delete: false
21:24:47 T:3796  NOTICE: Thread LanguageInvoker start, auto delete: false
21:24:48 T:3796  NOTICE: -->Python Interpreter Initialized<--
21:24:48 T:4204  NOTICE: Service: 39482 actors took 7.580999851226807
21:25:03 T:2700   ERROR: Traceback (most recent call last):
21:25:03 T:2700   ERROR:   File "C:\Users\craig\AppData\Roaming\Kodi\addons\script.module.buggalo\lib\buggalo_gui.py", line 106, in onClick
21:25:03 T:2700   ERROR:     client.emailData(self.gmailRecipient, self.data)
21:25:03 T:2700   ERROR:   File "C:\Users\craig\AppData\Roaming\Kodi\addons\script.module.buggalo\lib\buggalo_client.py", line 172, in emailData
21:25:03 T:2700   ERROR:     smtp.sendmail(msg['From'], msg['To'], msg.as_string(9))
21:25:03 T:2700   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\smtplib.py", line 738, in sendmail
21:25:03 T:2700   ERROR:     self.rset()
21:25:03 T:2700   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\smtplib.py", line 462, in rset
21:25:03 T:2700   ERROR:     return self.docmd("rset")
21:25:03 T:2700   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\smtplib.py", line 387, in docmd
21:25:03 T:2700   ERROR:     return self.getreply()
21:25:03 T:2700   ERROR:   File "C:\Program Files (x86)\Kodi\system\python\Lib\smtplib.py", line 363, in getreply
21:25:03 T:2700   ERROR:     raise SMTPServerDisconnected("Connection unexpectedly closed")
21:25:03 T:2700   ERROR: SMTPServerDisconnected: Connection unexpectedly closed
21:25:05 T:2700  NOTICE: finished
probably outdated skin.