when in the path, one of the folders starts or ends with a dot,
then an exception of type FileNotFoundError is thrown.
Under Windows, to create a folder starting with a dot, you must add a dot at the end of the folder. The end dot is automatically deleted.
It is not recommended to create a folder ending with a dot, this causes an error in the ntfs addressing.
The simplest solution is to systematically delete the dots at the beginning and at the end of the folder.
System OS
Windows
Python Version
3.9 (CPython)
Install Source
pip / PyPi
Install version / commit hash
3.9.0
Expected Behavior vs Actual Behavior
Under Windows, to create a folder starting with a dot, you must add a dot at the end of the folder. The end dot is automatically deleted. It is not recommended to create a folder ending with a dot, this causes an error in the ntfs addressing.
The simplest solution is to systematically delete the dots at the beginning and at the end of the folder.
Exemple : spotdl https://open.spotify.com/track/3EGhPWuff3qSJ6E3FDQSQZ --path-template "{artist}{album}{artist} - {album} - {title}.{ext}"
Output : FileNotFoundError: [WinError 3] Le chemin d’accès spécifié est introuvable: 'Sigur Rós\Takk...\Sigur Rós - Takk... - Með Blóðnasir.mp3'
Steps to reproduce
open a windows command prompt tape : spotdl https://open.spotify.com/track/3EGhPWuff3qSJ6E3FDQSQZ --path-template "{artist}{album}{artist} - {album} - {title}.{ext}"
Traceback
Other details
No response