aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgutmet <me.git@gutmet.org>2020-10-14 08:10:30 +0200
committergutmet <me.git@gutmet.org>2020-10-14 08:10:30 +0200
commitf8761e4490d6764dc33eaccd8d06e91819117b1b (patch)
tree41b23f87b19fcd567717faa40d4ab05711ef7ac1
parent4036b31f3ac16662b46182e9705f55f1260ba833 (diff)
downloadsnippets-master.tar.gz
youtube-par-cmd: use m3u8 extensionHEADmaster
-rwxr-xr-xyoutube-par-cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-par-cmd b/youtube-par-cmd
index 753c559..1c5e5c5 100755
--- a/youtube-par-cmd
+++ b/youtube-par-cmd
@@ -22,7 +22,7 @@ cd "$playlistTitle"
urls=`echo "$playlistJSON" | jq -r '.entries[].url'`
echo "$urls" | awk '{print "https://www.youtube.com/watch?v=" $0}' | xargs -n 1 -P 10 "$cmd"
-m3uFile="Playlist - $playlistTitle"".m3u"
+m3uFile="Playlist - $playlistTitle"".m3u8"
echo "#EXTM3U" > "$m3uFile"
echo "#PLAYLIST:$playlistInfo" >> "$m3uFile"
echo "$urls" | while read url; do