paddycarey/script.artwork.downloader — Issue #58: Error retreiving musicvideo info
Author: Drol
Created: 2012-01-04 23:55:25+00:00
State: open

Everything seems to be running fine scraping for movies and tv-shows, but then it fails on music videos. I have no music videos at all in my library.

00:51:50 T:2729401200 DEBUG: Artwork Downloader: Using JSON for retrieving musicvideo info
00:51:50 T:2729401200 DEBUG: JSONRPC: Incoming request: {"jsonrpc": "2.0", "method": "VideoLibrary.GetMusicVideos", "params": {"properties": ["file", "artist", "album", "track", "runtime", "year", "genre"], "sort": { "method": "album" } }, "id": 1}
00:51:50 T:2729401200 DEBUG: JSONRPC: Calling videolibrary.getmusicvideos
00:51:50 T:2729401200 DEBUG: GetMusicVideosByWhere query = select * from musicvideoview
00:51:50 T:2729401200 DEBUG: GetMusicVideosByWhere time for actual SQL query = 1
00:51:50 T:2729401200 INFO: -->Python script returned the following error<--
00:51:50 T:2729401200 ERROR: Error Type:
00:51:50 T:2729401200 ERROR: Error Contents: 'NoneType' object has no attribute 'has_key'
00:51:50 T:2729401200 ERROR: Traceback (most recent call last):
File "/home/niklas/.xbmc/addons/script.artwork.downloader/default.py", line 797, in
Main()
File "/home/niklas/.xbmc/addons/script.artwork.downloader/default.py", line 127, in __init__
self.Medialist = media_listing('musicvideo')
File "/home/niklas/.xbmc/addons/script.artwork.downloader/resources/lib/media_setup.py", line 60, in _media_listing
if jsonobject['result'].has_key('musicvideos'):
AttributeError: 'NoneType' object has no attribute 'has_key'
00:51:50 T:2729401200 INFO: -->End of Python script error report<--