Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 25
  • 26
  • 27(current)
  • 28
  • 29
  • 39
Release Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3)
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.
Reply
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
Reply
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.
Reply
Pandoki 0.9.4 has been released.
Thank you for all who contributed to the updates.  If you are running, 0.9.3a to above, you do not have to remove your settings.  Due to changes, it is recommend for 0.9.3 and before, to remove and reset your settings.  The ZIP file (version 0.2.1) to provide Kodi for all addons is located at
https://github.com/rocky4546/gominoa-xbm....rocky4546
Reply
All better now. I've been using this addon forever. Thank you for keeping it going.
Reply
Thank you
Reply
I installed 0.9.4 from your master branch.  Could you maybe cut down on some of the logging?

scott s.
.
Reply
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
Reply
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.
Reply
Quote:2019-02-16 10:54:25.187 T:17716   ERROR: EXCEPTION: array out of bound
2019-02-16 10:54:25.195 T:17716   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 877, 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<--

If I install KODI 18.1 I also get this error. The problem I think is with trimming the playlist when the max length setting is reached. In KODI 18.1rc1 the while loops over 1000 times removing the whole playlist.
Quote:        while (self.playlist.size() > max) and (self.playlist.getposition() > 0):
            xbmc.executeJSONRPC('{"jsonrpc":"2.0", "id":1, "method":"Playlist.Remove", "params":{"playlistid":' + str(xbmc.PLAYLIST_MUSIC) + ', "position":0}}')

If a xbmc.sleep(100) is added it works for me.
Quote:        while (self.playlist.size() > max) and (self.playlist.getposition() > 0):
            xbmc.executeJSONRPC('{"jsonrpc":"2.0", "id":1, "method":"Playlist.Remove", "params":{"playlistid":' + str(xbmc.PLAYLIST_MUSIC) + ', "position":0}}')
            xbmc.sleep(100)
Reply
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.
Reply
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?
Reply
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.
Reply
(2019-02-22, 17:46)rcmccaslin Wrote: 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.

Thanks for the reply. I’m not sure that’s it. It’s not a buffering message. At the top left of the screen it says “caching” and in the top right it lists the name of the song. It repeats every time it adds a new song to the cache. It only happens when running Pandoki in “play from cache only” mode. If I switch it to “stream only” I never see that message.
Reply
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?
Reply
  • 1
  • 25
  • 26
  • 27(current)
  • 28
  • 29
  • 39

Logout Mark Read Team Forum Stats Members Help
Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3)8