• 1
  • 7
  • 8
  • 9
  • 10(current)
  • 11
Release Library Data Provider
@BigNoid, do you know if script continue fine in return data when using playlist, like Playlist.Count or Playlist.UnWatched (using Kodi Leia here).
MediaBrazil forum Website - Youtube Channel
MQ9-1.6.0.29 - 09.15.2023 - Aeon MQ Skin Team
MarcosQui Website Donate and support us.
Reply
Works on my system, if it doesn't work please provide a debug log so I can take a look.
Reply
(2017-07-22, 10:03)BigNoid Wrote: Works on my system, if it doesn't work please provide a debug log so I can take a look.
 Doesn't work anymore on my system (see this topic). And here's the log on Pastebin.
Reply
I actually fixed that a year ago, but never submitted it to the repo. Will do that asap, thx for reporting.
Reply
(2018-01-24, 16:58)BigNoid Wrote: I actually fixed that a year ago, but never submitted it to the repo. Will do that asap, thx for reporting.
 Did you succeed in submitting it into the repo yet?
Reply
(2018-02-01, 02:18)xbmcuser01 Wrote:
(2018-01-24, 16:58)BigNoid Wrote: I actually fixed that a year ago, but never submitted it to the repo. Will do that asap, thx for reporting.
 Did you succeed in submitting it into the repo yet? 
Yeah, I pushed an update last week.
Reply
(2018-02-01, 10:03)BigNoid Wrote:
(2018-02-01, 02:18)xbmcuser01 Wrote:
(2018-01-24, 16:58)BigNoid Wrote: I actually fixed that a year ago, but never submitted it to the repo. Will do that asap, thx for reporting.
 Did you succeed in submitting it into the repo yet?  
Yeah, I pushed an update last week. 
What version is the Library Data Provider now then? The one that gave me trouble was 0.3.0 and when I try to update it is still version 0.3.0. Any way of manually installing the latest version via a Zip file?
Reply
(2018-02-01, 13:48)xbmcuser01 Wrote:
(2018-02-01, 10:03)BigNoid Wrote:
(2018-02-01, 02:18)xbmcuser01 Wrote:  Did you succeed in submitting it into the repo yet?  
Yeah, I pushed an update last week.  
What version is the Library Data Provider now then? The one that gave me trouble was 0.3.0 and when I try to update it is still version 0.3.0. Any way of manually installing the latest version via a Zip file? 
The updated version is 0.3.2. You can check the Kodi add-on website, that shows the correct version. Manual shouldn't be needed but you can download it from there and install by zip.
Reply
(2018-02-01, 16:34)BigNoid Wrote:
(2018-02-01, 13:48)xbmcuser01 Wrote:
(2018-02-01, 10:03)BigNoid Wrote: Yeah, I pushed an update last week.  
What version is the Library Data Provider now then? The one that gave me trouble was 0.3.0 and when I try to update it is still version 0.3.0. Any way of manually installing the latest version via a Zip file?   
The updated version is 0.3.2. You can check the Kodi add-on website, that shows the correct version. Manual shouldn't be needed but you can download it from there and install by zip.  
Thanks man! I had to enable under System --> Add-ons:  "Notify, but don't install updates". Then I could update to ver 0.3.2 (manually, the way I like it: if it ain't broke don't try to fix it). And I had to set "The Movie Database" as the information provider, NOT the iMDb (!).
Reply
Hallo @BigNoid

I also use the addon in Kodi 19 in my skin.
It still works, but I can't open it anymore. The user can set a custom path in my skin to display the content in the main menu. 
In Kodi 18 the user could select paths from your addon, in Kodi 19 I get an error.
Kodi-->Videoaddons-->Library Data Provider-->Error.

I hope you or someone else can help me here.
Thank you.

xml:
2021-03-24 23:11:41.398 T:616     DEBUG <general>: CInputManager::HandleKey: return (0xf00d) pressed, action is Select
2021-03-24 23:11:41.399 T:616     DEBUG <general>: CGUIMediaWindow::GetDirectory (plugin://service.library.data.provider/)
2021-03-24 23:11:41.399 T:616     DEBUG <general>:   ParentPath = [addons://sources/video]
2021-03-24 23:11:41.401 T:17216   DEBUG <general>: Thread waiting start, auto delete: false
2021-03-24 23:11:41.429 T:4224    DEBUG <general>: CAddonDatabase::SetLastUsed[service.library.data.provider] took 29 ms
2021-03-24 23:11:41.429 T:17216   DEBUG <general>: XFILE::CPluginDirectory::StartScript - calling plugin Library Data Provider('plugin://service.library.data.provider/','16','','resume:false')
2021-03-24 23:11:41.429 T:13948   DEBUG <general>: Thread LanguageInvoker start, auto delete: false
2021-03-24 23:11:41.429 T:13948    INFO <general>: initializing python engine.
2021-03-24 23:11:41.430 T:13948   DEBUG <general>: CPythonInvoker(22, D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider\plugin.py): start processing
2021-03-24 23:11:41.458 T:13948   DEBUG <general>: -->Python Interpreter Initialized<--
2021-03-24 23:11:41.458 T:13948   DEBUG <general>: 
                                                   
2021-03-24 23:11:41.458 T:13948   DEBUG <general>: CPythonInvoker(22, D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider\plugin.py): the source file to load is "D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider\plugin.py"
2021-03-24 23:11:41.459 T:13948   DEBUG <general>: CPythonInvoker(22, D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider\plugin.py): setting the Python path to D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider;D:\Program Files (x86)\Kodi19\portable_data\addons\script.module.routing\lib;D:\Program Files (x86)\Kodi19\system\python\Lib;D:\Program Files (x86)\Kodi19\python3.8.zip;D:\Program Files (x86)\Kodi19\system\python\DLLs;D:\Program Files (x86)\Kodi19;D:\Program Files (x86)\Kodi19\system\python;D:\Program Files (x86)\Kodi19\system\python\lib\site-packages
2021-03-24 23:11:41.459 T:13948   DEBUG <general>: CPythonInvoker(22, D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider\plugin.py): entering source directory D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider
2021-03-24 23:11:41.459 T:13948   DEBUG <general>: CPythonInvoker(22, D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider\plugin.py): instantiating addon using automatically obtained id of "service.library.data.provider" dependent on version 3.0.0 of the xbmc.python api
2021-03-24 23:11:41.482 T:13948   DEBUG <CAddonSettings[service.library.data.provider]>: trying to load setting definitions from old format...
2021-03-24 23:11:41.491 T:13948   DEBUG <general>: Skipped 3 duplicate messages..
2021-03-24 23:11:41.491 T:13948   DEBUG <general>: Library Data Provider: b'script version 0.4.1 started'
2021-03-24 23:11:41.491 T:13948   DEBUG <CAddonSettings[service.library.data.provider]>: trying to load setting definitions from old format...
2021-03-24 23:11:41.491 T:13948   DEBUG <general>: [service.library.data.provider][routing] Dispatching to 'root', args: {}
2021-03-24 23:11:41.496 T:13948   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'TypeError'>
                                                   Error Contents: 'thumbnailImage' is an invalid keyword argument for this function
                                                   Traceback (most recent call last):
                                                     File "D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider\plugin.py", line 160, in <module>
                                                       Main()
                                                     File "D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider\plugin.py", line 47, in __init__
                                                       router.run()
                                                     File "D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider\resources\lib\router.py", line 32, in run
                                                       plugin.run()
                                                     File "D:\Program Files (x86)\Kodi19\portable_data\addons\script.module.routing\lib\routing.py", line 130, in run
                                                       self._dispatch(self.path)
                                                     File "D:\Program Files (x86)\Kodi19\portable_data\addons\script.module.routing\lib\routing.py", line 141, in _dispatch
                                                       view_func(**kwargs)
                                                     File "D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider\resources\lib\router.py", line 49, in root
                                                       liz = xbmcgui.ListItem(label=title,
                                                   TypeError: 'thumbnailImage' is an invalid keyword argument for this function
                                                   -->End of Python script error report<--
                                                   
2021-03-24 23:11:41.496 T:13948   DEBUG <general>: CPythonInvoker::onExecutionDone(22, D:\Program Files (x86)\Kodi19\portable_data\addons\service.library.data.provider\plugin.py)
2021-03-24 23:11:41.501 T:616     DEBUG <general>: ------ Window Init (DialogBusy.xml) ------
2021-03-24 23:11:41.502 T:616     DEBUG <general>: ------ Window Init (DialogNotification.xml) ------
2021-03-24 23:11:41.540 T:13948    INFO <general>: Python interpreter stopped
2021-03-24 23:11:41.540 T:13948   DEBUG <general>: Thread LanguageInvoker 13948 terminating
2021-03-24 23:11:41.554 T:17216   ERROR <general>: XFILE::CDirectory::GetDirectory - Error getting plugin://service.library.data.provider/
2021-03-24 23:11:41.554 T:17216   DEBUG <general>: Thread waiting 17216 terminating
2021-03-24 23:11:41.565 T:616     DEBUG <general>: ------ Window Deinit (DialogBusy.xml) ------
2021-03-24 23:11:41.565 T:616     ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://service.library.data.provider/) failed
2021-03-24 23:11:41.565 T:616     DEBUG <general>: CGUIMediaWindow::GetDirectory (addons://sources/video)
2021-03-24 23:11:41.565 T:616     DEBUG <general>:   ParentPath = []
Reply
@mikeSiLVO is it possible, that the addon provides a decoded fanart image path? 
Currently the image path, the addon provides is e.g.: 

Code:
image://J%3a%5cMovies%5cHD%5cSuperbad%5csuperbad-fanart.jpg/

Cool would be:

Code:
image://J:\Movies\HD\Superbad\superbad-fanart.jpg

or just the path:

Code:
J:\Movies\HD\Superbad\superbad-fanart.jpg

Would that be possible?
Reply
Hi, didnt see this posted anywhere.
Using Kodi 19.1 on Android Shield TV with Emby next gen for Kodi + Aeon MQ9 and Library Data Provider 0.4.1
I am seeing this error when i navigate into the TV Shows folder

Code:

2021-10-20 13:14:30.702 T:20042   DEBUG <general>: 
                                                   
2021-10-20 13:14:30.702 T:20042   DEBUG <general>: CPythonInvoker(56, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py): the source file to load is "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py"
2021-10-20 13:14:30.702 T:20042   DEBUG <general>: CPythonInvoker(56, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.routing/lib:/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/site-packages/setuptools-18.4-py3.8.egg:/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python38.zip:/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8:/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/site-packages:/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/lib-dynload
2021-10-20 13:14:30.703 T:20042   DEBUG <general>: CPythonInvoker(56, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider
2021-10-20 13:14:30.704 T:17120   DEBUG <general>: DoWork - took 548 ms to load resource://resource.images.skinthemes.aeonmq9/black/tvshow.jpg
2021-10-20 13:14:30.704 T:20042   DEBUG <general>: CPythonInvoker(56, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py): instantiating addon using automatically obtained id of "service.library.data.provider" dependent on version 3.0.0 of the xbmc.python api
2021-10-20 13:14:30.790 T:20042   DEBUG <CAddonSettings[service.library.data.provider]>: trying to load setting definitions from old format...
2021-10-20 13:14:30.815 T:20042   DEBUG <general>: Skipped 3 duplicate messages..
2021-10-20 13:14:30.815 T:20042   DEBUG <general>: Library Data Provider: b'script version 0.4.1 started'
2021-10-20 13:14:30.816 T:20042   DEBUG <CAddonSettings[service.library.data.provider]>: trying to load setting definitions from old format...
2021-10-20 13:14:30.859 T:20042   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'UnboundLocalError'>
                                                   Error Contents: local variable 'episode' referenced before assignment
                                                   Traceback (most recent call last):
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py", line 160, in <module>
                                                       Main()
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py", line 64, in __init__
                                                       data.parse_tvshows_recommended('recommendedepisodes', 32010, full_liz, self.USECACHE, self.PLOT_ENABLE, self.LIMIT)
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/resources/lib/data.py", line 210, in parse_tvshows_recommended
                                                       if "cast" in episode:
                                                   UnboundLocalError: local variable 'episode' referenced before assignment
                                                   -->End of Python script error report<--
                                                   
2021-10-20 13:14:30.859 T:20042   DEBUG <general>: onExecutionDone(56, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py)
Reply
(2021-10-20, 22:15)exnihilo1031 Wrote: Hi, didnt see this posted anywhere.
Using Kodi 19.1 on Android Shield TV with Emby next gen for Kodi + Aeon MQ9 and Library Data Provider 0.4.1
I am seeing this error when i navigate into the TV Shows folder

Code:

2021-10-20 13:14:30.702 T:20042   DEBUG <general>: 
                                                   
2021-10-20 13:14:30.702 T:20042   DEBUG <general>: CPythonInvoker(56, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py): the source file to load is "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py"
2021-10-20 13:14:30.702 T:20042   DEBUG <general>: CPythonInvoker(56, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.routing/lib:/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/site-packages/setuptools-18.4-py3.8.egg:/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python38.zip:/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8:/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/site-packages:/data/user/0/org.xbmc.kodi/cache/apk/assets/python3.8/lib/python3.8/lib-dynload
2021-10-20 13:14:30.703 T:20042   DEBUG <general>: CPythonInvoker(56, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider
2021-10-20 13:14:30.704 T:17120   DEBUG <general>: DoWork - took 548 ms to load resource://resource.images.skinthemes.aeonmq9/black/tvshow.jpg
2021-10-20 13:14:30.704 T:20042   DEBUG <general>: CPythonInvoker(56, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py): instantiating addon using automatically obtained id of "service.library.data.provider" dependent on version 3.0.0 of the xbmc.python api
2021-10-20 13:14:30.790 T:20042   DEBUG <CAddonSettings[service.library.data.provider]>: trying to load setting definitions from old format...
2021-10-20 13:14:30.815 T:20042   DEBUG <general>: Skipped 3 duplicate messages..
2021-10-20 13:14:30.815 T:20042   DEBUG <general>: Library Data Provider: b'script version 0.4.1 started'
2021-10-20 13:14:30.816 T:20042   DEBUG <CAddonSettings[service.library.data.provider]>: trying to load setting definitions from old format...
2021-10-20 13:14:30.859 T:20042   ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'UnboundLocalError'>
                                                   Error Contents: local variable 'episode' referenced before assignment
                                                   Traceback (most recent call last):
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py", line 160, in <module>
                                                       Main()
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py", line 64, in __init__
                                                       data.parse_tvshows_recommended('recommendedepisodes', 32010, full_liz, self.USECACHE, self.PLOT_ENABLE, self.LIMIT)
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/resources/lib/data.py", line 210, in parse_tvshows_recommended
                                                       if "cast" in episode:
                                                   UnboundLocalError: local variable 'episode' referenced before assignment
                                                   -->End of Python script error report<--
                                                   
2021-10-20 13:14:30.859 T:20042   DEBUG <general>: onExecutionDone(56, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.library.data.provider/plugin.py)
@mikeSiLVO 
I was able to squelch / bypass the error above with the following fix https://github.com/mikesilvo164/service....der/pull/3
Reply
hiya is anyone maintaining this addon ,
on kodi 19 this is a issue,   where the addon call "thumbnailImage" in the file called router.py for xbmcgui.ListItem which has been removed from kodi 19 

people will see this error in the logfile 

cpp:
TypeError: 'thumbnailImage' is an invalid keyword argument for this function


to fix it 
python:
liz = xbmcgui.ListItem(label=title, thumbnailImage=thumb)
need to edited to 
python:
liz = xbmcgui.ListItem(label=title)
liz.setArt({'thumb': thumb})
Reply
(2022-07-28, 11:31)Sidewinder_2011 Wrote: hiya is anyone maintaining this addon ,
on kodi 19 this is a issue,   where the addon call "thumbnailImage" in the file called router.py for xbmcgui.ListItem which has been removed from kodi 19 

people will see this error in the logfile 

cpp:
TypeError: 'thumbnailImage' is an invalid keyword argument for this function


to fix it 
python:
liz = xbmcgui.ListItem(label=title, thumbnailImage=thumb)
need to edited to 
python:
liz = xbmcgui.ListItem(label=title)
liz.setArt({'thumb': thumb})
Thanks for this, just came upon an error in the UI while trying to open Video Add-ons>Library Data Provider, which was solved by that change. Your mentioned error was also present in the log.
Reply
  • 1
  • 7
  • 8
  • 9
  • 10(current)
  • 11

Logout Mark Read Team Forum Stats Members Help
Library Data Provider0