Skip to content
Snippets Groups Projects
Commit 98bea529 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

SpotifyRecorder: escape backslashes in filenames

parent 24ffed75
Branches
Tags
No related merge requests found
......@@ -185,6 +185,7 @@ class SpotifyRecorder:
artists = self.__join_artists(track)
fileName = f'{index} - {artists} - {track["track"]["name"]}'
fileName = fileName.replace('/', '_')
fileName = fileName.replace('\\', '_')
fileName = fileName.replace('"', '')
fileName = fileName.replace(':', '_')
fileName = fileName.replace('*', '_')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment