Beta Artwork Beef - automatically add extended artwork
#69
Krypton rc17.3, same on nightlys. Fresh clean kodi and empty fresh sqldb. Movies ok, tv borks...

Code:
18:22:52.662 T:2792   DEBUG: CAddonDatabase: SELECT repo.id FROM repo .. took 0 ms
18:22:52.675 T:2792   DEBUG: CAddonDatabase: query  SELECT * FROM addons JOIN addonlinkrepo ON addons.id=addonlinkrepo.idAddon WHERE addonlinkrepo.idRepo IN (1,2,3) ORDER BY addons.addonID returned 1030 rows in 13 ms
18:22:52.693 T:3028   DEBUG: CAddonMgr::GetAvailableUpdates took 13 ms
18:22:52.769 T:2792   DEBUG: Previous line repeats 1 times.
18:22:52.769 T:2792   DEBUG: CAddonDatabase::GetAddons took 107 ms
18:22:55.621 T:3144   DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
18:22:55.621 T:84   DEBUG: Thread LanguageInvoker start, auto delete: false
18:22:55.621 T:84    INFO: initializing python engine.
18:22:55.622 T:84   DEBUG: CPythonInvoker(3, C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\default.py): start processing
18:22:55.732 T:84   DEBUG: -->Python Interpreter Initialized<--
18:22:55.732 T:84   DEBUG: CPythonInvoker(3, C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\default.py): the source file to load is "C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\default.py"
18:22:55.732 T:84   DEBUG: CPythonInvoker(3, C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\default.py): setting the Python path to C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef;C:\Users\dan\AppData\Roaming\Kodi\addons\script.common.plugin.cache\lib;C:\Users\dan\AppData\Roaming\Kodi\addons\script.module.requests\lib;C:\Users\dan\AppData\Roaming\Kodi\addons\script.module.simplejson\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
18:22:55.732 T:84   DEBUG: CPythonInvoker(3, C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\default.py): entering source directory C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef
18:22:55.732 T:84   DEBUG: CPythonInvoker(3, C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\default.py): instantiating addon using automatically obtained id of "script.artwork.beef" dependent on version 2.19.0 of the xbmc.python api
18:22:56.178 T:84   DEBUG: JSONRPC: Incoming request: {"params": {"properties": ["name", "version"]}, "jsonrpc": "2.0", "method": "Application.GetProperties", "id": 1}
18:22:56.236 T:3144   DEBUG: ------ Window Init (DialogSelect.xml) ------
18:22:56.236 T:3144    INFO: Loading skin file: DialogSelect.xml, load type: KEEP_IN_MEMORY
18:23:00.625 T:3144   DEBUG: CInputManager::ProcessMouse: trying mouse action leftclick
18:23:00.871 T:3144   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
18:23:00.886 T:84    INFO: CPythonInvoker(3, C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\default.py): script successfully run
18:23:00.906 T:5104   DEBUG: CAnnouncementManager - Announcement: ProcessAllItems from script.artwork.beef
18:23:00.906 T:5104   DEBUG: GOT ANNOUNCEMENT, type: 512, from script.artwork.beef, message ProcessAllItems
18:23:00.911 T:84    INFO: Python script stopped
18:23:00.911 T:84   DEBUG: Thread LanguageInvoker 84 terminating
18:23:01.011 T:3144   DEBUG: ------ Window Init (DialogExtendedProgressBar.xml) ------
18:23:03.286 T:4704   DEBUG: JSONRPC: Incoming request: {"params": {"properties": ["version"]}, "jsonrpc": "2.0", "method": "Application.GetProperties", "id": 1}
18:23:03.287 T:4704   DEBUG: JSONRPC: Incoming request: {"params": {"sort": {"method": "sorttitle", "order": "ascending"}, "properties": ["art", "imdbnumber", "file", "premiered"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetMovies", "id": 1}
18:23:03.353 T:4704   DEBUG: CVideoDatabase::RunQuery took 12 ms for 0 items query: select * from movie_view
18:23:03.354 T:4704   DEBUG: JSONRPC: Incoming request: {"params": {"sort": {"method": "sorttitle", "order": "ascending"}, "properties": ["art"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetMovieSets", "id": 1}
18:23:03.410 T:4704   DEBUG: CVideoDatabase::RunQuery took 9 ms for 0 items query: select * from movie_view  JOIN sets ON movie_view.idSet = sets.idSet ORDER BY sets.idSet
18:23:03.411 T:4704   DEBUG: JSONRPC: Incoming request: {"params": {"sort": {"method": "sorttitle", "order": "ascending"}, "properties": ["art", "imdbnumber", "season", "file", "premiered"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetTVShows", "id": 1}
18:23:04.012 T:4704   DEBUG: CVideoDatabase::RunQuery took 554 ms for 66 items query: SELECT * FROM tvshow_view
18:23:04.294 T:4704    INFO: [script.artwork.beef] Processing 11.22.63
18:23:04.295 T:4704   DEBUG: JSONRPC: Incoming request: {"params": {"tvshowid": 59, "properties": ["season", "art"]}, "jsonrpc": "2.0", "method": "VideoLibrary.GetSeasons", "id": 1}
18:23:05.232 T:4704   DEBUG: CVideoDatabase::RunQuery took 891 ms for 1 items query: SELECT * FROM season_view  WHERE season_view.idShow = 59
18:23:06.340 T:4704   DEBUG: JSONRPC: Incoming request: {"params": {"tvshowid": 59, "art": {"clearlogo": "smb://NSA320S/tv/11.22.63/logo.png", "characterart": "smb://NSA320S/tv/11.22.63/character.png", "fanart3": "smb://NSA320S/tv/11.22.63/extrafanart/1118390.jpg", "clearart": "smb://NSA320S/tv/11.22.63/clearart.png", "fanart5": "smb://NSA320S/tv/11.22.63/extrafanart/1123867.jpg", "fanart4": "smb://NSA320S/tv/11.22.63/extrafanart/1123777.jpg", "fanart7": "smb://NSA320S/tv/11.22.63/extrafanart/fanart1.jpg", "fanart6": "smb://NSA320S/tv/11.22.63/extrafanart/1136524.jpg", "fanart1": "smb://NSA320S/tv/11.22.63/extrafanart/1102972.jpg", "landscape": "smb://NSA320S/tv/11.22.63/landscape.jpg", "fanart2": "smb://NSA320S/tv/11.22.63/extrafanart/1105168.jpg"}}, "jsonrpc": "2.0", "method": "VideoLibrary.SetTVShowDetails", "id": 1}
18:23:06.795 T:4704   DEBUG: Mysql execute: DELETE FROM tag_link WHERE media_id=59 AND media_type='tvshow'
18:23:06.799 T:4704   ERROR: SQL: [MyVideos107] The table does not exist
                                            Query: DELETE FROM tag_link WHERE media_id=59 AND media_type='tvshow'
18:23:06.799 T:4704   ERROR: EXCEPTION: Unknown exception thrown from the call "XBMCAddon::xbmc::executeJSONRPC"
18:23:06.801 T:4704   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.RuntimeError'>
                                            Error Contents: Unknown exception thrown from the call "XBMCAddon::xbmc::executeJSONRPC"
                                            Traceback (most recent call last):
                                              File "C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\service.py", line 234, in <module>
                                                ArtworkService().run()
                                              File "C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\service.py", line 83, in run
                                                self.process_allitems()
                                              File "C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\service.py", line 177, in process_allitems
                                                return self.processor.process_medialist(items)
                                              File "C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\lib\artworkprocessor.py", line 171, in process_medialist
                                                services_hit = self._process_item(gatherer, mediaitem)
                                              File "C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\lib\artworkprocessor.py", line 252, in _process_item
                                                add_art_to_library(mediatype, mediaitem.get('seasons'), mediaitem['dbid'], mediaitem['selected art'])
                                              File "C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\lib\artworkprocessor.py", line 438, in add_art_to_library
                                                for arttype, url in selectedart.iteritems() if '.' not in arttype))
                                              File "C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\lib\libs\mediainfo.py", line 105, in update_art_in_library
                                                quickjson.set_details(dbid, mediatype, art=updatedart)
                                              File "C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\lib\libs\quickjson.py", line 152, in set_details
                                                json_result = pykodi.execute_jsonrpc(json_request)
                                              File "C:\Users\dan\AppData\Roaming\Kodi\addons\script.artwork.beef\lib\libs\pykodi.py", line 100, in execute_jsonrpc
                                                json_result = xbmc.executeJSONRPC(jsonrpc_command)
                                            RuntimeError: Unknown exception thrown from the call "XBMCAddon::xbmc::executeJSONRPC"
                                            -->End of Python script error report<--
18:23:06.803 T:3144   DEBUG: ------ Window Init (DialogNotification.xml) ------
18:23:06.827 T:4704    INFO: Python script stopped
18:23:06.827 T:4704   DEBUG: Thread LanguageInvoker 4704 terminating
18:23:07.021 T:3144   DEBUG: ------ Window Deinit (DialogExtendedProgressBar.xml) ------
18:23:09.254 T:3144   DEBUG: Keyboard: scancode: 0x2b, sym: 0x005c, unicode: 0x005c, modifier: 0x0
18:23:09.254 T:3144   DEBUG: CInputManager::OnKey: backslash (0xf05c) pressed, action is ToggleFullScreen
18:23:09.254 T:3144   DEBUG: CWinSystemWin32::SetFullScreenEx (windowed) on screen 0 with size 1200x713, refresh 0.000000
18:23:09.254 T:3144   DEBUG: CWinSystemWin32::ResizeInternal - resizing due to size change (0,0,1920,1080 fullscreen)->(349,139,1571,908)
18:23:09.260 T:3144   DEBUG: CWinEventsWin32::WndProc: window move event
18:23:09.260 T:3144   DEBUG: CWinEventsWin32::WndProc: window resize event
18:23:09.261 T:3144   DEBUG: CRenderSystemDX::CreateWindowSizeDependentResources - (Re)Create window size (1200x713) dependent resources.
18:23:09.324 T:3144   DEBUG: ------ Window Deinit (Pointer.xml) ------
18:23:09.422 T:3144   DEBUG: Keyboard: scancode: 0x2b, sym: 0x005c, unicode: 0x0000, modifier: 0x0
18:23:10.754 T:3144   DEBUG: ------ Window Init (Pointer.xml) ------
18:23:11.873 T:3144   DEBUG: CWinEventsWin32::WndProcWindow is active
18:23:12.538 T:3144   DEBUG: ------ Window Deinit (DialogNotification.xml) ------
18:23:15.822 T:3144   DEBUG: ------ Window Deinit (Pointer.xml) ------
Reply
 
Thread Rating:
  • 5 Vote(s) - 5 Average


Messages In This Thread
Artwork Helper version 0.7.0 - by rmrector - 2016-10-11, 11:30
RE: Artwork Beef - automatically add extended artwork - by badaas - 2017-07-25, 19:26
Extrafanart - by stephen147 - 2018-05-15, 20:59
RE: Artwork Beef Context Menu - by berkhornet - 2018-09-25, 11:49


Logout Mark Read Team Forum Stats Members Help
Artwork Beef - automatically add extended artwork55