Posts: 58
Joined: Mar 2017
Reputation:
1
When playing back a .M3U8 (HLS) file that is added to in the background, Kodi does not respond to the pause command. Kodi (ffmpeg) just carry on playing.
Is there a way to pause playback in this scenario? Is this a bug?
I've tried with Kodi 18.8 on Ubuntu and Kodi 18.7 on OSMC / Raspberry PI
Posts: 4,498
Joined: Jan 2011
Reputation:
150
DaVu
Team-Kodi Member
Posts: 4,498
That's not a bug. If a video is moved to the background, the current windows isn't "FullScreenVideo" anymore and therefore the controls for videoplayback on the keyboard or on the remote don't work.
What you could do is to find an unused button and map that to PlayerControl(play)
and use that. "PlayerControl(<action>)" is an built in function which will work regardless of the currently active window.
Another way could be to create your own keyboard.xml and/or remote.xml file at your usedata folder and map actions to other windows. But be careful, that this doesn't have any side-effect on other controls for that window.