Skip to content

Commit e00d344

Browse files
authored
fix bug caused by fienames starting with - (spotDL#1413)
1 parent 40f6f7a commit e00d344

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spotdl/download/ffmpeg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ async def convert(
6161
# ! sampled length of songs matches the actual length (i.e. a 5 min song won't display
6262
# ! as 47 seconds long in your music player, yeah that was an issue earlier.)
6363

64-
downloaded_file_path = str(downloaded_file_path)
65-
converted_file_path = str(converted_file_path)
64+
downloaded_file_path = str(downloaded_file_path.absolute())
65+
converted_file_path = str(converted_file_path.absolute())
6666

6767
formats = {
6868
"mp3": ["-codec:a", "libmp3lame"],

0 commit comments

Comments
 (0)