diff --git a/SpotifyRecorder.py b/SpotifyRecorder.py index 79252c9e3dbb17937ba4e9a425c1151bd4adaa31..d8359d726be6908a31feca056062ee59902235ae 100644 --- a/SpotifyRecorder.py +++ b/SpotifyRecorder.py @@ -164,6 +164,7 @@ class SpotifyRecorder: def __determine_file_name(self, index: int, track) -> str: artists = self.__join_artists(track) fileName = f'{index} - {artists} - {track["track"]["name"]}' + fileName = fileName.replace('/', '_') return os.path.join(self._destinationFolder, fileName) @staticmethod