• 1
  • 108
  • 109
  • 110(current)
  • 111
  • 112
  • 135
[OBSOLETE] Pandora Radio (Script) Music Addon
(2012-12-06, 01:46)youngt2 Wrote: Yes. I think it played all 4 songs it lists (below), then that is all. Its like its getting all the songs ahead of time, playing them, and then not getting any more songs.
Does pandora fetch songs ahead of time all at the same time "13:23:28" and then play them and not fetch more? The last line below seems to close pandora session, although it remains open on my screen, just not playing anything.

Code:
13:23:28 T:2940  NOTICE: PANDORA: Adding song Three Little Birds
13:23:28 T:2940  NOTICE: PANDORA: item info = {'album': u'Exodus (Deluxe Edition)', 'artist': u'Bob Marley', 'title': u'Three Little Birds'}
13:23:28 T:2940  NOTICE: PANDORA: Adding song Two Coins
13:23:28 T:2940  NOTICE: PANDORA: item info = {'album': u'Bang Bang', 'artist': u'Dispatch', 'title': u'Two Coins'}
13:23:28 T:2940  NOTICE: PANDORA: Adding song All For You (Live)
13:23:28 T:2940  NOTICE: PANDORA: item info = {'album': u'Before The Amplifiers', 'artist': u'Sister Hazel', 'title': u'All For You (Live)'}
13:23:28 T:2940  NOTICE: PANDORA: Adding song Real World
13:23:28 T:2940  NOTICE: PANDORA: item info = {'album': u'Yourself Or Someone Like You', 'artist': u'Matchbox Twenty', 'title': u'Real World'}
13:23:56 T:1320   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avutil-51.dll)
13:23:56 T:1320    INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://audio-dc6-t1-2.pandora.com (easy=05BDF428, multi=0007E8F0)

It's not fetching ahead, it's fetching songs as it plays them, one song after the next one.
(2012-12-06, 03:18)jimbo2008 Wrote: Is there one version of this that is better then other floating around or is it whatever works on your particular system.

Try this one, the last version i put up after small bug fixes which seems to work for most people: https://www.yaktab.com/en/p251f2 .

Reply
(2012-12-06, 16:46)k3oni Wrote: It's not fetching ahead, it's fetching songs as it plays them, one song after the next one.

Then why are all these posted to the log at the same time?? Still no sign of what makes it stops after 3 or 4 songs? Sad
Reply
(2012-12-06, 19:39)youngt2 Wrote:
(2012-12-06, 16:46)k3oni Wrote: It's not fetching ahead, it's fetching songs as it plays them, one song after the next one.

Then why are all these posted to the log at the same time?? Still no sign of what makes it stops after 3 or 4 songs? Sad

Actually it is adding 4 songs to queue, if you use the forward button it will move to the next song that was in queue.. seems to do it every 4 songs.
Can you post the log from the start when you enter pandora until it stops working/playing?
Reply
below is a clip from the xbmc.log for the situation where it won't allow a station to start playing:

Code:
04:51:21 T:2787111952  NOTICE: Thread XBPyThread start, auto delete: false
04:51:21 T:2787111952  NOTICE: -->Python Interpreter Initialized<--
04:51:22 T:2787111952  NOTICE: PANDORA: Initializing v1.2.10-git
04:51:22 T:2787111952  NOTICE: PANDORA: sys.platform = linux2
04:51:25 T:2778723344  NOTICE: Thread Background Loader start, auto delete: false
04:51:27 T:2787111952  NOTICE: Previous line repeats 1 times.
04:51:27 T:2787111952  NOTICE: PANDORA: Window Initalized!!!
04:51:34 T:2787111952  NOTICE: PANDORA: getting more songs
04:51:35 T:2787111952   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "/home/pi/.xbmc/addons/script.xbmc.pandora/pandagui.py", line 62, in onClick
                                                self.panda.playStation( selItem.getProperty("stationId") )
                                              File "/home/pi/.xbmc/addons/script.xbmc.pandora/default.py", line 122, in playStation
                                                self.getMoreSongs()
                                              File "/home/pi/.xbmc/addons/script.xbmc.pandora/default.py", line 136, in getMoreSongs
                                                songs = station.get_playlist()
                                              File "/home/pi/.xbmc/addons/script.xbmc.pandora/pandora/pandora.py", line 264, in get_playlist
                                                songs.append(Song(self.pandora, i))
                                              File "/home/pi/.xbmc/addons/script.xbmc.pandora/pandora/pandora.py", line 288, in __init__
                                                self.audioUrl = d['additionalAudioUrl'][self.pandora.audio_format]
                                            IndexError: list index out of range
                                            -->End of Python script error report<--
I'm running version 1.2.10 of the script on Raspbmc Beta 2
Reply
(2012-12-07, 15:27)321liftoff Wrote: below is a clip from the xbmc.log for the situation where it won't allow a station to start playing:

Code:
04:51:21 T:2787111952  NOTICE: Thread XBPyThread start, auto delete: false
04:51:21 T:2787111952  NOTICE: -->Python Interpreter Initialized<--
04:51:22 T:2787111952  NOTICE: PANDORA: Initializing v1.2.10-git
04:51:22 T:2787111952  NOTICE: PANDORA: sys.platform = linux2
04:51:25 T:2778723344  NOTICE: Thread Background Loader start, auto delete: false
04:51:27 T:2787111952  NOTICE: Previous line repeats 1 times.
04:51:27 T:2787111952  NOTICE: PANDORA: Window Initalized!!!
04:51:34 T:2787111952  NOTICE: PANDORA: getting more songs
04:51:35 T:2787111952   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "/home/pi/.xbmc/addons/script.xbmc.pandora/pandagui.py", line 62, in onClick
                                                self.panda.playStation( selItem.getProperty("stationId") )
                                              File "/home/pi/.xbmc/addons/script.xbmc.pandora/default.py", line 122, in playStation
                                                self.getMoreSongs()
                                              File "/home/pi/.xbmc/addons/script.xbmc.pandora/default.py", line 136, in getMoreSongs
                                                songs = station.get_playlist()
                                              File "/home/pi/.xbmc/addons/script.xbmc.pandora/pandora/pandora.py", line 264, in get_playlist
                                                songs.append(Song(self.pandora, i))
                                              File "/home/pi/.xbmc/addons/script.xbmc.pandora/pandora/pandora.py", line 288, in __init__
                                                self.audioUrl = d['additionalAudioUrl'][self.pandora.audio_format]
                                            IndexError: list index out of range
                                            -->End of Python script error report<--
I'm running version 1.2.10 of the script on Raspbmc Beta 2

Please read post 1628.
Reply
(2012-12-07, 16:04)k3oni Wrote:
(2012-12-07, 15:27)321liftoff Wrote: below is a clip from the xbmc.log for the situation where it won't allow a station to start playing:

Code:
04:51:21 T:2787111952  NOTICE: Thread XBPyThread start, auto delete: false
04:51:21 T:2787111952  NOTICE: -->Python Interpreter Initialized<--
04:51:22 T:2787111952  NOTICE: PANDORA: Initializing v1.2.10-git
04:51:22 T:2787111952  NOTICE: PANDORA: sys.platform = linux2
04:51:25 T:2778723344  NOTICE: Thread Background Loader start, auto delete: false
04:51:27 T:2787111952  NOTICE: Previous line repeats 1 times.
04:51:27 T:2787111952  NOTICE: PANDORA: Window Initalized!!!
04:51:34 T:2787111952  NOTICE: PANDORA: getting more songs
04:51:35 T:2787111952   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
...
I'm running version 1.2.10 of the script on Raspbmc Beta 2

Please read post 1628.

Big Grin Thanks! Also, the one and done behavior is not there.
Reply
Is there a way to integrate this addon better with xbmc? For example, when using the Yatse remote application on the "Now Playing" screen, there is pause, stop, fast forward, skip forward, etc. Pressing skip forward tries to go to the next item in the playlist, which there are no items in the playlist because the addon is just streaming the audio. Interestingly, though, pressing skip forward does skip to the next song in Pandora, but it seems to be in a round-about way. Don't know if any of this makes any sense...
Reply
I apologize if this has been asked already. I searched this thread and another user reported this issue but nobody commented on it.
I'm running the latest version from vtwoods on raspberry pi openelec. Pandora plays about 4 songs. 4th songs starts playing with visualization showing and after that, it quits. Is there a fix for this? Thanks!
Reply
(2012-12-10, 17:14)nivanov Wrote: I apologize if this has been asked already. I searched this thread and another user reported this issue but nobody commented on it.
I'm running the latest version from vtwoods on raspberry pi openelec. Pandora plays about 4 songs. 4th songs starts playing with visualization showing and after that, it quits. Is there a fix for this? Thanks!

You will need to provide the log output from when you start pandora until it stops playing.
Same was asked from the other user as he provided a log but wasn't full.
Reply
o ya that was me. i will post a full log tomorrow! Sorry I got busy.
Reply
XBMClogs

This is up to when the music stopped. And as another commenter mentioned, if I choose next from the controls the next song will play. Pushing play will not do anything though.

I've also upgraded to Beta3. Its probably nice to know that it stops before this song (unless I push next):
Code:
09:19:39 T:2576  NOTICE: PANDORA: Adding song Someone In The Road (Live 2010)
09:19:39 T:2576  NOTICE: PANDORA: item info = {'album': u'Rain Or Shine (Live)', 'artist': u'O.A.R.', 'title': u'Someone In The Road (Live 2010)'}

The last song it plays automatically:
Code:
08:58:09 T:2992  NOTICE: PANDORA: Adding song I'm Yours (Live On Earth Version)
08:58:09 T:2992  NOTICE: PANDORA: item info = {'album': u"Jason Mraz's Beautiful Mess - Live On Earth (Cd/Dvd)", 'artist': u'Jason Mraz', 'title': u"I'm Yours (Live On Earth Version)"}
Reply
The problem seems to be coming from something in your XBMC setup, the play is being delayed right after adding the next 4 songs to the list:

"09:19:57 T:3644 DEBUG: ### [Qlock] - Delaying 240 secs
09:20:08 T:1928 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avutil-51.dll)
09:20:08 T:1928 INFO: XCURL:Big GrinllLibCurlGlobal::CheckIdle - Closing session to http://audio-sjl-t1-1.pandora.com (easy=06A5DCB0, multi=0006ECA8)
09:20:08 T:1928 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avcodec-53.dll)
09:20:09 T:1928 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avformat-53.dll)
09:20:09 T:1928 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/swresample-0.dll)
09:20:10 T:1928 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib.dll)
09:20:12 T:3064 DEBUG: Thread Jobworker 3064 terminating (autodelete)"

How big is your music database? What skin are you using?
Reply
my music database is not very big, about 2.5 G.

I was using the Confluence skin at the time of this log. I've tried a few others, and had the same problem though. Confluence is still one of my favorites. Let me know if there's something you'd like me to try.
Reply
(2012-12-05, 04:41)k3oni Wrote: I don't think MP3-high is actually available anymore.. I will take it out next time i am looking at the add-on..
MP3 192kbps is still available, because I just used PandoraJam, which records the Pandora stream, and my high quality audio is still recording in MP3 format at 192kbps.

Reply
(2012-12-13, 23:00)321liftoff Wrote:
(2012-12-05, 04:41)k3oni Wrote: I don't think MP3-high is actually available anymore.. I will take it out next time i am looking at the add-on..
MP3 192kbps is still available, because I just used PandoraJam, which records the Pandora stream, and my high quality audio is still recording in MP3 format at 192kbps.

Are you running the addon using mp3-high as well, just want to make sure it is working.
I think Pandora is actually sending the audio based on the connection now.
Reply
  • 1
  • 108
  • 109
  • 110(current)
  • 111
  • 112
  • 135

Logout Mark Read Team Forum Stats Members Help
[OBSOLETE] Pandora Radio (Script) Music Addon11