Force Kodi to stop playback when you press "Exit"
#1
Is there any way to force Kodi 19.3 Matrix to actually stop playing the movie, whenever I press "Exit" on the full screen?

Currently, it exits full screen, but continues playing in the background, which is kind of annoying.

I did not find any corresponding configuration item or switch even though I think I have browsed the entire configuration section in "Expert" mode.
Reply
#2
Yes, this also irritates me, hope there is an answer.
Reply
#3
(2017-11-26, 10:12)Hitcher Wrote: I also prefer to stop the video when pressing back so I added this my keymap -

xml:
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
    <FullscreenVideo>
        <keyboard>
            <backspace>Stop</backspace>
        </keyboard>
    </FullscreenVideo>
</keymap>

If you don't want to mess around editing keymaps you can also use the Keymap Editor addon - just edit the 'fullscreen video' back function to stop.
Reply
#4
As per my knowledge, this will also play wideo in the background after leaving the player.

The only workaround that I have found is to:

→ click "OK" during playback, to access controls / exit full screen
→ press Down to go to playback control
→ press Right to switch highlight from Play to Stop
→ press OK to activate Stop button

Only then you can exit the player and not have video continue in background.
Reply
#5
I do think Hitchers advice would solve the issue.
Have a look at the link that was posted.
I really like this functionality, but if not i would assign long-press 'back' to stop. What makes you think that would not stop the video ..?
Reply
#6
I didn't know that there is a link under Hitcher's text. So I was more like thinking this is a suggestion ("Use back button to exit player") to which I have answered: "This won't work, this will cause player to continue in the background".

With the Add-on:Keymap Editor under link it changes the whole picture. I will definitely have to check this add-on and see how this works on my side.

First take a look at Keyboard section shows some discrepancies around mouse mapping, for example:
  • Middle-click does nothing on my side and is supposed to queue an item
  • Right-click always exits back and never shows a context menu, no matter if clicked on an item or off it
I don't know from where these discrepancies come, as I have installed Kodi 20.2 directly from Google Play and never changed any key-mappings (as up until now I didn't know that I can do so).

So, before eventually continuing this thread I will have to double check this add-on. Thanks for providing this idea and link.
Reply
#7
I use this in my keymap gen.xml file for music and video - 

<visualisation>
<keyboard>
<key id="61448">stop</key>
</keyboard>
</visualisation>
<fullscreenvideo>
<keyboard>
<key id="61448">stop</key>
</keyboard>
</fullscreenvideo>
Reply
#8
Thank you for sharing your example. Unfortunately, I cannot use it (I think so).

I am using Kodi on my TV and I don't have access to any files and no option read or modify something directly.

I have to use Log Uploader add-on to get to my logs, because I can't even access my Kodi's logs. No access to TV's file system.
Reply
#9
(2017-11-26, 10:12)Hitcher Wrote: If you don't want to mess around editing keymaps you can also use the Keymap Editor addon - just edit the 'fullscreen video' back function to stop.
Reply
#10
Thanks and will definitely do.

Do you know (in addition to: fullscreen video back function) which function must I also modify through this add-on to have changed / rescheduled event for long pressing "OK" button that displays context menu on source?

From what I can see, my remote controller has now button assigned to display source's context menu. And I always have to connect my keyboard, if I want to display this context menu or mess up with source details.
Reply
#11
(2023-08-10, 13:30)trejder Wrote: Thank you for sharing your example. Unfortunately, I cannot use it (I think so).

I am using Kodi on my TV and I don't have access to any files and no option read or modify something directly.

I have to use Log Uploader add-on to get to my logs, because I can't even access my Kodi's logs. No access to TV's file system.

Just use the Keymap Editor addon and it will do the work for you. In addition, what OS does your TV run? If it's Android you should be able to use something like adblink to access the files from a Windows/Mac/Linux/ChromeOS system.
Reply

Logout Mark Read Team Forum Stats Members Help
Force Kodi to stop playback when you press "Exit"0