Skip to content
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

Closed
fusiller opened this issue Oct 15, 2020 · 5 comments
Closed

OSError: [Errno 63] File name too long #894

fusiller opened this issue Oct 15, 2020 · 5 comments

Comments

@fusiller
Copy link

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

@ghost
Copy link

ghost commented Oct 19, 2020

Well, cool. Thanks for the heads up. Why don't you open a PR?

@fusiller
Copy link
Author

I am not very experienced with how github and the pull request work.
maybe a little shy as well ;)

@ghost
Copy link

ghost commented Oct 21, 2020

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.

@ghost
Copy link

ghost commented Oct 21, 2020

Well, see this and this.

Please make a draft PR as soon as you start. We'll make sure your code is in-line with our core values, otherwise you might have to do a few of re-writes. And make the PR to next-rel-dev.

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. 😁

@ghost
Copy link

ghost commented Oct 29, 2020

@fusiller ???

@ghost ghost closed this as completed Oct 31, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant