mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-22 01:01:27 +00:00
fix: replaced empty album to index and duration -1
This commit is contained in:
parent
a7edda6df2
commit
ae6dd9f069
|
@ -28,7 +28,7 @@ load_tracks_to_playlist()
|
||||||
counter_titles=0
|
counter_titles=0
|
||||||
for i in $(funkwhale_api_get_tracks $1); do
|
for i in $(funkwhale_api_get_tracks $1); do
|
||||||
title=$(cat preload | jj results."$counter_titles".title)
|
title=$(cat preload | jj results."$counter_titles".title)
|
||||||
echo "#EXTINF:#,$title" >> playlist.m3u8
|
echo "#EXTINF:-1, $counter_titles - $title" >> playlist.m3u8
|
||||||
counter_titles=$(expr $counter_titles + 1)
|
counter_titles=$(expr $counter_titles + 1)
|
||||||
echo "https://$instance$i\n" >> playlist.m3u8
|
echo "https://$instance$i\n" >> playlist.m3u8
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue