Kodi Community Forum
Release Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: Release Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) (/showthread.php?tid=205547)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - Delgriffth - 2019-02-09

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.


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - Delgriffth - 2019-02-09

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


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - rocky4546 - 2019-02-09

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.


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - rocky4546 - 2019-02-09

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-xbmc-addons/tree/master/repo/repository.rocky4546


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - Delgriffth - 2019-02-09

All better now. I've been using this addon forever. Thank you for keeping it going.


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - thewarm - 2019-02-09

Thank you


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - scott967 - 2019-02-10

I installed 0.9.4 from your master branch.  Could you maybe cut down on some of the logging?

scott s.
.


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - Jhuang0 - 2019-02-16

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


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - rocky4546 - 2019-02-16

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.


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - agentxan - 2019-02-16

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)



RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - rocky4546 - 2019-02-17

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.


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - wags1 - 2019-02-22

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?


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - rocky4546 - 2019-02-22

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.


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - wags1 - 2019-02-22

(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.


RE: Pandoki - Pandora Internet Radio (Update 2nd Sept 2016: v0.9.3) - Smallmountains - 2019-02-23

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?