fixed little bug (not clearing last imported playlist from queue)

This commit is contained in:
Robin M 2023-06-27 13:30:44 +01:00
parent 6ebd795502
commit 4dfc9c1e74
1 changed files with 1 additions and 0 deletions

View File

@ -44,5 +44,6 @@ while IFS= read -r playlists; do
echo "Saving MPD playlist:" ${arr_playlists[1]}".m3u"
mpc save "${arr_playlists[1]}"
done < <(sqlite3 "$navidromepath"navidrome.db 'select * from playlist;')
mpc -q clear
mpc load navidrome2mpd.tmp
mpc rm navidrome2mpd.tmp