Merge pull request #93 from supremesyntax/fix/m3ufile

fix file extension in m3u file
This commit is contained in:
KrumpetPirate
2018-11-30 18:19:00 -06:00
committed by GitHub

View File

@ -424,7 +424,7 @@ do
# Playlist creation.
duration=$(echo "${chapter_end} - ${chapter_start%?}" | bc)
echo "#EXTINF:${duration%.*},${title} - ${chapter}" >> "${playlist_file}"
echo "${chapter_title}.${container}" >> "${playlist_file}"
echo "${chapter_title}.${extension}" >> "${playlist_file}"
chapternum=$((chapternum + 1 ))
# ----