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 )) # ----