Giter Site home page Giter Site logo

plexdownloader's Introduction

Metrics

@danstis's Holopin board

plexdownloader's People

Contributors

danstis avatar ecs470 avatar ilyaz avatar jtegiffel avatar kurtisvargas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

plexdownloader's Issues

Force sync on web interface causes error

When clicking the force search button on the web interface, the following error occurs:
image

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`

App crashing during login

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

movie files being deleted after download completion

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.

umlauts in movie list

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.

Web server gives error on load

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

Something went wrong: ('http error', 401, 'Unauthorized', <httplib.HTTPMessage instance at 0x1051a6a70>)

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...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.