mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-25 14:11:26 +00: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)
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue