2016-01-06, 12:18
Hello phil65. I have done so and it is working. Thanks!
<onclick>PlayMedia($INFO[Container(510).ListItem.Trailer],1)</onclick>
22:23:23 T:3284 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: global name 'get_trailer' is not defined
Traceback (most recent call last):
File "C:\Users\Lenovo\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 91, in <module>
Main()
File "C:\Users\Lenovo\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 21, in __init__
start_info_actions(self.infos, self.params)
File "C:\Users\Lenovo\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\process.py", line 512, in start_info_actions
trailer = get_trailer(movie_id)
NameError: global name 'get_trailer' is not defined
-->End of Python script error report<--
22:23:23 T:3616 ERROR: PlayMedia could not play media: plugin://script.extendedinfo/?info=playtrailer&&dbid=41
(2016-01-13, 03:27)phil65 Wrote: Small heads up @ skinners: Since I have to clean up all my old crappy code, some stuff gets shifted around in the process. For Jarvis+, please use my new "plugin.program.autocompletion" (listed in "programs" category) for the AutoCompletion stuff instead of ExtendedInfo.
plugin://plugin.program.autocompletion?info=autocomplete&&id=$INFO[Control.GetLabel(312).index(1)]&&limit=9
It´s available on our official repo.
I will remove AutoCompletion functionality from ExtendedInfo for next release.
Thx!
(2016-01-13, 03:27)phil65 Wrote: Small heads up @ skinners: Since I have to clean up all my old crappy code, some stuff gets shifted around in the process. For Jarvis+, please use my new "plugin.program.autocompletion" (listed in "programs" category) for the AutoCompletion stuff instead of ExtendedInfo.
plugin://plugin.program.autocompletion?info=autocomplete&&id=$INFO[Control.GetLabel(312).index(1)]&&limit=9
It´s available on our official repo.
I will remove AutoCompletion functionality from ExtendedInfo for next release.
Thx!