Compare commits

...

2 commits

Author SHA1 Message Date
localhost_frssoft 89640b0ceb DEPRECATED 2022-11-09 00:30:04 +03:00
localhost_frssoft a336656398 Fix condition for .noplay file 2022-10-09 16:47:11 +03:00
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,7 @@
# funkwhale-cli
Sorry. Deprecated. Rewriten on python.
Check new branch: py_fw_cli
___
Just for fun. Simple "player" API script for FunkWhale instances.
Features:

View file

@ -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