Hi ilyaz,
Could you please (edit your first post maybe and) describe the aim of your software?
Regards
NicoLeOca
Hi ilyaz,
Could you please (edit your first post maybe and) describe the aim of your software?
Regards
NicoLeOca
OK so I'm soo close !
I have plexdownload installed and I can see the via the webui the tv shows and movies that should be syncing, but I'm not getting any shows/movies ACTUALLY syncing
My Setup I have a plex sever at my office and one at home, and I'm trying to sync content from my office to my home server
Question under the "General" part of the ini file should it contain the IP and port of the sever at my office? ( this is what I'm assuming)
When I launch the plexdl.py I get
Starting PlexDownloader Web Manager...
PlexDownloader - v0.03
Fetching myPlex authentication token.
Fetching myPlex authentication token.
77 TV Shows Found in Your Wanted List...
88 Total TV Shows Found
24 Found in Wanted List
Episode is unwatched...
24 Season 9 Episode 1
Something went wrong
Plex Download failed at 2015-02-03 17:06:36
Retrying in 600 Seconds...
i'm trying to sync some tv show.
I choose it from web gui, when the sync start, PlexDownloader syncs only the last serie for each tv show.
this is the logs:
[/share/Web/PlexDownloader] # python plexdl.py Starting PlexDownloader Web Manager... PlexDownloader - v0.03 9 TV Shows Found in Your Wanted List... 21 Total TV Shows Found Alcatraz Not Found in Wanted List. Black Mirror Found in Wanted List Skipping all leaves. Ignoring Black Mirror Season. Black Mirror Season 2 Episode 1 Downloading Black Mirror Season 2 Episode 1... http://0.0.0.0:4711/ Black Mirror Season 2 Episode 2 Downloading Black Mirror Season 2 Episode 2... Black Mirror Season 2 Episode 3 Downloading Black Mirror Season 2 Episode 3... Boardwalk Empire Not Found in Wanted List. Breaking Bad - Reazioni Collaterali Found in Wanted List Skipping all leaves. Ignoring Breaking Bad - Reazioni Collaterali Season. Ignoring Breaking Bad - Reazioni Collaterali Season. Ignoring Breaking Bad - Reazioni Collaterali Season. Ignoring Breaking Bad - Reazioni Collaterali Season. Breaking Bad - Reazioni Collaterali Season 5 Episode 1 Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 1... 2.225.192.101:55211 - - [05/Feb/2015 11:48:51] "HTTP/1.1 GET /" - 200 OK 2.225.192.101:36553 - - [05/Feb/2015 11:48:51] "HTTP/1.1 GET /static/bootstrap-theme.min.css" - 200 2.225.192.101:48069 - - [05/Feb/2015 11:48:51] "HTTP/1.1 GET /static/bootstrap.min.css" - 200 2.225.192.101:36874 - - [05/Feb/2015 11:48:51] "HTTP/1.1 GET /static/ie-emulation-modes-warning.js" - 2002.225.192.101:37236 - - [05/Feb/2015 11:48:51] “HTTP/1.1 GET /static/theme.css” - 200
2.225.192.101:36019 - - [05/Feb/2015 11:48:51] “HTTP/1.1 GET /static/ie10-viewport-bug-workaround.js” - 2002.225.192.101:36874 - - [05/Feb/2015 11:48:51] “HTTP/1.1 GET /favicon.ico” - 404 Not Found
2.225.192.101:36874 - - [05/Feb/2015 11:48:51] “HTTP/1.1 GET /favicon.ico” - 404 Not Found
2.225.192.101:55211 - - [05/Feb/2015 11:48:53] “HTTP/1.1 GET /static//bootstrap.min.js” - 200
2.225.192.101:48069 - - [05/Feb/2015 11:48:53] “HTTP/1.1 GET /static/docs.min.js” - 200
2.225.192.101:55211 - - [05/Feb/2015 11:48:54] “HTTP/1.1 GET /assets/flash/ZeroClipboard.swf” - 404 Not Found
Breaking Bad - Reazioni Collaterali Season 5 Episode 2
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 2…
Breaking Bad - Reazioni Collaterali Season 5 Episode 3
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 3…
Breaking Bad - Reazioni Collaterali Season 5 Episode 4
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 4…
Breaking Bad - Reazioni Collaterali Season 5 Episode 5
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 5…
Breaking Bad - Reazioni Collaterali Season 5 Episode 6
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 6…
Breaking Bad - Reazioni Collaterali Season 5 Episode 7
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 7…
Breaking Bad - Reazioni Collaterali Season 5 Episode 8
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 8…
Breaking Bad - Reazioni Collaterali Season 5 Episode 9
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 9…
Breaking Bad - Reazioni Collaterali Season 5 Episode 10
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 10…
Breaking Bad - Reazioni Collaterali Season 5 Episode 11
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 11…
Breaking Bad - Reazioni Collaterali Season 5 Episode 12
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 12…
Breaking Bad - Reazioni Collaterali Season 5 Episode 13
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 13…
Breaking Bad - Reazioni Collaterali Season 5 Episode 14
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 14…
Breaking Bad - Reazioni Collaterali Season 5 Episode 15
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 15…
Breaking Bad - Reazioni Collaterali Season 5 Episode 16
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 16…
C’era una volta Not Found in Wanted List.
Dexter Found in Wanted List
Skipping all leaves.
Ignoring Dexter Season.
Ignoring Dexter Season.
Ignoring Dexter Season.
Ignoring Dexter Season.
Ignoring Dexter Season.
Ignoring Dexter Season.
Ignoring Dexter Season.
Dexter Season 8 Episode 1
Downloading Dexter Season 8 Episode 1…
^CSomething went wrong downloading this episode… Deleting and retrying on next episode scan!
Dexter Season 8 Episode 2
Downloading Dexter Season 8 Episode 2…
Dexter Season 8 Episode 3
Downloading Dexter Season 8 Episode 3…
Cool project! I might steal something for my htpc manager fork :)
Sent from my iPhone using Tapatalk
Sounds good!
Got the software running and looks to work well. What would be the best way to go about adding an extra movie section (in my case Kid's Movies), I don't use Music or Pictures so I could cannibalise those.
Probably just run another copy of Plex Downloader on another port and set the movie section on there to your "Kid's Movies" section and disable all the other sections. Anything else would require changes to the code.
nvm issued resolved.
Awesome!
Hi ilyaz,
Could you please (edit your first post maybe and) describe the aim of your software?
Regards
NicoLeOca
Plex Downloader provides an interface so that users can sync content (transcoded/non-transcoded) from their Plex Media Server to client computers/devices. There is currently no support other than this for desktop syncing that I know of. This all originated because I wanted a way to sync content to my MacBook and there was no other way to do this. I also saw there were requests on the forum for server to server sync functionality, and this can be accomplished through Plex Downloader by utilizing the full sync features. Other people use it to pre-transcode their media onto NAS devices so they can use PMS on their NAS with direct play without transcoding. Probably other stuff I forgot but yep !
OK so I'm soo close !
I have plexdownload installed and I can see the via the webui the tv shows and movies that should be syncing, but I'm not getting any shows/movies ACTUALLY syncing
My Setup I have a plex sever at my office and one at home, and I'm trying to sync content from my office to my home server
Question under the "General" part of the ini file should it contain the IP and port of the sever at my office? ( this is what I'm assuming)
When I launch the plexdl.py I get
Starting PlexDownloader Web Manager...
PlexDownloader - v0.03
Fetching myPlex authentication token.
Fetching myPlex authentication token.
77 TV Shows Found in Your Wanted List...
88 Total TV Shows Found
24 Found in Wanted List
Episode is unwatched...
24 Season 9 Episode 1
Something went wrong
Plex Download failed at 2015-02-03 17:06:36
Retrying in 600 Seconds...
just not sure where to look
Not really sure, you could comment out some of the code in the plexdl.py to figure out what the actual error is. Might just update the git with better error reporting. Most likely it's just because the file isn't available or you are using a shared myplex.
i'm trying to sync some tv show.
I choose it from web gui, when the sync start, PlexDownloader syncs only the last serie for each tv show.
this is the logs:[/share/Web/PlexDownloader] # python plexdl.py Starting PlexDownloader Web Manager... PlexDownloader - v0.03 9 TV Shows Found in Your Wanted List... 21 Total TV Shows Found Alcatraz Not Found in Wanted List. Black Mirror Found in Wanted List Skipping all leaves. Ignoring Black Mirror Season. Black Mirror Season 2 Episode 1 Downloading Black Mirror Season 2 Episode 1... http://0.0.0.0:4711/ Black Mirror Season 2 Episode 2 Downloading Black Mirror Season 2 Episode 2... Black Mirror Season 2 Episode 3 Downloading Black Mirror Season 2 Episode 3... Boardwalk Empire Not Found in Wanted List. Breaking Bad - Reazioni Collaterali Found in Wanted List Skipping all leaves. Ignoring Breaking Bad - Reazioni Collaterali Season. Ignoring Breaking Bad - Reazioni Collaterali Season. Ignoring Breaking Bad - Reazioni Collaterali Season. Ignoring Breaking Bad - Reazioni Collaterali Season. Breaking Bad - Reazioni Collaterali Season 5 Episode 1 Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 1... 2.225.192.101:55211 - - [05/Feb/2015 11:48:51] "HTTP/1.1 GET /" - 200 OK 2.225.192.101:36553 - - [05/Feb/2015 11:48:51] "HTTP/1.1 GET /static/bootstrap-theme.min.css" - 200 2.225.192.101:48069 - - [05/Feb/2015 11:48:51] "HTTP/1.1 GET /static/bootstrap.min.css" - 200 2.225.192.101:36874 - - [05/Feb/2015 11:48:51] "HTTP/1.1 GET /static/ie-emulation-modes-warning.js" - 2002.225.192.101:37236 - - [05/Feb/2015 11:48:51] “HTTP/1.1 GET /static/theme.css” - 200
2.225.192.101:36019 - - [05/Feb/2015 11:48:51] “HTTP/1.1 GET /static/ie10-viewport-bug-workaround.js” - 2002.225.192.101:36874 - - [05/Feb/2015 11:48:51] “HTTP/1.1 GET /favicon.ico” - 404 Not Found
2.225.192.101:36874 - - [05/Feb/2015 11:48:51] “HTTP/1.1 GET /favicon.ico” - 404 Not Found
2.225.192.101:55211 - - [05/Feb/2015 11:48:53] “HTTP/1.1 GET /static//bootstrap.min.js” - 200
2.225.192.101:48069 - - [05/Feb/2015 11:48:53] “HTTP/1.1 GET /static/docs.min.js” - 200
2.225.192.101:55211 - - [05/Feb/2015 11:48:54] “HTTP/1.1 GET /assets/flash/ZeroClipboard.swf” - 404 Not Found
Breaking Bad - Reazioni Collaterali Season 5 Episode 2
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 2…
Breaking Bad - Reazioni Collaterali Season 5 Episode 3
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 3…
Breaking Bad - Reazioni Collaterali Season 5 Episode 4
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 4…
Breaking Bad - Reazioni Collaterali Season 5 Episode 5
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 5…
Breaking Bad - Reazioni Collaterali Season 5 Episode 6
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 6…
Breaking Bad - Reazioni Collaterali Season 5 Episode 7
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 7…
Breaking Bad - Reazioni Collaterali Season 5 Episode 8
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 8…
Breaking Bad - Reazioni Collaterali Season 5 Episode 9
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 9…
Breaking Bad - Reazioni Collaterali Season 5 Episode 10
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 10…
Breaking Bad - Reazioni Collaterali Season 5 Episode 11
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 11…
Breaking Bad - Reazioni Collaterali Season 5 Episode 12
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 12…
Breaking Bad - Reazioni Collaterali Season 5 Episode 13
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 13…
Breaking Bad - Reazioni Collaterali Season 5 Episode 14
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 14…
Breaking Bad - Reazioni Collaterali Season 5 Episode 15
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 15…
Breaking Bad - Reazioni Collaterali Season 5 Episode 16
Downloading Breaking Bad - Reazioni Collaterali Season 5 Episode 16…
C’era una volta Not Found in Wanted List.
Dexter Found in Wanted List
Skipping all leaves.
Ignoring Dexter Season.
Ignoring Dexter Season.
Ignoring Dexter Season.
Ignoring Dexter Season.
Ignoring Dexter Season.
Ignoring Dexter Season.
Ignoring Dexter Season.
Dexter Season 8 Episode 1
Downloading Dexter Season 8 Episode 1…
^CSomething went wrong downloading this episode… Deleting and retrying on next episode scan!
Dexter Season 8 Episode 2
Downloading Dexter Season 8 Episode 2…
Dexter Season 8 Episode 3
Downloading Dexter Season 8 Episode 3…
You need to change your tvtype in the ini. You currently have it to sync the most recent seasons of all your shows. I think you need to change it to "all" if you want it to sync everything.
thanks ilyaz, i missed that parameter :)
Does this allow sync from shared servers like the Android/iOS clients?
Does this allow sync from shared servers like the Android/iOS clients?
No. You can only download from servers that your account controls.
ilyaz, I love this! I was looking to do the same thing for a friend and thought I was going to be down in the weeds with rsync scripts but this seems to work great!
I was wondering if maybe it could be expanded for a little more mangement or at least per-show sync settings. For example, I was to sync some shows only to have the last X episodes, other I want to sync all of them then delete them manually at some later date (to free up space). Do you have any plans to allow for per-show sync settings and/or the ability to delete shows from within the web interface? I'm planning on just handling those cases with some separate scripts for now so no rush just wanted to know your thoughts.
Excuse me for being stupid/blind.
I was wondering if there is a way to set the movie section to just download everything?
I don't think there is an option from the webinterface, although in user.ini the fullsync variable is set to enable in the movie settings, I stupidly assumed that would cover it.
Any help would be greatly appreciated.
Cheers,
flipdee
Whoops, Patience is a virtue, took a while to get started but syncing them all now.
If new movies are added to the library, will plexdownloader automatically sync them?
ilyaz, I love this! I was looking to do the same thing for a friend and thought I was going to be down in the weeds with rsync scripts but this seems to work great!
I was wondering if maybe it could be expanded for a little more mangement or at least per-show sync settings. For example, I was to sync some shows only to have the last X episodes, other I want to sync all of them then delete them manually at some later date (to free up space). Do you have any plans to allow for per-show sync settings and/or the ability to delete shows from within the web interface? I'm planning on just handling those cases with some separate scripts for now so no rush just wanted to know your thoughts.
Maybe eventually, haven't even had time to get the current fix list up yet, however I know this is requested by a lot of people so I'll add it to the long list of stuff to do when I get around to it :).
Excuse me for being stupid/blind.
I was wondering if there is a way to set the movie section to just download everything?
I don't think there is an option from the webinterface, although in user.ini the fullsync variable is set to enable in the movie settings, I stupidly assumed that would cover it.
Any help would be greatly appreciated.
Cheers,
flipdee
Whoops, Patience is a virtue, took a while to get started but syncing them all now.
If new movies are added to the library, will plexdownloader automatically sync them?
Good job getting it working, there's a lot of options so just go through them carefully to find the ones you need.
Yes, if you have fullsync enabled it will sync new movies on the timer you have specified. (default is about 10 minutes)
Just a quick one, while downloading movies where the title or file-name contains characters such as ":" (Die Hard: With A Vengance) or"³" (Aliens³) the download fails.Is this a limitation which can be overcome or will I need to remove all offending characters from my plex library?
Cheers,
flipdee
Just a quick one, while downloading movies where the title or file-name contains characters such as ":" (Die Hard: With A Vengance) or"³" (Aliens³) the download fails.Is this a limitation which can be overcome or will I need to remove all offending characters from my plex library?
Cheers,
flipdee
There are known issues with special characters that no one has fixed yet, however I'm not sure your issue relates. What do you mean by it fails? Are you talking about when you click in the WebUI or while using fullsync? Need more specifics, however you can try ECS470's branch in which he attempted to fix some issues regarding special characters, however this lead to many issues for others so I had to revert it until we are able to figure it out.
@ilaz,
Just found this today. Great script. One question did you build this in Python 2.7 or 3. The reason I ask is that I have loaded it to give it a try and it downloads fine. When I delete a Movie or TV series, it does not delete the files of of the computer. A quick scan through the code makes it look like it should delete the files from the PC when you delete the sync. I currently have an older version of Python 2.7 installed. Not sure if this is a version issue or not. I wanted to ask before I upgraded my version.
@ilaz,
Just found this today. Great script. One question did you build this in Python 2.7 or 3. The reason I ask is that I have loaded it to give it a try and it downloads fine. When I delete a Movie or TV series, it does not delete the files of of the computer. A quick scan through the code makes it look like it should delete the files from the PC when you delete the sync. I currently have an older version of Python 2.7 installed. Not sure if this is a version issue or not. I wanted to ask before I upgraded my version.
It should work fine with python 2.7. I haven't tried it on 3 so I'm not sure of the compatibility there. The code is written to not delete the files as that's how I originally wanted it. However in the next revision (when I get around to it) I will be adding this as a feature you can enable in the ini.
On a side note, I hope to get a few fixes up this weekend. No promises though!
UPDATE: PlexDownloader Version .04
NEW: File deletion when unsyncing [Optional Configuration VIA User.ini (deletefiles)] [DEFAULT: ENABLED]
NEW: Aligned Buttons w/ IMDB, Last.FM, Trailer Search, etc
NEW: Enhanced Logging
FIX: Issue adding movies with special characters in WebUI (Movies, TV Shows, Pictures, Music)
Fix: Wanted List Enumeration [PlexDL/WebUI] (Movies, TV Shows, Pictures, Music)
FIX: Some WebUI logging errors.
UPCOMING FEATURES:
Currently Downloading
Download History
Force Check for Content VIA WebUI
Custom Sync VIA WebUI
Rethemed WEBUI
myPlex Token Caching
WARNING:
For current users, these changes could mean a resync of items with special characters that are in their library.
NEW: AutoScrape Functionality
This feature will automatically add movies and tvshows from plex to your wanted list, totally automating the sync process.
Movies Supported Types [Scrape -> MovieSearch]:
disable, unwatched, newest (Recently Released), recentlyAdded, recentlyViewed, onDeck
TV Supported Types [Scrape -> TVSearch]:
disable, recentlyViewedShows
Limits can be imposed by editing the movielimit and tv limit in the ini. This will make it so only that maximum number of movies or tv shows will be added to your wanted list.
NEW: WebUI Force Search
NEW: myPlex Token Caching
Couple other small bug fixes.
Will this tool only work for the PMS admin? If I share my library with a friend, can they use this tool to sync my content to their machine? They have terrible bandwidth and believe this will work better than the native Plex download. Is this the case?
How does this behave differently than the native Plex download feature?
Hey there, the latest version of plex downloader seems to be great so far.
Quick question. I noticed some SD TV content (mkv container)
Hi Ilyaz,
I was wondering, how do you begin to make this project is it all made by yourself from scratch with XML and python ? Have you use some Plex API ?
I was wondering because i was reading your work to try to make some improvement and i'am reading also the plex api documentation but for now i don't see how do you begin (with or without the api documentation).
Thanks for your work.
Sorry for my english :-P