minor iprv
This commit is contained in:
@@ -27,6 +27,13 @@ __put_artist_json() {
|
||||
[ -s "$tmpf" ] && mv "$tmpf" "$f" || printf "{}" >"$f"
|
||||
}
|
||||
|
||||
# Delete all cache associated to the given artist
|
||||
# argument $1: MusicBrainz Artist ID
|
||||
cache_delete_artist() {
|
||||
artistdir="$CACHEDIR/$1"
|
||||
rm -rf "$artistdir"
|
||||
}
|
||||
|
||||
# Returns the cached MusicBrainz data for the artist given by the MusicBrainz
|
||||
# Artist ID in $1
|
||||
cache_get_artist_mb() {
|
||||
|
Reference in New Issue
Block a user