2019-04-29, 17:40
(2019-04-29, 15:30)purpleman Wrote:Yeah, that's another option, for sure. I honestly don't know whether that would entail modification to all subtitles add-ons code or just the portion of Kodi that handles the process. On the other hand, thinking about it, that means starting playback to check whether subs are present or not, and if they are good or not. If they are not, stopping playback, searching for subs, restarting playback.(2019-04-29, 11:57)ashlar Wrote:I think that a dramatically easier approach would be to make it so that the subtitle feature of Kodi (and any plugins you have installed) are accessible from the context menu within Kodi (before playback starts) rather than from within the video player.(2019-04-28, 17:38)purpleman Wrote: Not sure if there's any interest, but I intend to compile a modified version of the latest Kodi and a modified vesion of MPC-BE that will enable the use of "resume playback" when using an external player.I'd be interested in testing, for sure. I know it's probably asking too much but it would be great if you could find a way to have subtitles add-ons from Kodi working from within MPC-BE. I ask because you talk about "communication between Kodi and MPC-BE", thus raising my hopes.
I might look into making some more slight modification to support additional features. If anyone's interested in the details, I plan on enabling communication between Kodi and MPC-BE using file system (meta data files that will be automatically created and removed).
Open to more ideas or support.
Edit: feel free to contact me by PM for test builds, help, discussion, whatever really. I'd like to contribute as much as I can.
I'll look into this.
Meanwhile, I've done some experiments with EventGhost (a programmable remote software solution). While launching MPC-HC as an external player, I managed to get Kodi to open the subtitle search window, while MPC-HC is paused. It works and it downloads subs. There's some video corruption outside the subtitles search windows but everything works perfectly.
The problem is going back to MPC-HC and having it use the subs you downloaded. So far I've only managed to get there using the "Reload file" functionality, in combination with the "remember position" functionality so that the file is reloaded from where it was paused before searching for subs.
Edit: and I've actually managed to configure EventGhost to handle everything in a pretty seamless way. Thanks for the inspiration!