mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-18 03:08:57 +01:00
fix file extension in m3u file
Use file extension in m3u file rather than container format.
This commit is contained in:
parent
3c7a5f1ac1
commit
13c240ab53
2
AAXtoMP3
2
AAXtoMP3
@ -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 ))
|
||||||
|
|
||||||
# ----
|
# ----
|
||||||
|
Loading…
Reference in New Issue
Block a user