mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-05 14:53:02 +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
|
||||
for i in $(funkwhale_api_get_tracks $1); do
|
||||
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)
|
||||
echo "https://$instance$i\n" >> playlist.m3u8
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user