Kodi Community Forum
Release script.extendedinfo - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: Release script.extendedinfo (/showthread.php?tid=160558)



RE: script.extendedinfo - phil65 - 2015-06-18

ok, that´s too ugly, you won Wink
https://github.com/phil65/script.extendedinfo/commit/ce2757bf22ce4eb7de1f4a7b4e0d38e699b0caa8


RE: script.extendedinfo - jurialmunkey - 2015-06-18

Big Grin


RE: script.extendedinfo - jurialmunkey - 2015-06-18

Now for some bugs Wink

Get lots of duplicate entries for some things. This is for a list filled with info=directormovies but it happens randomly in other lists too. Tried deleting extendedinfo cache but still occurs, also manually deleted addon_data extendedinfo folder.

Debug: http://pastebin.com/cDV17T8d

Image


RE: script.extendedinfo - phil65 - 2015-06-18

hmm that´s weird. could you check if the downloaded data is correct?
(you can find it in log, Christopher Nolan for example is /home/mergeandvary/.kodi/userdata/addon_data/script.extendedinfo/TheMovieDB/a5d6fd1ae8e85d34b484cc0f50d9cde8.txt )
Also, does it happen in all lists? I never experienced such behaviour up to now.


RE: script.extendedinfo - phil65 - 2015-06-18

hmm can replicate with your skin (only with directormovies for now), will see what I can find out.
Is there something special you did with that list? (some special vis condition, animation, whatever...)


RE: script.extendedinfo - phil65 - 2015-06-18

...ok, found the problem. For that special call the API returns the same movie several times in case the person has several roles ("Writing", "Directing" etc., you can check by displaying Listitem.property(department) ) I will probably merge those into one then.


RE: script.extendedinfo - phil65 - 2015-06-18

Fixed.


RE: script.extendedinfo - jurialmunkey - 2015-06-18

(2015-06-18, 05:20)phil65 Wrote: hmm can replicate with your skin (only with directormovies for now)
...
Fixed.
Yeah I think it was just directormovies, so all working fine now afaik.


RE: script.extendedinfo - jurialmunkey - 2015-06-19

I'm getting crashes when trying to play a youtube video from info=youtubesearch - playing youtube from extendedinfo dialog works, but not from info=youtubesearch

http://pastebin.com/xm2C4zv9

I call it at 15:29:28


RE: script.extendedinfo - phil65 - 2015-06-19

(2015-06-19, 07:36)jurialmunkey Wrote: I'm getting crashes when trying to play a youtube video from info=youtubesearch - playing youtube from extendedinfo dialog works, but not from info=youtubesearch

http://pastebin.com/xm2C4zv9

I call it at 15:29:28

should be fixed in Isengard. You're using 14.2 RC1?


RE: script.extendedinfo - jurialmunkey - 2015-06-19

(2015-06-19, 13:24)phil65 Wrote:
(2015-06-19, 07:36)jurialmunkey Wrote: I'm getting crashes when trying to play a youtube video from info=youtubesearch - playing youtube from extendedinfo dialog works, but not from info=youtubesearch

http://pastebin.com/xm2C4zv9

I call it at 15:29:28

should be fixed in Isengard. You're using 14.2 RC1?
Cheers Smile

It shows as RC because I compiled from source.


RE: script.extendedinfo - phil65 - 2015-06-19

should now work in Helix, too. (untested)
https://github.com/phil65/script.extendedinfo/commit/5b917d2f2793259514137f6f5b68a668fdf86148


RE: script.extendedinfo - Spider_mp3 - 2015-06-19

Hi

is it possible to assign a keyboard shortcut (by editing keyboard.xml) to call extendedinfo script? What I'm trying to accomplish is, when browsing through a movie list, press a key and open extendedinfo view showing info about the movie in focus.

I have tried the following commands in keyboard.xml with no success:

<a>RunScript(script.extendedinfo,info=extendedinfo,name=$INFO[ListItem.Title])</a>

<a>RunScript(script.extendedinfo,info=extendedinfo,dbid=$INFO[ListItem.DBID])</a>


On pressing the "a" key extendedinfo script is called, but following error message is displayed: "Could not find item at MovieDB". I suspect it’s a sintax issue.

Any ideas?

Thanks,
Spider


RE: script.extendedinfo - phil65 - 2015-06-19

take a look at debug log. I am not sure if $INFO[] stuff gets translated in keymaps.
you know about the context menu add-on for Isengard, right? Perhaps thats sufficient already.


RE: script.extendedinfo - Spider_mp3 - 2015-06-19

Hello phil65,

thanks for your fast aswer.

Yes, I know that I can call extendedinfo via context menu. The problem is, you have to press the "c" key, the "down" key a couple of times and then the "enter" key. It would be more confortable having to press just the "a' key.

Here an excerpt of the log file:

18:32:22 T:7948 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "F:\Programs\Kodi15 Custom\addons\script.extendedinfo\resources\lib\DialogVideoInfo.py", line 106, in onInit
HOME.setProperty("movie.ImageColor", self.data["general"]["ImageColor"])
TypeError: 'NoneType' object has no attribute '__getitem__'
-->End of Python script error report<--
18:32:22 T:7948 NOTICE: finished

I'm afraid your right, probably it's not possible to use INFO$[] labels in keyboard.xml.

Do you know any workarounds?

Regards,
Spider