2015-08-27, 16:08
(2015-08-27, 15:34)Luis Gil Wrote: Hi,
I was unable to find a solution to my problem, although many people are having more or less the same problem
I am trying to play a youtube playlist on a menu item
inside the plugin i can see the playlist, and i am able to play the videos
but in a menu item it doesn't seem to work
menu action isQuote:<action>ActivateWindow(10025,"plugin://plugin.video.youtube/play/?playlist_id=PLyBYyGadJ-vMdx47gREZ6FUx67mq_jgPq",return)</action>
on activating this action the LOG says:
Quote:14:19:30 T:2640 DEBUG: [plugin.video.youtube] Shutdown of Kodion
14:19:30 T:2640 INFO: CPythonInvoker(5, C:\Users\luis-\AppData\Roaming\Kodi\addons\plugin.video.youtube-master\default.py): script successfully run
14:19:30 T:2640 INFO: Python script stopped
14:19:30 T:2640 DEBUG: Thread LanguageInvoker 2640 terminating
14:19:31 T:6656 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
14:19:31 T:6656 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/play/?playlist_id=PLyBYyGadJ-vMdx47gREZ6FUx67mq_jgPq
14:19:31 T:6656 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/play/?playlist_id=PLyBYyGadJ-vMdx47gREZ6FUx67mq_jgPq) failed
14:19:31 T:6656 DEBUG: CGUIMediaWindow::GetDirectory ()
14:19:31 T:6656 DEBUG: ParentPath = [plugin://plugin.video.youtube/play/?playlist_id=PLyBYyGadJ-vMdx47gREZ6FUx67mq_jgPq]
14:19:31 T:6184 NOTICE: Thread BackgroundLoader start, auto delete: false
14:19:31 T:6184 DEBUG: Thread BackgroundLoader 6184 terminating
14:19:31 T:1252 DEBUG: CTextureCacheJob::GetImageHash - unable to stat url
I had to ask one of the KODI Member I'v no skills in skinning
You should use RunPlugin instead of ActivateWindow and maybe...you don't need the quotations.