Revert "Replace # with _ in m3u playlists."

This reverts commit 124032041f.

Changing the name in the palylist without changing the file name doesn't
help. 🤦
This commit is contained in:
tastytea 2020-12-25 17:58:31 +01:00
parent 124032041f
commit 94ab72a6ec
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ function main()
[[ "${file}" =~ "\.vtt$" ]] && continue # Skip subtitle files.
# https://stackoverflow.com/a/8811800/5965450
if [[ "${files_before#*${file}}" == "${files_before}" ]]; then
echo "${file/${download_dir}\//}" | sed 's/#/_/g' \
echo "${file/${download_dir}\//}" \
>> "${download_dir}/New_${time}.m3u"
fi
done <<<"${files_after}"