Ensemble icon indicating copy to clipboard operation
Ensemble copied to clipboard

[Feature Request] "sleep timer" to stop play after presetted time (15. 30, 60, 120 minutes)

Open githubchb opened this issue 10 months ago • 6 comments

Hi,

since years I am using SONOS devices as loud speaker and since about one year I am using "Audiobookshelf" für my audiobooks. With the help of https://github.com/jmt-gh/audiobookshelf-sonos I was able to play back my audiobooks on the SONOS loudspeaker, but:

  • there is no developement any more on the tool
  • I have to use an old version of the SONOS App and outdated firmwares

Then I became aware of the "Music Assistant" and was very impressed of it, but no official client for the tool

Then I became aware of your unofficial client for "Music Assistant" and you made my day :-)

Now I can play back all my content on SONOS devices without need to use the SONOS App .....

...... sorry that's not quite right: I still need the SONOS App to set a "sleep timer".

So you would make me very happy if you could implement a new “sleep timer” feature.

Apart from that: “Congratulations on the excellent Music Assistant client.”

githubchb avatar Jan 11 '26 13:01 githubchb

Thanks a lot for the feedback. I like this idea. But where do you think the toggle should be? On the expanded player I guess?

CollotsSpot avatar Jan 13 '26 20:01 CollotsSpot

Thanks a lot for the feedback. I like this idea. But where do you think the toggle should be? On the expanded player I guess?

Yes that would be the right place for it. Thanks for your reply :-)

githubchb avatar Jan 13 '26 20:01 githubchb

If it helps to give you an idea, here's how Spotify has that sleeper functionality:

Sleeper button for podcasts (changes color depending if a sleeper is set or not): Screenshot_20260116-143340.png

The button opens this menu: Screenshot_20260116-143347.png

swever826 avatar Jan 16 '26 20:01 swever826

Hi @CollotsSpot ,

this is the way how I see it in several apps like Spotify/ Sonos etc. and using is self-explanatory. Changing the color of the button to green indicates that sleep timer is active and reopen the menu shows an information of remaining time of sleep timer. Perhaps it is possible to show remaining time directly on expanded player.

Looking forward to any new version

githubchb avatar Jan 16 '26 21:01 githubchb

Added in 2.9.0

CollotsSpot avatar Jan 20 '26 10:01 CollotsSpot

Hi @CollotsSpot ,

thanks for the new feature and it works as expected :-)

githubchb avatar Jan 21 '26 09:01 githubchb