sosedoff / omxremote

Web frontend and API for Raspberry Pi omxplayer media player
MIT License
37 stars 7 forks source link

Allow to Switch Audio track during playback #8

Open christf opened 4 years ago

christf commented 4 years ago

it would be nice if omxremote was able to cycle through the audio tracks of a given video.

sosedoff commented 4 years ago

How should such a feature work?

On Jun 7, 2020, at 3:34 PM, Christof Schulze notifications@github.com wrote:

 it would be nice if omxremote was able to cycle through the audio tracks of a given video.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

christf commented 4 years ago

omxplayer offers "j" and "k" keycodes. Having two more buttons "next audio track" "previous audio track" that would send those commands to omxplayer, would allow cycling through the audio tracks - very similar to what is happening with volume up and volume down now.