Skip to content

Add web remote buttons for audio and subtitle cycling - #641

Open
mechaigor-hash wants to merge 1 commit into
shane-mason:mainfrom
mechaigor-hash:remote-av-buttons-minimal
Open

Add web remote buttons for audio and subtitle cycling#641
mechaigor-hash wants to merge 1 commit into
shane-mason:mainfrom
mechaigor-hash:remote-av-buttons-minimal

Conversation

@mechaigor-hash

Copy link
Copy Markdown

Summary

Adds SUBS and AUDIO buttons to the built-in FS42 web remote.

The buttons use the existing mpv control endpoints to cycle subtitle and audio tracks on the currently playing item:

  • POST /player/mpv/cycle-subtitles
  • POST /player/mpv/cycle-audio

I’ve kept this deliberately small after the previous PR feedback. This only updates fs42/fs42_server/static/remote.html; it does not change playback defaults, language preference logic, play_file(), sequence scanning, or the separate legacy remote app.

Testing

Ran:

python3 -m py_compile fs42/fs42_server/api/player.py

Also checked the remote HTML for the new buttons and endpoint calls.

@shane-mason

Copy link
Copy Markdown
Owner

Starting review today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants