diff --git a/backup_mpd_playlist.py b/backup_mpd_playlist.py index 616eded..c1e6607 100755 --- a/backup_mpd_playlist.py +++ b/backup_mpd_playlist.py @@ -123,8 +123,7 @@ else: pp = pprint.PrettyPrinter(indent=4) current_output = pp.pformat(state) - # We don't care if the volume or currently-playing song has changed, only - # the playlist + # We don't care if the volume or currently-playing song has changed, only the playlist strip = re.compile(r'\s*?[\'\"](consume|current|random|repeat|single|state|time|volume)[\'\"]:\s*?[\'\"].*?[\'\"],?'); curr = strip.sub('', current_output) prev = strip.sub('', backup_output) @@ -140,4 +139,4 @@ else: client.close() client.disconnect() -# vim: set expandtab shiftwidth=4 softtabstop=4 textwidth=79: +# vim: set expandtab shiftwidth=4 softtabstop=4 :