Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ export PYTHONDEBUG=Y && ./texturecache.py c movies "artist"
- Querying 192.168.0.7:9090 for all Movies...
- 2013-03-23 12:21:07.439259: SENDING JSON REQUEST
- 2013-03-23 12:21:07.534405: BUFFER RECEIVED (len 468)
- 2013-03-23 12:21:07.534595: CONVERTING RESPONSE
- 2013-03-23 12:21:07.534741: CONVERSION COMPLETE, elapsed time: 0.095385 seconds
- 2013-03-23 12:21:07.534810: RECEIVED LIMITS: {u'start': 0, u'total': 1, u'end': 1}
- Movie: The Artist send: 'POST /jsonrpc HTTP/1.1\r\nHost: 192.168.0.7:8080\r\nAccept-Encoding: identity\r\nContent-Length: 161\r\nContent-Type: application/json\r\n\r\n{"jsonrpc": "2.0", "params": {"path": "image://smb%3a%2f%2fW7MC%2fHDfilms4%2fThe%20Artist%20(2011)%2ffanart.jpg/"}, "method": "Files.PrepareDownload", "id": "1"}'
- reply: 'HTTP/1.1 200 OK\r\n'
- header: Content-Length: 198
- header: Content-Type: application/json
- header: Date: Sat, 23 Mar 2013 12:21:07 GMT
- send: u'GET /image/image%3a%2f%2fsmb%253a%252f%252fW7MC%252fHDfilms4%252fThe%2520Artist%2520(2011)%252ffanart.jpg%2f HTTP/1.1\r\nHost: 192.168.0.7:8080\r\nAccept-Encoding: identity\r\n\r\n'
- reply: 'HTTP/1.1 200 OK\r\n'
- header: Content-Length: 402669
- header: Expires: Sun, 23 Mar 2014 12:21:07 GMT
- header: Date: Sat, 23 Mar 2013 12:21:07 GMT
- [ + fanart ]send: 'POST /jsonrpc HTTP/1.1\r\nHost: 192.168.0.7:8080\r\nAccept-Encoding: identity\r\nContent-Length: 192\r\nContent-Type: application/json\r\n\r\n{"jsonrpc": "2.0", "params": {"path": "image://http%3a%2f%2fd3gtl9l2a4fn1j.cloudfront.net%2ft%2fp%2foriginal%2fi0mpvMIIjyubXsVKug9vX0lYpnd.jpg/"}, "method": "Files.PrepareDownload", "id": "1"}'
- reply: ''
- Traceback (most recent call last):
- File "./texturecache.py", line 1341, in <module>
- main(sys.argv[1:])
- File "./texturecache.py", line 1304, in main
- libraryQuery("cache", argv[1], argv[2])
- File "./texturecache.py", line 355, in libraryQuery
- libraryAllMovies(action, filter, force, extraFields, rescan)
- File "./texturecache.py", line 482, in libraryAllMovies
- for artwork in art: loadImage(force, artwork, art[artwork], imgErrors)
- File "./texturecache.py", line 786, in loadImage
- URL = getImageURL(filename)
- File "./texturecache.py", line 763, in getImageURL
- data = sendJSON(REQUEST, "1")
- File "./texturecache.py", line 271, in sendJSON
- return json.loads(web.getresponse().read())
- File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse
- response.begin()
- File "/usr/lib/python2.7/httplib.py", line 407, in begin
- version, status, reason = self._read_status()
- File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
- raise BadStatusLine(line)
- httplib.BadStatusLine: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement