2019-05-25, 12:00
(2019-05-25, 04:21)le__ Wrote:(2019-05-19, 16:24)curael Wrote: I can't run 2 Kodi.exe instances at the same time, so my quest died early. :|
Interesting... So I tried to open the dsplayer kodi.exe on an hexeditor, searched for "Kodi" (case sensitive) and found a result at hex-offset BD3544.
So I simply replaced the "Kodi" string to "XBMC" (have to keep the same number of chars to not break anything when hexediting) and now Windows recognizes the dsplayer application as "XBMC" and then is possible to also run Kodi18 at the same time. [Edit4]Probably should have renamed as "KDSP", standing for Kodi DSPlayer...[/Edit4]
Edit:
If there's some kind of cli switch or something that would close the dsplayer right after the video stops, it could be used as a almost transparent external player for Kodi18...
Edit2:
Installing the addon "Kodi Callbacks", setting to listen to the event "onPlayBackEnded" and set it to run the build-in task "Quit", will make it close itself when the playback is finished or stopped.
Edit3:
Screenshots
In my case, the next step would be create new remote control rules to redirect all the key presses to the dsplayer when it's window is found. And see how the "watched" status would perform (I used very little the external player function).
Great progress! I'm glad I shared this. I will definitely have a go at this later tonight. Also, in my case, about redirecting the remote control, a simple Autohotkey script would be sufficient to activate what you call the XBMC window. So basically a simple if Kodi exist, do. And if Kodi and XBMC exist, then activate XBMC. Oh man. This is gonna be a janky work around, but if it ends up working, I'm a happy camper.
But there's also the whole play state thing and the fact that DSplayer needs to scrape shows too. Perhaps making a shortcut that calls both applications on startup with Kodi activated and DSplayer scraping in the background. And then just have DSplayer take over on playback. Damn this is exciting!