mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-05 14:53:02 +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 New Issue
Block a user