aboutsummaryrefslogtreecommitdiff
path: root/scripts/media_is_spotify_playing.sh
Commit message (Collapse)AuthorAgeFilesLines
* use sh instead of bashFlorian Fischer2017-05-121-1/+1
|
* rework media_control to remember the last playerFlorian Fischer2016-06-061-36/+60
| | | | | | | | | | | README.md: mention that some scripts uses hardcoded locations scripts/media_is_spotify_playing.sh: use dbus to get spotify PlaybackStatus scripts/media_control: 1) introduce a new file: /tmp/media_control_last 2) use this file to store the last active player 3) send the command to the last active player if no player is running
* rework media_control to work with pulseaudioFlorian Fischer2016-01-111-0/+45
1) outsource check if spotify is playing in media_is_spotify_playing.sh 2) use media_is_spotify_playing in media_status.sh 3) rework media_control using media_is_spotify_playing.sh