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/18 14:06] – 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 59: | Line 60: | ||
===== Turn into an Alarm Clock ===== | ===== 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 Bash shell scripts (and Windows cmd script). | + | 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 " | 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. | + | 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 | + | 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 third 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:// | The scripts are on GitHub at [[https:// | ||
- | I have other repositories there too at [[https:// | + | I have other repositories there too at [[https:// |
+ | |||
+ | ~~socialite~~ | ||
+ | ~~DISCUSSION~~ |
blog/articles/raspberry/mpd_multiroom.1718719571.txt.gz · Last modified: 2024/06/18 14:06 by Phil Ide