blob: 6e9bccc6076c2ee8288e40d8b5fabea9b7d54982 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
set -eu
set -o pipefail
if [ "${1:-}" = '--old' ]; then
extra_args="--exclude yearly --include all"
shift
else
extra_args=
fi
lastfm-query sync doyster
lastfm-query recommend --random --album $extra_args "${1:-20}"
|