xbox-scene.com - your xbox news information source
Quick Links: Main Forums | Xbox360 Forums | Xbox1 Forums | PS3 Forums
Xbox-Scene Forum Help  Search Xbox-Scene Forums   Xbox-Scene Forum Members   Xbox-Scene Calendar

Giganews Usenet Offers: +1150 days binary retention, 99%+ Completion, and Unlimited Speed/Access!

360 ODD Emulators: X360 Key $99 | Wasabi360 FAT $99 | Wasabi360 Slim $99
C4E's iXtreme Burner MAX Drive: LiteOn iHAS124 DROPPED TO JUST $17


Welcome Guest ( Log In | Register )

 Forum Rules Rules
2 Pages V  1 2 >  
Reply to this topicStart new topic
> Pandora, Oh If I only knew .......
cashkid
post Feb 13 2006, 03:24 AM
Post #1


X-S Member
*

Group: Members
Posts: 64
Joined: 8-December 04
Member No.: 174355
Xbox Version: v1.0



Oh If I only knew python, I would. Yes I would.
Pandora.
I got to learn it now for this. ohmy.gif

User is offlineProfile CardPM
Go to the top of the page
+Quote Post
mike315
post Feb 14 2006, 05:15 PM
Post #2


X-S Expert
***

Group: Members
Posts: 512
Joined: 21-November 04
Member No.: 168983
Xbox Version: v1.6
360 version: v3.0 (falcon)



QUOTE(cashkid @ Feb 13 2006, 03:31 AM) *

Oh If I only knew python, I would. Yes I would.
Pandora.
I got to learn it now for this. ohmy.gif



eh not sure it would be possible...it uses a flash player:

https://www.pandora.com:443/radio/tuner_6_7_0_1.swf

There doesn't seem to be a magical way to extract the actually stream url...and there's no telling what type of stream it is........perhaps someone can decompile it and see whats up. dont hold your breath.

EDIT:

Nevermind what I typed above...check this out: http://blogs.securiteam.com/index.php/archives/174

& http://www.digg.com/music/Pandora_streamin...ur_TEMP_folder_

Looks like you can build your Music collection offa this site...not that I condone piracy lol...

This post has been edited by mike315: Feb 14 2006, 05:26 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
DigiGuru
post Feb 21 2006, 04:01 PM
Post #3


X-S Enthusiast


Group: Members
Posts: 11
Joined: 14-February 06
Member No.: 272383



So, it would appear, looking at the blogs, what we need is the following:

The flash player for XMBC (it doesn't play audio, but that theoretically doesn't matter)
The ability to intercept the headers
Download/Cache the MP3 file from the header
As soon as the next request comes in, cache that and queue it for download too.
Keep adding these files to a growing playlist

In order to keep up with a form of privacy or to not invalidate Pandora's licensing, the script could "flush" the cache on close.

The only problem is that the MP3 streams that are downloaded DONT contain any ID3 information, so someone would need to find a way to extract the text from the flash file

Stu
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
raid517
post Apr 1 2006, 01:53 AM
Post #4


X-S Senior Member
**

Group: Members
Posts: 167
Joined: 28-March 04
Member No.: 110262



I really hope someone picks up on this idea.

GJ
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
effinboy
post Apr 1 2006, 03:00 AM
Post #5


X-S Member
*

Group: Members
Posts: 97
Joined: 6-July 05
Member No.: 232485



So do I, I listen to this website... DAILY. biggrin.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
vulgusprofanum
post Apr 1 2006, 03:09 AM
Post #6


X-S Senior Member
**

Group: Members
Posts: 155
Joined: 26-October 02
Member No.: 6306



i'm not really familiar with pandora, but assume it's about the same as last.fm. (which is awsome) so ... that's already partially supported by xbmc, (submitting listned songs to database) but no support for last.fm radio. the radio is great (quality and function) and it's open source. so, anyway, someone should integrate this into xbmc for a great "learning" web-radio. should be easier than dealing with that flash crap.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
raid517
post Apr 1 2006, 03:26 AM
Post #7


X-S Senior Member
**

Group: Members
Posts: 167
Joined: 28-March 04
Member No.: 110262



Hell yeah if I was given a choice, I would always choose lastFM first. I was under the impression that XBMC had full lastFM support? I thought it was the radio? Hell I even bough a modchip when I heard it.

We definitely need either LastFM support, or Pandora support, or both for the Xbox. There are guys paying hundreds and hundreds of dollars for Sonos type Internet radio players. The Xbox should be more than capable of handling this and would make an awesome LastFM hardware based radio player.

GJ

This post has been edited by raid517: Apr 1 2006, 03:27 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
gregers
post Apr 17 2006, 12:00 AM
Post #8


X-S Enthusiast


Group: Members
Posts: 1
Joined: 21-October 05
Member No.: 253736



QUOTE(DigiGuru @ Feb 21 2006, 05:08 PM) *
The flash player for XMBC (it doesn't play audio, but that theoretically doesn't matter)

rewrite flash client in python instead (haven't checked what possibilities you have with python on XBMC, but I suppose it should work)

QUOTE(DigiGuru @ Feb 21 2006, 05:08 PM) *
The ability to intercept the headers

just download the xml (see below)

QUOTE(DigiGuru @ Feb 21 2006, 05:08 PM) *
Download/Cache the MP3 file from the header

you'll find a link to the mp3 file in the xml

QUOTE(DigiGuru @ Feb 21 2006, 05:08 PM) *
As soon as the next request comes in, cache that and queue it for download too.

In the HTTP protocol, only the client sends requests. The xml file contains a list of songs, including one (or more) ahead of the one you're listening too. When at the end of a song, start playing the next (already downloaded), then download the xml again to get the url for the following song.

QUOTE(DigiGuru @ Feb 21 2006, 05:08 PM) *
The only problem is that the MP3 streams that are downloaded DONT contain any ID3 information, so someone would need to find a way to extract the text from the flash file

The data is in the xml wink.gif


I've been thinking about making this for a while, but unfortunately I don't have the time. I think it is easier than you think. If you use a packet sniffer (or LiveHttpHeader for Firefox) you can se how the Pandora flash client interacts with the server. It's just regular HTTP protocol. You will see that the client requests an xml file from the server. This contains a list of song data, including what you are missing in the ID3 (artist, album title, song title, category) as well as link to amazon, itunes, music.com, album cover image, and link to the mp3 file.

If I were to make a plugin for XBMC, I would make my own GUI that communicates with the pandora server in the same way as the flash client does. This way we don't need a XBMC flash player

It's probably a good idea to contact Pandora, asking them what they require to have a friendly relationship with them.

Haven't really looked into the validation, but I might be able to help if someone wants to make an XBMC plugin...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
timdog82001
post Apr 17 2006, 09:02 AM
Post #9


X-S Genius
****

Group: Members
Posts: 877
Joined: 20-January 05
Member No.: 190188
Xbox Version: v1.0
360 version: v1 (xenon)



Holy crap. Somebody PLEASE make a script for this, this is insanely cool, and would be a HUGE addition to xbmc. I wish I could do it, but unfortunately I don't know the first thing about python.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
wassabi
post May 12 2006, 07:10 PM
Post #10


X-S Member
*

Group: Members
Posts: 140
Joined: 6-February 04
Member No.: 98038
Xbox Version: v1.3
360 version: v1 (xenon)



Not sure if this helps, but they have a thing for winamp.
http://googlesystem.blogspot.com/2006/05/l...-in-winamp.html

CODE
If you have the latest version of Winamp (namely, 5.21), you can add Pandora, a great online personalized radio, to Media Library.

Close Winamp, open
C:\Program Files\ Winamp\Plugins\ml \ml_online.ini (change the location if you've installed Winamp elsewhere).

Replace this line

ElementID7=-1

with

ElementID7=7000
ElementIcon7=11003
ElementSubbed7=1
ElementName7=Pandora
ElementURL7=http://www.pandora.com/?cmd=tunermini
ElementID8=-1

When you open Winamp again, go to Media Library/Online Services/Pandora. If you haven't got an account, you should make one. You can close Media Library and still listen to your radio.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
mike315
post May 12 2006, 10:38 PM
Post #11


X-S Expert
***

Group: Members
Posts: 512
Joined: 21-November 04
Member No.: 168983
Xbox Version: v1.6
360 version: v3.0 (falcon)



QUOTE(wassabi @ May 12 2006, 02:17 PM) *

Not sure if this helps, but they have a thing for winamp.
http://googlesystem.blogspot.com/2006/05/l...-in-winamp.html


doesnt help too much unfortunately...the media library window in winamp can be used for an embedded IE webpage. and thats all thats really going on there, just another IE window running the pandora flash player.

sad.gif

This post has been edited by mike315: May 12 2006, 10:38 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ph33r_Bob
post Jun 14 2006, 08:34 PM
Post #12


X-S Member
*

Group: Members
Posts: 75
Joined: 6-January 03
Member No.: 16859



i decompiled the tuner.

download here

http://rapidshare.de/files/23068604/tuner_7_0_0_0.rar.html

This post has been edited by Ph33r_Bob: Jun 14 2006, 08:35 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Meschke
post Jun 15 2006, 08:24 PM
Post #13


X-S Enthusiast


Group: Members
Posts: 11
Joined: 7-June 05
Member No.: 225719



yeah, i definatly agree this would be a great addition to xbmc

if someones gets this goin i'll help alpha, or beta test:)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
morde
post Sep 26 2006, 05:50 PM
Post #14


X-S Enthusiast


Group: Members
Posts: 9
Joined: 18-July 06
Member No.: 290458



Any progress on a pandora plugin?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
fdrzrich
post Sep 26 2006, 08:41 PM
Post #15


X-S Enthusiast


Group: Members
Posts: 14
Joined: 23-June 06
Member No.: 287204



I just registered at Pandora (nicked a zip code of some random US company as it only allows US codes!) and think its a great idea! Been listening to loads of songs I would never normally have heard of...

It NEEDS to be created for XBMC.....If only I knew how! Please uhh.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post





2 Pages V  1 2 >
Reply to this topicStart new topic

 

Lo-Fi Version Time is now: 18th May 2013 - 02:35 PM