Skip to content

Fixed Playing and Pausing when in mode internet radio#11

Open
SpeedyGoneZales wants to merge 1 commit intozhelev:masterfrom
SpeedyGoneZales:master
Open

Fixed Playing and Pausing when in mode internet radio#11
SpeedyGoneZales wants to merge 1 commit intozhelev:masterfrom
SpeedyGoneZales:master

Conversation

@SpeedyGoneZales
Copy link

When in mode Internet Radio, playing and stopping a stream is achieved running http://<IP>/fsapi/SET/netRemote.play.control?pin=1234&value=0, whereas in other modes value is 1 for Play and 2 for Pause.

This pull request checks which mode the radio is in, and send 0 (aka STOP) when in Internet radio mode.

@wlcrs
Copy link
Collaborator

wlcrs commented Mar 18, 2026

pausing and stopping is not the same. Please remove the override in the pause function and add a dedicated stop function instead.

please don't change the forward/rewind functions. They function as desired: they raise an error when the radio is in an invalid mode.

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