mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-26 09:19:20 +02:00
page track counter fix
This commit is contained in:
parent
77c62d575e
commit
eefc247b64
|
@ -63,8 +63,8 @@ load_tracks_to_playlist()
|
||||||
echo "https://$instance$i\n" >> playlist.m3u8
|
echo "https://$instance$i\n" >> playlist.m3u8
|
||||||
done
|
done
|
||||||
count_tracks_results=$(jj -i preload 'results.#')
|
count_tracks_results=$(jj -i preload 'results.#')
|
||||||
if [ -z $count_tracks_results ]; then
|
if [ -z $count_tracks_results ] || [ $count_tracks_results -eq 0 ]; then
|
||||||
echo 'Error: Page empty or 500 Internal Server Error'
|
echo 'Error: Page empty or connection error'
|
||||||
else
|
else
|
||||||
echo "Loaded $count_tracks_results tracks"
|
echo "Loaded $count_tracks_results tracks"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue