Kodi Community Forum
preplaying hook - 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)
+--- Thread: preplaying hook (/showthread.php?tid=49952)



preplaying hook - DuШes - 2009-04-29

hi all
pls advise me how can i do the following:
in my skin i need to run python script before the song playing, as example, show the confirmation dialog or execute log operation? is it possible?

thx you


up - DuШes - 2009-05-04

ps: i need to run python script before song playing in the library mode.

i was trying to update the path table in the mymusic7.db and set strPath field value to plugin://mymusic/...myscript.py but occurred nothing and in xbmc.log file i did not see the myscript invocations...

pps: is other way to redirect music library mode to python script execution?