Kodi Community Forum
[OBSOLETE] Pandora Radio (Script) Music Addon - 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: [OBSOLETE] Pandora Radio (Script) Music Addon (/showthread.php?tid=70471)



RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - t0nedef - 2013-12-15

Hey k3oni, I'm using version 1.2.11 from your git repository. I'm using an http proxy that works fine in pianobar with the "proxy" configuration option. I am able to load the XBMC script. I see a listing of my stations. When I click one nothing happens. Any idea what may be going wrong?


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - k3oni - 2013-12-16

@t0nedef What audio format are you using(see Settings for the addon), try and use aacplus .


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - shess757 - 2013-12-17

(2013-12-14, 22:07)shess757 Wrote: I'm using the default pandora skin, and I was wondering if anybody has tried to change the background image? Was looking for something a little more holiday themed. I tried saving a .png image in the script's media folder, when I started it music played fine but had a black background.

Ok so I got it figured out thought I'd post the results, still working cleaning it up a bit more but for now

Image

I still want to move the song art and info around or put a transparency behind so they show up a bit more but just thought I'd share.

- Scott


[RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - cgebke - 2013-12-18

(2013-12-17, 19:31)shess757 Wrote:
(2013-12-14, 22:07)shess757 Wrote: I'm using the default pandora skin, and I was wondering if anybody has tried to change the background image? Was looking for something a little more holiday themed. I tried saving a .png image in the script's media folder, when I started it music played fine but had a black background.

Ok so I got it figured out thought I'd post the results, still working cleaning it up a bit more but for now

Image

I still want to move the song art and info around or put a transparency behind so they show up a bit more but just thought I'd share.

- Scott

That is very nice! Well done.


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - t0nedef - 2013-12-29

(2013-12-16, 00:47)k3oni Wrote: @t0nedef What audio format are you using(see Settings for the addon), try and use aacplus .

@k30ni Sorry it took me awhile to report back. aacplus does seem to work better. things still aren't working right. now when i click a station i get a working symbol, then nothing, than a working symbol. this repeats indefinitely. I am using a proxy setting. A question for you, does the script proxy the command api and the audio stream or just the command api?


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - k3oni - 2013-12-29

@t0nedef Should proxy both the api and stream.
Can you post some logs from when you are trying to play a station to see what it does there?


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - t0nedef - 2013-12-29

@k3oni Thanks for the help. The link below is a log where I start xbmc, go straight to the addon, then kill xbmc once the cycle I described starts.
http://www.xbmclogs.com/show.php?id=103170


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - k3oni - 2013-12-29

ERROR: CCurlFile::CReadState::Open, didn't get any data from stream.
17:40:51 T:2953546560 ERROR: Open - failed to open source <http://mediaserver-sv5-rt-1.pandora.com/access/6340553033886233513.mp4?version=4&lid=1271632099&

From the log it seems that it's unable to open the stream which looks like a proxy or dns issue here. Do you have the dns setup correctly for the proxy, did you try the proxy in a browser or so to make sure it works fine?

What does your resolv.conf looks like?


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - t0nedef - 2013-12-29

I've never done anything explicit for dns before. I use a socks proxy when using pandora in a browser. I use an http proxy for pianobar (polipo + socks). Both seems to work okay without me doing anything to my resolv.conf. Perhaps I should use a dns forwarder to explicitly send requests to *.pandora.com through the proxy?


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - k3oni - 2013-12-30

What DNS resolvers are you using, try and use the google dns servers and see if that changes anything.


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - Talguy - 2014-01-02

Thanks a lot for creating this addon. I finally got it to work perfectly by setting it to aacplus.

Question does anyone now where I can find a large pandora splash screen image to use as my background for the pandora shortcut I put on my Home screen in XBMC?


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - jdoo - 2014-01-02

You could try this - http://four-nineteen.com/veronica/XDA%20Developers/XBMC%204%20Android/Backgrounds/Pandora.jpg
Or this - http://i47.tinypic.com/2mo8sb9.png

Here's a google image search for large widescreen pandora images - https://www.google.com/search?as_st=y&tbm=isch&hl=en&as_q=pandora+music+wallpaper&as_epq=&as_oq=&as_eq=&cr=&as_sitesearch=&safe=images&tbs=isz:l,iar:w#facrc=_&imgdii=_


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - Mike8913 - 2014-01-04

k3Oni,

When I use your git I'm given a dependencies not met error. What sort of log can I give you to look at to help me address this?


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - rivy - 2014-01-05

I've just updated my repo (@ https://github.com/rivy/xbmc-pandora ) for the v2.x script (which uses the Pithos JSON library), and I've included the most recent API code from pithos and most of the fixes that I've seen in the posts (thanks to @k3oni and @robweber for some good ideas and code suggestions).

Currently, the most up-to-date version is in the 'prelim' branch (@ https://github.com/rivy/xbmc-pandora/tree/prelim ), but I'll merge it into 'master' as soon as it's been a bit more thoroughly tested.

I've moved my primary focus to the repo on github which has a better issue system, although I'll keep the original gitorious repo mirrored until later in the year when I can fix the XBMC links.

Please let me know about any problems via the github issue system @ https://github.com/rivy/xbmc-pandora/issues . You can send pull requests via https://github.com/rivy/xbmc-pandora/pulls .

Notes about the current version:

RELEASE: re-enable scrobbling; optional auto-playback; optional station sorting

* v2.2.0

* uses Pandora JSON API (modified code from the Pithos Project)

* UPDATE: add HACK to re-enable scrobbling (see BELOW)
* UPDATE: adds optional automatic playback of previous station
* UPDATE: adds option to sort stations
* BUGFIX: remote STOP now stops play

* BUG: scrobbling broken (but now works via HACK; core addon fix pending)

NOTE: see http://forum.xbmc.org/showthread.php?tid=70471
NOTE: Pithos project home @ https://github.com/kevinmehall/pithos

The current scrobbling function within XBMC requires that the duration
of the audio stream be set prior to calling the player for successful
scrobbling (even when the duration is correctly calculated by the player).
The current script HACK sets a fictional duration, which works, but can cause
some minor UI and scrobbling issues.

I've submitted a patch to the XBMC team to fix this in the core addons,
which will, in the future, negate the need for this HACK. The patch will
be applied to the addons, but probably not the core. So, use the addons
("Last.FM" and "Libre.FM Scrobbler") for your scrobbling; and disable the
core scrobbling function (Settings / Music / Song Submission).


RE: [RELEASE] Pandora Radio (Script) Music Addon (Updated 2011-11-13 : V1.2.8) - noone - 2014-01-05

(2014-01-04, 06:45)Mike8913 Wrote: k3Oni,

When I use your git I'm given a dependencies not met error. What sort of log can I give you to look at to help me address this?

I get the same thing when I try to install this zip within xbmc. - https://github.com/rivy/xbmc-pandora

Any resolution?