danstis / plexdownloader Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ilyaz/plexdownloader
Desktop sync client and server-to-server sync client
This project forked from ilyaz/plexdownloader
Desktop sync client and server-to-server sync client
When clicking the force search button on the web interface, the following error occurs:
In the log output the following error occurs:
`Force Searching TV Shows...
11 TV Shows Found in Your Wanted List...
Traceback (most recent call last):
File "G:\Git_Repos\PlexDownloader\web\application.py", line 239, in process
return self.handle()
File "G:\Git_Repos\PlexDownloader\web\application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "G:\Git_Repos\PlexDownloader\web\application.py", line 462, in _delegate
return handle_class(cls)
File "G:\Git_Repos\PlexDownloader\web\application.py", line 438, in handle_class
return tocall(*args)
File "G:\Git_Repos\PlexDownloader\webui.py", line 204, in GET
tvShowSearch()
File "G:\Git_Repos\PlexDownloader\lib.py", line 253, in tvShowSearch
website = urllib.urlopen(tvhttp)
File "C:\Python27\lib\urllib.py", line 87, in urlopen
return opener.open(url)
File "C:\Python27\lib\urllib.py", line 213, in open
return getattr(self, name)(url)
File "C:\Python27\lib\urllib.py", line 457, in open_https
return self.http_error(url, fp, errcode, errmsg, headers)
File "C:\Python27\lib\urllib.py", line 377, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "C:\Python27\lib\urllib.py", line 691, in http_error_401
errcode, errmsg, headers)
File "C:\Python27\lib\urllib.py", line 386, in http_error_default
raise IOError, ('http error', errcode, errmsg, headers)
IOError: ('http error', 401, 'Unauthorized', <httplib.HTTPMessage instance at 0x00000000037BE808>)
127.0.0.1:59942 - - [19/Feb/2017 11:17:13] "HTTP/1.1 GET /force" - 500 Internal Server Error`
As a myPlex user with Shared Libraries,
I would like to be prompted which shared library I want to authenticate against on first start.
This could potentially end up in the settings on the web interface.
With the current behaviour, if I have multiple shared libraries the script selects token from the list based on the hardcoded index in the script. (myplex.py)
https://github.com/danstis/PlexDownloader/blob/master/myplex.py#L57-L61
Version should be update, maybe starting from v0.8.0, as this is above the v0.07 that is currently in the plexdl.py file, and above the v0.04 on the web site.
In myplex.py #58
authtoken is not in the tokens array so tokens.remove(authtoken) creates and exception.
Failed to login to myPlex: list.remove(x): x not in list
Something went wrong: coercing to Unicode: need string or buffer, NoneType found
Traceback (most recent call last):
File "plexdl.py", line 1059, in
x.search()
File "plexdl.py", line 356, in search
xmldoc = minidom.parse(urllib.urlopen(constructPlexUrl("/library/sections/"+self.plexid+"/all")))
File "plexdl.py", line 895, in constructPlexUrl
http +="?X-Plex-Token="+plextoken
TypeError: coercing to Unicode: need string or buffer, NoneType found
Create a new CHANGELOG file for version tracking
As a user, I would like to see the logs displayed in the web interface.
The settings in the user.ini file should be editable in the web interface
In the web interface, the movies/TV Shows etc. buttons should scroll to the relevant section on mobile devices.
PlexDownloader scans the library properly and can pull files, but once the video file download completes it's automatically deleting it, but keeping subtitle files. Plexdownloader does not report any errors, and after sleep it will attempt to download the file again.
Hi,
greate work so far. I found one bug!
replace fp = open(itemfile,"r") with fp = codecs.open(itemfile,"r","utf-8") in the routine ReadItemFile in plexdl.py.
so you are able to work with umlauts.
On load of the web server the following error is raised in the log:
127.0.0.1:65501 - - [19/Feb/2017 12:42:38] "HTTP/1.1 GET /assets/flash/ZeroClipboard.swf" - 404 Not Found
Your url is incorrect for the Plex Media Center URL this will take you there properly:
Hi,
I'm getting the below error now when I attempt to use PlexDownloader. This occurs with both shared and owned servers, both local and remote. Currently I'm running Plex Server 1.2.2.2857 and Mac OS Sierra
Something went wrong: ('http error', 401, 'Unauthorized', <httplib.HTTPMessage instance at 0x1051a6a70>)
Traceback (most recent call last):
File "PlexDownloader-master /plexdl.py", line 1062, in
x.search()
File "PlexDownloader-master /plexdl.py", line 201, in search
xmldoc = minidom.parse(urllib.urlopen(constructPlexUrl("/library/sections/"+unicode(self.plexid)+"/all")))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 87, in urlopen
return opener.open(url)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 213, in open
return getattr(self, name)(url)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 364, in open_http
return self.http_error(url, fp, errcode, errmsg, headers)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 377, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 689, in http_error_401
errcode, errmsg, headers)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 386, in http_error_default
raise IOError, ('http error', errcode, errmsg, headers)
IOError: ('http error', 401, 'Unauthorized', <httplib.HTTPMessage instance at 0x1051a6a70>)
Plex Download failed at 2016-10-21 18:18:20
Retrying in 600 Seconds...
When transcoding is on, I only get the first audio track in movies and TV shows. It would be great if one could select which audio (and subtitle) tracks to transcode.
The version info should be maintained somewhere and referenced in both the web and logging.
As a user, on the web interface I would like the selected TV Shows and Movies to be sorted alphabetically.
As a user, I would like my password to not be stored in plain text in the user.ini file.
As a user,
I would like the Web UI to automatically refresh, rather than only listing the shows/movies on startup.
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.