monschichi / plex_downloader Goto Github PK
View Code? Open in Web Editor NEWdownload files from plex server
License: Apache License 2.0
download files from plex server
License: Apache License 2.0
I have the script running as intended, and it is successfully scanning the files it needs to download. However, the resulting video files are each only 85 bytes in size. Does the script need to be updated to access the video files correctly for download?
--playlist-remove cleanup playlist after downloading
/usr/local/bin/downloader:261: DeprecationWarning: Call to deprecated function or method "removeItem", use "removeItems" instead.
pd.process_playlist(playlist=pl, remove=args.playlist_remove) | 0/1
WARNING:plexapi:Call to deprecated function or method "removeItem", use "removeItems" instead.
video count: 0%| | 0/1
Traceback (most recent call last):
File "/usr/local/bin/downloader", line 261, in
pd.process_playlist(playlist=pl, remove=args.playlist_remove)
File "/usr/local/bin/downloader", line 56, in process_playlist
playlist.removeItem(video)
File "/home/ubuntu/.local/lib/python3.8/site-packages/plexapi/utils.py", line 506, in wrapper
return func(*args, kwargs)
File "/home/ubuntu/.local/lib/python3.8/site-packages/plexapi/playlist.py", line 215, in removeItem
self.removeItems(item)
File "/home/ubuntu/.local/lib/python3.8/site-packages/plexapi/playlist.py", line 237, in removeItems
self._server.query(key, method=self._server._session.delete)
File "/home/ubuntu/.local/lib/python3.8/site-packages/plexapi/server.py", line 667, in query
raise NotFound(message)
plexapi.exceptions.NotFound: (404) not_found; https://***.plex.direct:42518/playlists/699952/items/None <title>Not Found</title>
sorry total noob, I'm getting this message:
Traceback (most recent call last):
File "./downloader.py", line 198, in <module>
authentication = netrc.netrc().authenticators('plex')
File "/usr/lib/python3.8/netrc.py", line 30, in __init__
self._parse(file, fp, default_netrc)
File "/usr/lib/python3.8/netrc.py", line 104, in _parse
raise NetrcParseError(
netrc.NetrcParseError: ~/.netrc access too permissive: access permissions must restrict access to only the owner (/root/.netrc, line 3)
I'm sure it has to do with how and where I'm setting up the .netrc
file?
any help or direction would be appreciated
Thank you for this lovely piece of work.
I have tried to download some stuff from a server I have access to and I have noticed some issues. I would like to make some feature requests if it is possible at all. I have no experience in programming so some of these might be weird. Apologies in advance for that.
I've noticed that downloading from any libraries or media titles with special characters in the name (/, & and ! specifically) will fail.
pd.process_playlist(playlist=playlist, remove=args.playlist_remove)
File "/.../plex_downloader/downloader.py", line 48, in process_playlist
self.video_episodes(video=video)
File "/.../plex_downloader/downloader.py", line 69, in video_episodes
self.video_parts(video=video)
File "/.../plex_downloader/downloader.py", line 90, in video_parts
self.download_pics(video=video, path=path, filename=filename)
File "/.../plex_downloader/downloader.py", line 106, in download_pics
self.download(url=video.artUrl, path=path, filename=artfilename, title='thumbnail')
File "/.../plex_downloader/downloader.py", line 136, in download
self.curl.perform()
pycurl.error: (33, "HTTP server doesn't seem to support byte ranges. Cannot resume.")
Downloading thumbnail: 1%|โ | 1.00/129 [00:00<00:21, 6.08B/s]```
EDIT: Issue closed, it appears the cause was a current authentication issue on the Plex end that keeps knocking out server connectivity.
I have 500MB download and 500MB upload speeds.
I'm downloading from a Friend's plex media server, who has 1GB up and down.
However, the download speed is always under 20MB.
My speed test:
Speedtest by Ookla
Server: Nitel - Los Angeles, CA (id = 12191)
ISP: Frontier Communications
Latency: 4.82 ms (1.22 ms jitter)
Download: 473.31 Mbps (data used: 243.1 MB )
Upload: 494.73 Mbps (data used: 899.3 MB )
Packet Loss: 0.0%
It must be something with the app? Any downloads outside are fine and fast. Running plex_downloader on Ubuntu
Hi,
I'm trying to download from my friends shared library.
What is the --section
parameter? How can I find it for my friends library?
Not sure what to set here, it's required.
Check if we can download other files, e.g. subtitles, covers
move download to something new which enables new features:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.