summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2017-10-04 00:08:34 +0200
committerRasmus Steinke <rasi@xssn.at>2017-10-04 00:08:34 +0200
commite6e39a29c48835aa069776fd0d305f03b5ab4797 (patch)
treef0d57f7d240876e641bc27fd6629461608336da5
parentbf14d9a43cf1dfffe5bc252c26d5f4d1f7ac15f6 (diff)
downloadperl-app-clerk-e6e39a29c48835aa069776fd0d305f03b5ab4797.tar.gz
perl-app-clerk-e6e39a29c48835aa069776fd0d305f03b5ab4797.tar.xz
some indenting issues fixed
-rwxr-xr-xclerk20
1 files changed, 10 insertions, 10 deletions
diff --git a/clerk b/clerk
index 3e7ceab..b6459b2 100755
--- a/clerk
+++ b/clerk
@@ -297,9 +297,9 @@ sub random_album {
my @album_artists = $mpd->list('albumartist');
my $artist_r = $album_artists[rand @album_artists];
my @album = $mpd->list('album', 'albumartist', $artist_r);
- my $album_r = $album[rand @album];
- $mpd->find_add('albumartist', $artist_r, 'album', $album_r);
- $mpd->play();
+ my $album_r = $album[rand @album];
+ $mpd->find_add('albumartist', $artist_r, 'album', $album_r);
+ $mpd->play();
tmux_jump_to_queue_maybe();
}
@@ -370,16 +370,16 @@ sub formatted_tracks {
}
sub formatted_playlists {
- my ($rdb) = @_;
- my @save = ("Save");
- push @save, $rdb;
- my @playlists = map {
- sprintf "%s\n", $_->{playlist}
- } @{$rdb};
+ my ($rdb) = @_;
+ my @save = ("Save");
+ push @save, $rdb;
+ my @playlists = map {
+ sprintf "%s\n", $_->{playlist}
+ } @{$rdb};
@save = ("Save current Queue\n", "---\n");
@playlists = sort @playlists;
unshift @playlists, @save;
- return \@playlists;
+ return \@playlists;
}
sub tmux_prerequisites {