Kodi DSPlayer – DirectShow Player for Windows
(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]

Image Image
Image

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
Image

Image

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!
Reply


Messages In This Thread
Lockup on STOP issue resolved! - by MKANET - 2015-04-11, 21:59
RE: 4G aware patch - by MagikMark - 2015-09-08, 03:27
Alt-F4 no longer quits - by JeffA - 2015-10-31, 20:38
H265 playback - by rew88 - 2017-11-04, 00:41
RE: H265 playback - by ashlar - 2017-11-04, 16:21
RE: H265 playback - by rew88 - 2017-11-05, 01:34
RE: H265 playback - by ashlar - 2017-11-05, 16:48
RE: H265 playback - by rew88 - 2017-11-05, 23:08
RE: H265 playback - by ashlar - 2017-11-06, 12:00
Leia 18 - by terpsarlington - 2017-11-21, 03:51
RE: Leia 18 - by spencerjford - 2017-11-21, 06:24
RE: Kodi DSPlayer – DirectShow Player for Windows - by curael - 2019-05-25, 12:00
Display Modes / Refresh Rates - by goofer69 - 2019-09-20, 00:19
RE: Display Modes / Refresh Rates - by ashlar - 2019-09-20, 00:39
RE: Display Modes / Refresh Rates - by ashlar - 2019-09-20, 19:35
DSPlayer 23.810 to 23.976 - by Runakanta - 2018-05-09, 03:24
RE: DSPlayer 23.810 to 23.976 - by Warner306 - 2018-05-10, 01:32
Logout Mark Read Team Forum Stats Members Help
Kodi DSPlayer – DirectShow Player for Windows47