2021-11-09, 15:36
Any way of knowing if a video was launched from Kodi's web server?
*updated by moderator*
*updated by moderator*
(2021-11-09, 15:45)Klojum Wrote: @SEIKT Unless you can fill us in with sufficient details, there is no such thing as a "Kodi server".
Kodi can partially do UPnP/DLNA functionality or have SMB file sharing in LibreELEC, but other than that, I have no clue how you have Kodi serving you stuff.
(2021-11-10, 03:35)Klojum Wrote: It's still not clear to me... If you are using a web interface to handle Kodi, who else or what else is supposed to know that a file is launched via http?
(2021-11-13, 09:37)Roman_V_M Wrote: Still your use case is not clear. Do I understand correctly: you have some list item selected in Kodi GUI then start playback using the web-UI (essentially JSON-RPC API) and want to know if the item being played is different from the one that is currently selected in the GUI? If you can intercept playback event then you can compare the item being played with the item currently selected, for example item's path.Exactly, but the comparison needs to take place prior to playback.