diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2017-01-14 18:31:45 +0100 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2017-01-14 18:31:45 +0100 |
| commit | b962eafaf2e12c87b10e2ba3b4fd93312a84608f (patch) | |
| tree | d9e69c2f658e43eb2f133f484ed03254dbec98fd | |
| parent | 9e0e072532d1e89e8099ef9beede0951d0b67b60 (diff) | |
spotify-scrobble: don't clear old values to prevent double scrobbling after pausing
| -rwxr-xr-x | spotify-scrobble.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spotify-scrobble.sh b/spotify-scrobble.sh index e9675e9..83b3f9f 100755 --- a/spotify-scrobble.sh +++ b/spotify-scrobble.sh @@ -25,10 +25,6 @@ do if [ "`echo "$status" | tail -n1 | cut -d '"' -f 2`" != "Playing" ]; then # currently nothing is playing; keep checking - old_artist= - old_title= - old_album= - old_duration= sleep 5 continue fi |
