Open WMP opened 8 months ago
I am thinking of a similar code:
diff --git a/streamrip/media/playlist.py b/streamrip/media/playlist.py
index 2e84a85..3e3f8a0 100644
--- a/streamrip/media/playlist.py
+++ b/streamrip/media/playlist.py
@@ -27,6 +27,7 @@ from ..metadata import (
from .artwork import download_artwork
from .media import Media, Pending
from .track import Track
+from .album import PendingAlbum
logger = logging.getLogger("streamrip")
@@ -71,6 +72,10 @@ class PendingPlaylistTrack(Pending):
meta.tracknumber = self.position
if c.set_playlist_to_album:
album.album = self.playlist_name
+ else:
+ album_folder = PendingAlbum._album_folder(self, self.folder, album)
+ self.folder = album_folder
+ os.makedirs(album_folder, exist_ok=True)
quality = self.config.session.get_source(self.client.source).quality
try:
Not a bug. More like an implementation of a playlist_path
key in config.
Describe the bug
I have a playlist on deezer with various tracks and bands, I want them to download as: {Artist}/{Album}/{Artist} - {Track}.mp3 . Unfortunately, when I use the option
set_playlist_to_album = false
they still download to {Playlist}/{Artist} - {Track}.mp3Command Used
Debug Traceback
Config File
Operating System
Linux
streamrip version
2.0.5
Screenshots and recordings
No response
Additional context
No response