diff options
author | Rasmus Steinke <rasi@xssn.at> | 2017-10-01 11:23:12 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2017-10-01 11:23:12 +0200 |
commit | 3571e3740115719a64c820b02ed77e72422e55fe (patch) | |
tree | f4de9006e600777b909a348baa26ca0a477c97ba | |
parent | c5f6b2285b851d88bd8430ec768c60ff0bd6602a (diff) | |
download | perl-app-clerk-3571e3740115719a64c820b02ed77e72422e55fe.tar.gz perl-app-clerk-3571e3740115719a64c820b02ed77e72422e55fe.tar.xz |
fix wrong config name. enable option to jump to queue
-rwxr-xr-x | clerk | 4 | ||||
-rw-r--r-- | clerk.conf | 3 |
2 files changed, 5 insertions, 2 deletions
@@ -64,7 +64,7 @@ sub parse_config { player => $g->{player}, tagging => $g->{tagging}, randomartist => $g->{randomartist}, - jump_query => $g->{jump_query} + jump_queue => $g->{jump_queue} ); my $c = $cfg->param(-block=>'Columns'); @@ -393,7 +393,7 @@ sub tmux { } sub tmux_jump_to_queue_maybe { - tmux qw/findw -t music queue/ if $rvar{jump_queue}; + tmux qw/findw -t music queue/ if ($rvar{jump_queue} eq "true"); } sub tmux_spawn_random_pane { @@ -18,6 +18,9 @@ songs=20 # if mpd drops the connection while updating, reduce this. chunksize=30000 +# enable this to jump to queue after adding songs in tmux ui. +jump_queue=true + # Use albumartist or artist for random tracks? randomartist=albumartist |