Posts: 6
Joined: Feb 2016
Reputation:
0
This stopped working for me literally overnight. Fresh install of Kodi 18 on Windows 10 64bit. It worked flawlessly last night for a few hours. I started it up today and get a Pandoki error and check the log for info. Also noticed that Pandoki is listed as needs updating, I update but still says it needs update. I'm using 0.9.4-RC5. Pandora slim works perfectly.
Posts: 6
Joined: Feb 2016
Reputation:
0
I have 3 machines all kodi 18 win 10-64. Pandoki 0.9.4-RC5 worked fine one night and the next morning I started receiving Pandoki error check log for info. Again Pandoki was listed in Kodi available updates...once updated the errors started. Checking log on the machines and they all have this.
07:58:50.744 T:5952 ERROR: Previous line repeats 3 times.
07:58:50.744 T:5952 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndentationError'>
Error Contents: unexpected indent (pandoki.py, line 596)
Traceback (most recent call last):
File "C:\Users\Christopher\AppData\Roaming\Kodi\addons\plugin.audio.pandoki\default.py", line 8, in <module>
from pandoki import *
File "C:\Users\Christopher\AppData\Roaming\Kodi\addons\plugin.audio.pandoki\resources\lib\pandoki\__init__.py", line 1, in <module>
from pandoki import Val, Prop, Pandoki
File "C:\Users\Christopher\AppData\Roaming\Kodi\addons\plugin.audio.pandoki\resources\lib\pandoki\pandoki.py", line 596
notification('Thumb DOWN', song['title'], '3000', iconart)
^
IndentationError: unexpected indent
-->End of Python script error report<--
07:58:50.746 T:9512 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.audio.pandoki/
07:58:50.761 T:588 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.audio.pandoki/) failed
Posts: 61
Joined: Mar 2017
Reputation:
10
Oops. I had the update, but did not push it out. Sorry about that. RC6 is out there. I will be reviewing all changes today, including looking into the update is needed statement. My first gut check on "update is needed" is that the user settings.xml file needs to be removed and regenerated, but will double check.
Posts: 6
Joined: Feb 2016
Reputation:
0
All better now. I've been using this addon forever. Thank you for keeping it going.
Posts: 5,437
Joined: Jul 2012
Reputation:
378
I installed 0.9.4 from your master branch. Could you maybe cut down on some of the logging?
scott s.
.
Posts: 3
Joined: Feb 2019
Reputation:
0
I got a new exception that seems to occur every half hour or so.
2019-02-15 21:53:42.993 T:5296 DEBUG: CAnnouncementManager - Announcement: OnRemove from xbmc 2019-02-15 21:53:42.993 T:5296 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnRemove 2019-02-15 21:53:42.993 T:8065 DEBUG: plugin.audio.pandoki def List 2019-02-15 21:53:42.993 T:8065 ERROR: EXCEPTION: array out of bound
2019-02-15 21:53:43.002 T:5296 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnRemove 2019-02-15 21:53:43.002 T:5296 DEBUG: CAnnouncementManager - Announcement: OnRemove from xbmc 2019-02-15 21:53:43.002 T:8065 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: array out of bound Traceback (most recent call last): File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.pandoki/default.py", line 77, in <module> if run: run.Loop() File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.pandoki/resources/lib/pandoki/pandoki.py", line 876, in Loop self.List() File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.pandoki/resources/lib/pandoki/pandoki.py", line 702, in List item = self.playlist[pos] RuntimeError: array out of bound -->End of Python script error report<-- 2019-02-15 21:53:43.002 T:5296 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnRemove 2019-02-15 21:53:43.003 T:8065 DEBUG: onExecutionDone(20, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.pandoki/default.py) 2019-02-15 21:53:43.003 T:5296 DEBUG: CAnnouncementManager - Announcement: OnRemove from xbmc
Posts: 61
Joined: Mar 2017
Reputation:
10
For the exception above, it looks like you have not upgraded to 0.9.4. If you can check the file at /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.audio.pandoki/addon.xml and see what version is listed there.
As for the logging, I am looking at adding a setting for log level.
Posts: 61
Joined: Mar 2017
Reputation:
10
Minor update: 0.9.4a
Includes changes to logging levels to reduce kodi default logging and adding a small delay after calling internal kodi thread to allow the thread to execute.
Posts: 905
Joined: Nov 2016
Reputation:
125
wags1
Posting Freak
Posts: 905
Thank very much for picking this up! This is my #1 most used add on. One thing I noticed that did not happen with the previous version I was using is the track cache download message at the top of the screen. Is there any way to disable that?
Posts: 61
Joined: Mar 2017
Reputation:
10
I believe you are talking about the Song Buffering notification when Pandora Server is throttling the download rate. My thought is to allow the update rate to be changed from the settings. If you set it large enough, it should not appear. If you want to try it out, go to the folder in kodi
.../addons/plugin.audio.pandoki/resources/lib/pandoki/
edit the file pandoki.py
Go to line 429 that says "if ( lastnotify + 60 < time.time() ):"
Change the 60 to the number of seconds you want the update rate to be. 300 would be 5 minutes which would rarely occur.
i will add the ability to change it in the settings file for the next update.
Posts: 36
Joined: Mar 2017
Reputation:
0
I'm running Kodi 18 on Rasp Pi 3 LibreElec 9.
I've been using the original Pandoki addon since the early days and just updated to LibreElec 9 a few days ago.
I wanted to update to the new repo and use the new updated client so I uninstalled the old one and downloaded the new repo and tried to install the repo and I get the repo installed but when I go to install from repo and select Pandoki it tells me it failed to install.
Where should I look to find out what happened?