blog:articles:raspberry:mpd_multiroom
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blog:articles:raspberry:mpd_multiroom [2024/06/16 14:50] – [Snapcast Features] Phil Ide | blog:articles:raspberry:mpd_multiroom [2024/06/21 13:09] (current) – Phil Ide | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOCACHE~~ | ||
====== Whole-home Music ====== | ====== Whole-home Music ====== | ||
Line 54: | Line 55: | ||
Before you turn anything off though, you may have noticed something else: all speakers in all rooms are synchronised, | Before you turn anything off though, you may have noticed something else: all speakers in all rooms are synchronised, | ||
+ | |||
+ | You'll also notice that the Snapcast web page also allows you to stream to your web browser. This means that you can stream to a device via Snapcast //or// via the MPD http stream. | ||
+ | |||
+ | ===== Turn into an Alarm Clock ===== | ||
+ | |||
+ | I've written some scripts for both Linux and Windows to turn the music system into an alarm clock. If you are running an Apple system, I'm sure you can make these scripts work for you. The scripts are written in PHP and are therefore cross-platform. | ||
+ | |||
+ | It is necessary to create a playlist on MPD called " | ||
+ | |||
+ | The first script is run as a cron job (or a Windows Scheduler task), and turns all the speakers off in the home except the device you designate as your bedroom unit. It then loads the Alarm playlist and starts it running. | ||
+ | |||
+ | The second script I run on boot of my desktop, and it turns the bedroom speakers off, and enables a list of designated speakers, so I don't have to manually turn them on myself - because why do it yourself when you can automate it? | ||
+ | |||
+ | The scripts are on GitHub at [[https:// | ||
+ | |||
+ | I have other repositories there too at [[https:// | ||
+ | |||
+ | ~~socialite~~ | ||
+ | ~~DISCUSSION~~ |
blog/articles/raspberry/mpd_multiroom.1718549428.txt.gz · Last modified: by Phil Ide