diff --git a/streamrip/media/album.py b/streamrip/media/album.py index bdc3dc4..92a3051 100644 --- a/streamrip/media/album.py +++ b/streamrip/media/album.py @@ -106,4 +106,5 @@ def _album_folder(self, parent: str, meta: AlbumMetadata) -> str: meta.format_folder_path(formatter), config.filepaths.restrict_characters ) - return os.path.join(parent, folder) + # limit to 255 characters (max filename length) + return os.path.join(parent, folder[:254])