owntone / owntone-server

Linux/FreeBSD DAAP (iTunes) and MPD audio server with support for AirPlay 1 and 2 speakers (multiroom), Apple Remote (and compatibles), Chromecast, Spotify and internet radio.
https://owntone.github.io/owntone-server
GNU General Public License v2.0
2.06k stars 236 forks source link

Enhancement: Alarm based playback #1226

Open frankusb opened 3 years ago

frankusb commented 3 years ago

One of the features that chromecast speakers (and I assume airplay speakers) have with online music services is the ability to set alarms to start playback of music. In the case of Owntone where the music is local, I have not found a way to set an alarm and playback music from Owntone on a chromecast speaker. Owntone does provide an API that would allow another service to initiate playback but thinking about it, Owntone already has a web server, it has the music store. Would it make sense to add alarm functionality or should that be kept separate?

ejurgensen commented 3 years ago

I don't know how this works, do you know the technical details?

frankusb commented 3 years ago

I'm wondering if it would be interesting to replicate a subset of the features found in Chromecast media alarms in Owntone. Users of Owntone have their own media. What would be the best approach to replicating this idea but with local media? Owntone provides the media and access to the speakers.

If Owntone had alarms to trigger playback, the users could manage them easily from the Owntone web server. It seems like a logical place to put them without overlapping functionality.

The alternative would be to create a stand alone web server and back end to use Owntone's API for playing local media.