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

NotADirectoryError: [WinError 267] The directory name is invalid #11

Open
tania010 opened this issue Oct 7, 2023 · 0 comments
Open

Comments

@tania010
Copy link

tania010 commented Oct 7, 2023

Getting the following error because it's trying to create a folder with ":" in the name.
using --original-filename does not help. any way around this?

Found 1 servers
Getting urls of content to download.
Found 1 media content to download
Directories don't exists, creating folders
Traceback (most recent call last):
File "E:\plexmedia-downloader\main.py", line 303, in
plex.command_line()
File "E:\plexmedia-downloader\main.py", line 295, in command_line
self.download()
File "E:\plexmedia-downloader\main.py", line 228, in download
os.makedirs(content['folder'])
File "", line 225, in makedirs
NotADirectoryError: [WinError 267] The directory name is invalid: 'Christopher Columbus: The Discovery'

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