From 13c240ab533d7eaf315986c05538c8a2a9948b09 Mon Sep 17 00:00:00 2001 From: supremesyntax Date: Fri, 30 Nov 2018 08:50:13 +0000 Subject: [PATCH] fix file extension in m3u file Use file extension in m3u file rather than container format. --- AAXtoMP3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AAXtoMP3 b/AAXtoMP3 index 91f99a9..ee0d887 100755 --- a/AAXtoMP3 +++ b/AAXtoMP3 @@ -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 )) # ----