Open pierreay opened 2 months ago
Hi! Thanks for the PR. I've left a comment or two. Would you also be able to add a test that fails under the old code and succeeds with the new?
I'm not familiar with unit tests in Python, but since you ask, I will give a try!
I added the appropriate test case! ;)
Description
Fix extension substitution inside path of the exported playlist.
Before this, the exported playlist contained relative paths pointing to the converted files BUT the extension were not substituted comparing to before and the after the conversion. Therefore, running the playlist will fail for files which have been converted and where extension have changed.
Example:
/path/to/library/artist.flac
to/path/to/converted/artist.mp3
using the-m playlist.m3u
command-line flag./path/to/converted/artist.flac
inside.To Do