Posts: 456
Joined: Jul 2015
Reputation:
22
My keyboard's period and comma control the next track / previous track for music files but not video files. I tried to make an advancedsettings.xml file but could not get it working at all. Is the next track / previous track function even possible during video playback ?
I have a bunch of music video files in a Folder and want to advance a track or go back a track while playing.
Intel i5 NUC
OpenELEC 6.0.0
Posts: 15,261
Joined: Jan 2009
Reputation:
726
ronie
Team-Kodi Member
Posts: 15,261
pageup / pagedown should do the trick.
Posts: 456
Joined: Jul 2015
Reputation:
22
I have an existing keymap.xml file located here:
IP address \ userdata \ keymaps
It's content is:
<keymap>
<fullscreenvideo>
<keyboard>
<g>activatewindow(videobookmarks)</g>
</keyboard>
</fullscreenvideo>
</keymap>
I added <period>pageup</period> and <comma>pagedown</comma> under <g>activatewindow(videobookmarks)</g> and rebooted but period and comma does nothing. Do I need to make an advancedsetting.xml file for this function ?
Posts: 456
Joined: Jul 2015
Reputation:
22
2015-11-08, 23:20
(This post was last modified: 2015-11-09, 01:00 by blueribb.)
After much trial and error, I think I found out how to make it work. I added
<period>SkipNext</period>
<comma>SkipPrevious</comma>
to my existing keymap.xml file. I rebooted and it works if I Play the Folder containing the video files but not if I open the folder, play a file and then press period or comma. It must have to do with "Playlists" which I know nothing about at this point. I guess that's my next project.
Posts: 456
Joined: Jul 2015
Reputation:
22
What I can't understand is why I must create a playlist in order to utilize the SkipNext / SkipPrevious commands. This seems like a pretty basic command that shouldn't require such special treatment. Most remotes have next & previous buttons.
Posts: 40
Joined: Feb 2011
Reputation:
2
If you select a single file to play, you only have a playlist of one. There is no next or previous file to skip to. Therefore, SkipNext and SkipPrevious have no function in such a case.
Posts: 40
Joined: Feb 2011
Reputation:
2
If you have "Settings -> Music -> Playback -> Play next song automatically" enabled, then yes, SkipNext and SkipPrevious will work (within the bounds of the current directory, I believe). AFAIK this setting is enabled by default for Music, and disabled by default for Video. If "Settings -> Video -> Playback -> Play next video automatically" is enabled you should see the same behavior for videos.
My guess is most people want to automatically play the next song when listening to music, but don't necessarily want to watch the next movie when selecting a file from the Genre, Title, Year, etc. listings, or from File View.