nightly-3bcc539b-ls249
Pre-releaseCI Report:
https://ci-tests.linuxserver.io/linuxserver/beets/nightly-3bcc539b-ls249/index.html
LinuxServer Changes:
No changes
Remote Changes:
Feat: Smartplaylist: Add dest_regen option for regenerating destination path (#5621)
Problem
- When items are imported into the library in a don't copy-move mode
(-C -Moptions), they will be registered inside the Beets database
using their original paths. However, during subsequent processing
(e.g., aconvertoperation), a path following the Beets path format
can be generated. - When generating playlists using
smartplaylistplugin, only the path
registered inside the Beets database (the original path) can be use
inside the output playlist. This block the compatibility with other
plugins.
Solution
I added a a new optional configuration option known as dest_regen
(as well as its equivalent dest-regen on the CLI) to regenerate
items' path in the generated playlist instead of using the ones of the
library, just like a convert or a move operation would have done.
This operation will happen before the relative_to and prefix
options, which makes sense to do so and not in another order, otherwise
this new option (dest_regen)) would overwrite the desired behavior
of the other mentioned options (relative_to and prefix). It is
then helpful to generate playlists compatible with the convert
plugin.