diff options
author | Rasmus Steinke <rasi@xssn.at> | 2017-10-03 23:53:31 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2017-10-03 23:53:31 +0200 |
commit | df158a17e191f6c49c2c4f13c425656e4a2a31db (patch) | |
tree | 53af9894b0bebded81e3de5aee786aa7efb56217 /clerk_rating_client | |
parent | 600b649a8f7dfcee9d162a6e1497142bf73bf9eb (diff) | |
download | perl-app-clerk-df158a17e191f6c49c2c4f13c425656e4a2a31db.tar.gz perl-app-clerk-df158a17e191f6c49c2c4f13c425656e4a2a31db.tar.xz |
fix more indenting issues
Diffstat (limited to 'clerk_rating_client')
-rwxr-xr-x | clerk_rating_client | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clerk_rating_client b/clerk_rating_client index 1da2bb2..8c74c57 100755 --- a/clerk_rating_client +++ b/clerk_rating_client @@ -64,12 +64,12 @@ sub track_rating { if ($uri =~ /.*.flac$/) { if ($mode eq "rating") { print ":: tagging track \"${title}\" by \"${artist}\" with rating of \"${rating}\"\n"; - system('metaflac', '--remove-tag=RATING', "${music_root}/${uri}"); - system('metaflac', "--set-tag=RATING=${rating}", "${music_root}/${uri}"); + system('metaflac', '--remove-tag=RATING', "${music_root}/${uri}"); + system('metaflac', "--set-tag=RATING=${rating}", "${music_root}/${uri}"); } elsif ($mode eq "albumrating") { print ":: tagging track \"${title}\" by \"${albumartist}\" with albumrating of \"${rating}\"\n"; - system('metaflac', '--remove-tag=ALBUMRATING', "${music_root}/${uri}"); - system('metaflac', "--set-tag=ALBUMRATING=${rating}", "${music_root}/${uri}"); + system('metaflac', '--remove-tag=ALBUMRATING', "${music_root}/${uri}"); + system('metaflac', "--set-tag=ALBUMRATING=${rating}", "${music_root}/${uri}"); } } elsif ($uri =~ /.*.mp3$/) { @@ -95,7 +95,7 @@ sub sync_ratings { my @available_stickers = $mpd->sticker_find('song', 'rating', ''); foreach my $rated_song (@available_stickers) { push @sticker_uris, "$rated_song->{file}"; - } + } my @absolute; find({ |