diff options
author | Rasmus Steinke <rasi@xssn.at> | 2014-10-11 14:11:18 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2014-10-11 14:11:18 +0200 |
commit | 5608c03b7c0106d3e34d3cc17c94703c49e914b0 (patch) | |
tree | 56409a3a6bbc2e38c34f22ef4ba4e66547aac056 | |
parent | c2a354405a30370b173c70f83be0e854139da640 (diff) | |
download | perl-app-clerk-5608c03b7c0106d3e34d3cc17c94703c49e914b0.tar.gz perl-app-clerk-5608c03b7c0106d3e34d3cc17c94703c49e914b0.tar.xz |
add cli argument "-latest"
-rwxr-xr-x | clerk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1285,6 +1285,7 @@ if [[ "$1" == "-h" ]]; then echo " -rs play random songs" echo " -t add track" echo " -ti insert track" + echo " -latest show latest additions" echo "" echo "Playlist" echo " -queue show current queue" @@ -1321,6 +1322,8 @@ elif [[ "$1" == "-rtrack" ]]; then rateTrack elif [[ "$1" == "-ra" ]]; then playRandomAlbum +elif [[ "$1 == "-latest" ]]; then + addLastMod elif [[ "$1" == "-rs" ]]; then playRandomTracks elif [[ "$1" == "-show" ]]; then |