From a3366563986cb208dd3b6adbc21ea55be8a07509 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Sun, 9 Oct 2022 16:47:11 +0300 Subject: [PATCH] Fix condition for .noplay file --- funkwhale-cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funkwhale-cli.sh b/funkwhale-cli.sh index e5ef30f..a835aa8 100755 --- a/funkwhale-cli.sh +++ b/funkwhale-cli.sh @@ -360,7 +360,7 @@ funkwhale_pseudofs_load() next_check=$(echo "$tracks" | jj next) for idartist in $(echo "$tracks" | jj -l 'results.#.artist.id' | delq | sort -u); do mkdir -p "fwfs_$instance/$idartist" - if [ ! -f "fwfs_$instance/$idartist/playlist.m3u8" && ! -f "fwfs_$instance/$idartist/playlist.m3u8.noplay" ]; then + if [ ! -f "fwfs_$instance/$idartist/playlist.m3u8" ] && [ ! -f "fwfs_$instance/$idartist/playlist.m3u8.noplay" ]; then echo '#EXTM3U' > "fwfs_$instance/$idartist/playlist.m3u8" fi