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 39


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - mrsfixit - 2015-10-17

(2015-10-17, 17:49)Talguy Wrote: Anybody noticing that Pandoki is noon get plays audio lately?

Not quite sure what you're trying to say...

But I am noticing that Pandoki has been hit and miss for me the past couple of days. Sometimes it works, sometimes it doesn't.

I'm guessing it's on Pandora's end.

When it does work it's great though. :-)


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - Talguy - 2015-10-21

@mrsfixit. Nothing seems to be working for me lately with thus addon. I guess I'll need to reset it or something

Edit 11/2/15: Everything all of a sudden just started working for me again.


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - DGenerateKane - 2015-11-06

I can't even install it on a new machine. Claims it fails to install a dependency. Of course it won't even say what it is so I have no idea how to attempt to fix it.


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - scott967 - 2015-11-07

(2015-11-06, 23:07)DGenerateKane Wrote: I can't even install it on a new machine. Claims it fails to install a dependency. Of course it won't even say what it is so I have no idea how to attempt to fix it.

All it needs is script.module.mutagen Just installed on Kodi 16 1103 nightly no problems here (at least for 2 tracks worth).

scott s.
.


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - xgutterratx - 2015-11-10

I would like to display album art for the track playing in my control system but can seem to get it to display.

The query string i am using is 192.168.1.17:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Player.GetItem", "params": { "properties": ["title", "album", "artist", "duration", "thumbnail", "file", "fanart", "streamdetails"], "playerid": 0 }, "id": "AudioGetItem"}


this is what it is returning

{"id":"AudioGetItem","jsonrpc":"2.0","result":{"item":{"album":"Harvest Moon","artist":["Neil Young"],"duration":343,"fanart":"","file":"http://mediaserver-nz1-t1-1.pandora.com/access/2263877690920948736.mp4?version=4&lid=944056516&token=Tl71CEDYTpp1xXdQ4%2BQoszsIWLFs3i4PsmpoCFN%2F3IWUN53XiOH4RW1KYTIFD2L7uqBellnSd6obT6c6IEjPtfM7mXIGyZWUK0n4nmDkKiqsYbfxZRp1Hm%2FLeg06QwK3MHrmQmKVv7FdUDKS5E8WGxV7Znm%2FYceSjrf2qRX0SuPC5KKLEzcNs3q6R6z2dpNpj58lySoNkWBqtsvfK%2BJ7w4gKNy6Q6q9GYYHht%2B16AqvgM9SqGxGlgiBr0X2AMjNwVcOQd70lfcduiDoyfriefwjWM7R0FpD0HrfYlC00VotmGe7zy%2Bn3hoyvBgFOa9Pal54Q%2FD0Vzv2bhOPxyhZC9SI%2F84A9Hydb17VMXQcabWuA7OF8ZeKGFEi6UJ3Ex4gH","label":"War Of Man","thumbnail":"","title":"War Of Man","type":"song"}}}


i have found if i query the playlist i can find images

192.168.1.17:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "Playlist.GetItems", "params": { "properties": ["thumbnail"], "playlistid": 0 }, "id": 1}

returns

{"id":1,"jsonrpc":"2.0","result":{"items":[{"label":"The Kinks","thumbnail":"image://http%3a%2f%2fcont-ch1-2.pandora.com%2fimages%2fpublic%2famz%2f5%2f3%2f1%2f5%2f800055135_500W_500H.jpg/","type":"song"},{"label":"Pandoki - Queuing Neil Young Radio","thumbnail":"image://C%3a%5cUsers%5cdave%5cAppData%5cRoaming%5cKodi%5caddons%5cplugin.audio.pandoki%5cicon.png/","type":"song"},{"label":"Fleetwood Mac","thumbnail":"image://http%3a%2f%2fcont-ch1-1.pandora.com%2fimages%2fpublic%2frovi%2falbumart%2f8%2f2%2f1%2f4%2f075992724128_500W_500H.jpg/","type":"song"},{"label":"Crosby, Stills, Nash & Young","thumbnail":"image://http%3a%2f%2fcont-ch1-2.pandora.com%2fimages%2fpublic%2frovi%2falbumart%2f5%2f2%2f8%2f4%2f075678264825_500W_500H.jpg/","type":"song"}],"limits":{"end":4,"start":0,"total":4}}}

how can i do the same for currently playing


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - bill_orange - 2015-11-27

I am attempting to run Pandoki on release 1122 (or later) of Kodi 16 on the Raspberry PI. With this release and many prior ver 16 releases, Pandoki returns a failed logon message when the script attempts to log me on. I tried Pandora. Same thing. I tested Pandoki on Kodi release 15 (Isengard). Works fine. I checked settings. My username and password are fine.

I appears to be a failed SSL certificate. If I click the setting radio button for Pandora One, then logon to the Pandora One server, logon is successful. Since I don't subscribe to Pandora One I cannot play anything of course!

Can anyone shed light on this? I don't want to be stuck in the past with Kodi 15 and I don't want to subscribe to Pandora One.

Others on the Kodi 16 thread are reporting the same problem.


Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - cgebke - 2015-12-04

I have been using Pandora slim and it works great and I love it and am extremely grateful. I know this is unlikely but is it possible to get disk art along with the cd case? Thanks.


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - ClashTheBunny - 2015-12-09

(2015-11-27, 23:21)bill_orange Wrote: I am attempting to run Pandoki on release 1122 (or later) of Kodi 16 on the Raspberry PI. With this release and many prior ver 16 releases, Pandoki returns a failed logon message when the script attempts to log me on. I tried Pandora. Same thing. I tested Pandoki on Kodi release 15 (Isengard). Works fine. I checked settings. My username and password are fine.

I appears to be a failed SSL certificate. If I click the setting radio button for Pandora One, then logon to the Pandora One server, logon is successful. Since I don't subscribe to Pandora One I cannot play anything of course!

Can anyone shed light on this? I don't want to be stuck in the past with Kodi 15 and I don't want to subscribe to Pandora One.

Others on the Kodi 16 thread are reporting the same problem.

My guess is that Kodi 16 started checking certificates because it's Python 2.7.9 or higher (http://stackoverflow.com/questions/1087227/validate-ssl-certificates-with-python).

A workaround is listed on the pythos issue tracker for this (https://github.com/pithos/pithos/issues/251#issuecomment-156467024):
Code:
if [ ! -d /usr/share/ca-certificates/extra/ ]; then sudo mkdir /usr/share/ca-certificates/extra/; fi
sudo wget https://knowledge.symantec.com/library/VERISIGN/ALL_OTHER/KB_IMAGES/SO26896/Cert_Files/VeriSign%20Class%203%20International%20Server%20CA%20-%20G3.cer -O /usr/share/ca-certificates/extra/Verisign_Class_3_International_Server_CA_-_G3.crt
sudo dpkg-reconfigure ca-certificates
There are other instructions for Fedora and Arch listed above and below the comment linked.

This will trust whatever certificate you download from Symantec. Which is theoretically protected just as much as most things downloaded off the internet (because it's over SSL), so it's probably not a big deal, but I only did this on my media PC where I won't be doing other types of banking.

It's mostly because Pandora's server is (or was?) misconfigured to not distribute that cert in the chain, as any good sys admin would.


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - scott967 - 2015-12-10

Thanks for digging into this. Not sure if gominoa is still active on this plugin. It appears the pithos libraries were updated to accept a cert key that would have to be stored by pandoki as data.

scott s.
.


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - cgebke - 2015-12-11

Pandora slim was working great for me on a windows machine, running Kodi 16 and Aeon MQ 3.3, but today I received a login error. Checked it out on the computer and login info is still good, just not working in the addon. I downloaded Pandoki and tried that as well, same issue. I don't think its the same as the issue above since it was working, and I didn't update anything. Any help would be greatly appreciated. In thew log below I tried logging in a couple times.
Log: http://xbmclogs.com/psb3yyr34


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - scott967 - 2015-12-11

(2015-12-11, 18:42)cgebke Wrote: Pandora slim was working great for me on a windows machine, running Kodi 16 and Aeon MQ 3.3, but today I received a login error. Checked it out on the computer and login info is still good, just not working in the addon. I downloaded Pandoki and tried that as well, same issue. I don't think its the same as the issue above since it was working, and I didn't update anything. Any help would be greatly appreciated. In thew log below I tried logging in a couple times.
Log: http://xbmclogs.com/psb3yyr34

Are you using Pandora one account?

The problem discussed above is not about updating -- it is a change in how pandora.com handles https that affects the pithos library that implements the pandora api.

scott s.
.


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - xgutterratx - 2015-12-12

I am trying to start a pandoki radio station using JSON commands on my ipad with iruleathome.com and i can get it to start playing sending this

jsonrpc?request=jsonrpc?request={"jsonrpc":"2.0","method":"Playlist.Clear","id":1,"params":[0]}

jsonrpc?request={"jsonrpc":"2.0","method":"Playlist.Insert","id":1,"params":[0,1,{"file":"plugin://plugin.audio.pandoki/?play=2474678221808150724"}]}

jsonrpc?request={"jsonrpc":"2.0","method":"Player.Open","id":1,"params":[{"playlistid":0,"position":1}]}

But on screen it has the message Opening stream and cancel. (radio station is playing)

This does not leave the screen you can only cancel ( i would like to have fanart on screen)

any ideas on how i can fix this.


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - cgebke - 2015-12-12

(2015-12-11, 23:21)scott967 Wrote:
(2015-12-11, 18:42)cgebke Wrote: Pandora slim was working great for me on a windows machine, running Kodi 16 and Aeon MQ 3.3, but today I received a login error. Checked it out on the computer and login info is still good, just not working in the addon. I downloaded Pandoki and tried that as well, same issue. I don't think its the same as the issue above since it was working, and I didn't update anything. Any help would be greatly appreciated. In thew log below I tried logging in a couple times.
Log: http://xbmclogs.com/psb3yyr34

Are you using Pandora one account?

The problem discussed above is not about updating -- it is a change in how pandora.com handles https that affects the pithos library that implements the pandora api.

scott s.
.
Thanks or the info Scott. I am not using Pandora one. I will try the workaround suggested above.


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - cgebke - 2015-12-12

(2015-12-09, 23:56)ClashTheBunny Wrote:
(2015-11-27, 23:21)bill_orange Wrote: I am attempting to run Pandoki on release 1122 (or later) of Kodi 16 on the Raspberry PI. With this release and many prior ver 16 releases, Pandoki returns a failed logon message when the script attempts to log me on. I tried Pandora. Same thing. I tested Pandoki on Kodi release 15 (Isengard). Works fine. I checked settings. My username and password are fine.

I appears to be a failed SSL certificate. If I click the setting radio button for Pandora One, then logon to the Pandora One server, logon is successful. Since I don't subscribe to Pandora One I cannot play anything of course!

Can anyone shed light on this? I don't want to be stuck in the past with Kodi 15 and I don't want to subscribe to Pandora One.

Others on the Kodi 16 thread are reporting the same problem.

My guess is that Kodi 16 started checking certificates because it's Python 2.7.9 or higher (http://stackoverflow.com/questions/1087227/validate-ssl-certificates-with-python).

A workaround is listed on the pythos issue tracker for this (https://github.com/pithos/pithos/issues/251#issuecomment-156467024):
Code:
if [ ! -d /usr/share/ca-certificates/extra/ ]; then sudo mkdir /usr/share/ca-certificates/extra/; fi
sudo wget https://knowledge.symantec.com/library/VERISIGN/ALL_OTHER/KB_IMAGES/SO26896/Cert_Files/VeriSign%20Class%203%20International%20Server%20CA%20-%20G3.cer -O /usr/share/ca-certificates/extra/Verisign_Class_3_International_Server_CA_-_G3.crt
sudo dpkg-reconfigure ca-certificates
There are other instructions for Fedora and Arch listed above and below the comment linked.

This will trust whatever certificate you download from Symantec. Which is theoretically protected just as much as most things downloaded off the internet (because it's over SSL), so it's probably not a big deal, but I only did this on my media PC where I won't be doing other types of banking.

It's mostly because Pandora's server is (or was?) misconfigured to not distribute that cert in the chain, as any good sys admin would.
I am not very knowledgeable on going deep into the Kodi files. After reading the links postes earlier, i am definitly lost. Would someone be able to simplify it for me I appreciate the help.


RE: Pandoki - Pandora Internet Radio (Update 15th Mar 2015: v0.8.0) - ClashTheBunny - 2015-12-17

(2015-12-10, 23:01)scott967 Wrote: Thanks for digging into this. Not sure if gominoa is still active on this plugin. It appears the pithos libraries were updated to accept a cert key that would have to be stored by pandoki as data.

scott s.
.

If anybody wants to test those same changes on Pandoki, you can download the zip from my repo here:
https://github.com/ClashTheBunny/gominoa-xbmc-addons/blob/fix-internal-tuner-certificate/repo/plugin.audio.pandoki/plugin.audio.pandoki-0.9.0.zip

I make a pull request for gominoa, so we'll see if he responds. Until then, my changes work for me.