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
commit 847f5fb721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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