Skip to content

Commit

Permalink
update alarm.py: use playlist instead
Browse files Browse the repository at this point in the history
  • Loading branch information
marbu committed Jan 13, 2013
1 parent 302ef37 commit 5f9f6d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
will do roughly this:
$ echo 'mpc clear; mpc search artist leslie | mpc add; mpc play' | at 20:05
$ echo 'mpc clear; mpc load alarm; mpc play' | at 20:05
$ echo 'mpc volume 10' | at 20:05
$ echo 'mpc volume 50' | at 20:25
$ echo 'mpc volume 70' | at 20:45
Expand All @@ -26,7 +26,7 @@
from subprocess import check_output


CMD_ALARM = "mpc clear; mpc search artist leslie | mpc add; mpc play"
CMD_ALARM = "mpc clear; mpc load alarm; mpc play"
CMD_VOLUME_UP = "mpc volume %d"
CMD_ALARM_INIT_VOLUME = "%s; sleep 0.1; %s" % (CMD_ALARM, CMD_VOLUME_UP)

Expand Down

0 comments on commit 5f9f6d3

Please sign in to comment.