[print_future_path] Defined ouput when artist/composer & album/piece is not set
This commit is contained in:
parent
555677a1ed
commit
ada07ad3a9
1 changed files with 5 additions and 5 deletions
|
@ -20,19 +20,19 @@ print_future_path() {
|
||||||
eval local ${tag}='${CURTAG}'
|
eval local ${tag}='${CURTAG}'
|
||||||
done
|
done
|
||||||
|
|
||||||
[[ -n "${GENRE}" ]] && echo -n "${GENRE}/"
|
[[ -n "${GENRE}" ]] && echo -n "${GENRE}/" || echo -n "Unknown/"
|
||||||
if [[ -n "${CONDUCTOR}" ]]; then
|
if [[ -n "${CONDUCTOR}" ]]; then
|
||||||
[[ -n "${ARTIST}" ]] && echo -n "${ARTIST}/"
|
[[ -n "${ARTIST}" ]] && echo -n "${ARTIST}/" || echo -n "Unknown Composer/"
|
||||||
[[ -n "${ALBUM}" ]] && echo -n "${ALBUM}/"
|
[[ -n "${ALBUM}" ]] && echo -n "${ALBUM}/" || echo -n "Unknown Piece/"
|
||||||
[[ -n "${CONDUCTOR}" ]] && echo -n "${CONDUCTOR}/"
|
[[ -n "${CONDUCTOR}" ]] && echo -n "${CONDUCTOR}/"
|
||||||
[[ -n "${DATE}" ]] && echo -n "${DATE}"
|
[[ -n "${DATE}" ]] && echo -n "${DATE}"
|
||||||
if [[ -n "${DATE}" ]] && [[ -n "${PERFORMER}" ]]; then echo -n " - "; fi
|
if [[ -n "${DATE}" ]] && [[ -n "${PERFORMER}" ]]; then echo -n " - "; fi
|
||||||
[[ -n "${PERFORMER+x}" ]] && echo -n "${PERFORMER}/"
|
[[ -n "${PERFORMER+x}" ]] && echo -n "${PERFORMER}/"
|
||||||
else
|
else
|
||||||
[[ -n "${ARTIST}" ]] && echo -n "${ARTIST}/"
|
[[ -n "${ARTIST}" ]] && echo -n "${ARTIST}/" || echo -n "Unknown Artist/"
|
||||||
[[ -n "${DATE}" ]] && echo -n "${DATE}"
|
[[ -n "${DATE}" ]] && echo -n "${DATE}"
|
||||||
if [[ -n "${DATE}" ]] && [[ -n "${ALBUM}" ]]; then echo -n " - "; fi
|
if [[ -n "${DATE}" ]] && [[ -n "${ALBUM}" ]]; then echo -n " - "; fi
|
||||||
[[ -n "${ALBUM}" ]] && echo -n "${ALBUM}/"
|
[[ -n "${ALBUM}" ]] && echo -n "${ALBUM}/" || echo -n "Unknown Album/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[[ ${TOTALDISCS} -gt 1 ]] && echo -n "${DISCNUMBER}."
|
[[ ${TOTALDISCS} -gt 1 ]] && echo -n "${DISCNUMBER}."
|
||||||
|
|
Loading…
Reference in a new issue