kodi pause playback when menu button pressed
Kodi has an annoying config where the video will keep playing in the backgroup if you hit the exit button. People have been complaining about it for years and I have no idea why they keep the behavior as the default. Here’s how I disable backgroup play when hitting it.
You can either use the keymap editor: https://kodi.wiki/view/Add-on:Keymap_Editor
or if you have ssh enabled edit the xml file by hand:
vi /storage/.kodi/userdata/keymaps/keyboard.xml
<keymap>
<fullscreenvideo>
<keyboard>
<key id="216">Stop</key>
</keyboard>
</fullscreenvideo>
</keymap>
These keyid are for the samsung remote:
This will allow you to store the video and music databases on another server. Handy if you have multiple kodis and want to keep the watched items in sync. I don’t use this any more for YMMV.
vi /storage/.kodi/userdata/advancedsettings.xml
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.1.x</host>
<port>3306</port>
<user>kodi</user>
<pass>redacted</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.1.x</host>
<port>3306</port>
<user>kodi</user>
<pass>redacted</pass>
</musicdatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<importresumepoint>true</importresumepoint>
</videolibrary>
</advancedsettings>