-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: [Errno 63] File name too long #894
Comments
Well, cool. Thanks for the heads up. Why don't you open a PR? |
I am not very experienced with how github and the pull request work. |
Haha, that's where I was a few months ago. I'll put up some simple instructions as to how generally go about contributing, weather your contributing here or elsewhere, it should help you out. Give me till evening. |
Please make a Some good PRs to look into:
If you're interested in making changes, let us know. If you still have any doubts as to how to contribute, we'll help out. The more contributors, the better spotDL can be. 😁 |
@fusiller ??? |
Hi,
names can be long ... Just happened to me downloading a file from an old celtic LP ( AR MAHR DALL)
Suggest to insert something like my quick fix :
convertedFileName = convertedFileName[0:250] # slice to avoid os file too long error
just after:
81 : convertedFileName = convertedFileName.replace('"', "'").replace(': ', ' - ')
in downloader.py
One might even try and check the host OS and adjust filename length accordingly : would be much more elegant.
Best regards
The text was updated successfully, but these errors were encountered: