diff --git a/streamrip/metadata/album.py b/streamrip/metadata/album.py index 6264939..3ff7a81 100644 --- a/streamrip/metadata/album.py +++ b/streamrip/metadata/album.py @@ -5,7 +5,7 @@ from dataclasses import dataclass from typing import Optional -from ..filepath_utils import clean_filename +from ..filepath_utils import clean_filename, clean_filepath from .covers import Covers from .util import get_quality_id, safe_get, typed @@ -78,7 +78,7 @@ def format_folder_path(self, formatter: str) -> str: "container": self.info.container, } - return clean_filename(formatter.format(**info)) + return clean_filepath(formatter.format(**info)) @classmethod def from_qobuz(cls, resp: dict) -> AlbumMetadata: