Hey, on any library I select, I'm getting the below error.
I tried changing OVERWRITE to true but that's not solved it, looks like it's tryin to mkdir the movie name?
0: Films
1: TV Shows
2: UHD Movies
3: UHD TV Shows
Select Library: 2
←[94mLIBRARY:←[0m UHD Movies
←[94mASSETS:←[0m all
←[94mOVERWRITE:←[0m True
Getting library items...
←[94mITEM:←[0m Chamber of Secrets
Traceback (most recent call last):
File "C:\Users\Administrator\Downloads\plex-poster-exporter.py", line 174, in <module>
main(obj={})
File "C:\Python310\lib\site-packages\click\core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "C:\Python310\lib\site-packages\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File "C:\Python310\lib\site-packages\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Python310\lib\site-packages\click\core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "C:\Python310\lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "C:\Users\Administrator\Downloads\plex-poster-exporter.py", line 144, in main
plex.download(item.thumb, 'poster.jpg', path)
File "C:\Users\Administrator\Downloads\plex-poster-exporter.py", line 105, in download
if plexapi.utils.download(self.server._baseurl+url, self.account._token, filename=filename, savepath=path):
File "C:\Python310\lib\site-packages\plexapi\utils.py", line 321, in download
os.makedirs(savepath, exist_ok=True)
File "C:\Python310\lib\os.py", line 225, in makedirs
mkdir(name, mode)
FileExistsError: [WinError 183] Cannot create a file when that file already exists: 'E:\\4K Content\\Movies\\Harry Potter and the Chamber of Secrets (2002)\\Harry Potter and the Chamber of Secrets - Bluray-2160p {tmdb-672}.mkv'```
Hey, on any library I select, I'm getting the below error.
I tried changing OVERWRITE to true but that's not solved it, looks like it's tryin to mkdir the movie name?