funjack / launchcontrol

Launchcontrol is a server that can control/playback scripts on a Launch
BSD 3-Clause "New" or "Revised" License
22 stars 3 forks source link

Launchcontrol Kodi Integration - DLNA/UPNP possible? #25

Open jumpa22 opened 5 years ago

jumpa22 commented 5 years ago

Heya, I notice that the Kodi integration only seems to work when a video is played direct on Kodi, it doesnt seem to also work when a video is played via Kodi through DLNA/UPNP. Is it something that is impossible due to the coding of Kodi? Or is there some kind of config I can edit to allow it to also trigger from a UPNP request?

funjack commented 5 years ago

Good question. No there is no config for this. The kodi plugin uses xbmcvfs under the hood to read the funscript file based on the name of the video filename in the internal video player. So if Kodi can read the video (as a file), it can read the funscript file. I know this works for smb, nfs, http, etc. but never seen or tested it with DLNA/UPnP.

I would have to take a look to see if it's just a small stupid thing with a quick fix. (eg filenames don't match due to DLNA renaming stuff.)

jumpa22 commented 5 years ago

Its actually to try to get it working via Pigasus on a Gear VR. All the current apps seem to only support things that work via the normal Oculus etc connected to a Windows machine. If it were to work via Kodis DLNA service that would be ideal. If the plugins only allow use with the internal Kodi player though it may not be possible.