From ae6dd9f0695e7b1daab6993be359e2f132161100 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Wed, 30 Mar 2022 19:08:26 +0300 Subject: [PATCH] fix: replaced empty album to index and duration -1 --- funkwhale-cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funkwhale-cli.sh b/funkwhale-cli.sh index a04c050..854bc77 100755 --- a/funkwhale-cli.sh +++ b/funkwhale-cli.sh @@ -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