mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-26 09:19:20 +02:00
Fix condition for .noplay file
This commit is contained in:
parent
7e72538f26
commit
a336656398
|
@ -360,7 +360,7 @@ funkwhale_pseudofs_load()
|
||||||
next_check=$(echo "$tracks" | jj next)
|
next_check=$(echo "$tracks" | jj next)
|
||||||
for idartist in $(echo "$tracks" | jj -l 'results.#.artist.id' | delq | sort -u); do
|
for idartist in $(echo "$tracks" | jj -l 'results.#.artist.id' | delq | sort -u); do
|
||||||
mkdir -p "fwfs_$instance/$idartist"
|
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"
|
echo '#EXTM3U' > "fwfs_$instance/$idartist/playlist.m3u8"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue