Jump to content

(Pandora) Saver2


ZigZagJoe

Recommended Posts

Screenshot

pandorashot.th.jpg

In the Foxyproxy window u can see my setup for tor if i dont use SProxy. For the use of SProxy i have FoxyProxy disabled. Just so u know which settings do it for me.

Following there is all log entries created during my try to connect to pandora with Saver2Beta3

28.07.2009 16:06:02    Configuration read, 76 keys
28.07.2009 16:06:03    SProxy application started.
28.07.2009 16:06:03    Searching for plugins in D:\Pandora\
28.07.2009 16:06:03    Loaded plugin PandoraHelper.dll (PandoraHelper.Helper)
28.07.2009 16:06:03    Loaded plugin Saver.Deezer.dll (Deezer.Deezer)
28.07.2009 16:06:03    Loaded plugin Saver.Grooveshark.dll (Grooveshark.Grooveshark)
28.07.2009 16:06:03    Loaded plugin Saver.Pandora.dll (Pandora.Pandora)
28.07.2009 16:06:03    Loaded plugin Saver.Slacker.dll (Slacker.Slacker)
28.07.2009 16:06:03    Loaded plugin Saver2.dll (Saver2.Saver)
28.07.2009 16:06:04    Loaded plugin SongFader.dll (SongFader.Fader)
28.07.2009 16:06:04    Saver2: Checking vital files...
28.07.2009 16:06:04    Saver2: Verifying mplayer.exe
28.07.2009 16:06:04    Saver2: Verifying lame.exe
28.07.2009 16:06:04    Saver2 Core 1.1 BETA B loaded; looking for suitable plugins...
28.07.2009 16:06:04    Saver2: Pandora Helper 1.008 found!
28.07.2009 16:06:04    Saver2: Deezer 1.1 found!
28.07.2009 16:06:04    Saver2: Grooveshark 1.0 found!
28.07.2009 16:06:04    Saver2: Pandora 2.1 found!
28.07.2009 16:06:04    Saver2: Slacker 1.0 found!
28.07.2009 16:06:04    Saver2: Song Fader 1.008a found!
28.07.2009 16:06:04    Saver2: WARNING: This software is for educational use only. Do not use the software in a way that would contravene any music copyright laws.
28.07.2009 16:06:04    Saver2: Any information provided by software is for educational purposes only. No function is implied or in any way guaranteed.
28.07.2009 16:06:04    Saver2: SaveDir = D:\Pandora\Saved Music\
28.07.2009 16:06:04    Saver2: NrCores = 2
28.07.2009 16:06:04    Saver2: Worker thread started!
28.07.2009 16:06:04    SProxy starting
28.07.2009 16:06:04    Using SOCKS4a proxy 127.0.0.1:9050
28.07.2009 16:06:04    Listening for connections on port 8888
28.07.2009 16:06:18    #0    GET http://pandora.com/
28.07.2009 16:06:22    #1    GET http://www.pandora.com/restricted
28.07.2009 16:06:24    #2    GET http://www.pandora.com/styles/pandora_styles.css
28.07.2009 16:06:24    #3    GET http://www.pandora.com/include/common.js
28.07.2009 16:06:26    #4    GET http://www.pandora.com/images/background_backstage_top.jpg
28.07.2009 16:06:26    #5    GET http://www.pandora.com/images/logo_pandora.jpg
28.07.2009 16:06:26    #7    GET http://www.pandora.com/images/search_icon.gif
28.07.2009 16:06:26    #6    GET http://www.pandora.com/images/radio_from.jpg
28.07.2009 16:06:26    #8    GET http://www.pandora.com/images/nav_button.gif
28.07.2009 16:06:26    #11    GET http://www.pandora.com/images/signature_tim.jpg
28.07.2009 16:06:26    #10    GET http://www.pandora.com/images/background_backstage_middle.gif
28.07.2009 16:06:27    #12    GET http://www.pandora.com/images/button_letmeknow.gif
28.07.2009 16:06:27    #13    GET http://www.pandora.com/images/background_backstage_bottom.jpg
28.07.2009 16:10:17    #14    GET http://www.pandora.com/images/nav_button_hover.gif

Maybe it does the IP check on the root pandora page. Guess i'll have to try that. I'll try to get a version uploaded sometime (probably tomorrow)

Link to comment
Share on other sites

The Saver2 Grooveshark plugin does not seem to save any songs. Has anyone tried it successfully?

7/29/2009 4:26:06 PM	#6	GET http://listen.grooveshark.com/displayAd.php?sessionID=[redacted]
7/29/2009 4:26:19 PM	#7	POST http://cowbell.grooveshark.com/service.php?json
7/29/2009 4:26:19 PM	#7 POST 277 bytes to cowbell.grooveshark.com
7/29/2009 4:26:27 PM	Generating error page: 500 Server Error 'Internal Server Error: SocketException'
7/29/2009 4:26:27 PM	#6 died with fatal error!
System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at Proxy.ProxyConnection.HandleRequest() in C:\Documents and Settings\zigzagjoe\Desktop\PS\Saver2\SProxy\ProxyConnection.cs:line 470
7/29/2009 4:26:29 PM	#8	POST http://stream29.grooveshark.com/stream.php
7/29/2009 4:26:29 PM	#8 POST 30 bytes to stream29.grooveshark.com
7/29/2009 4:26:29 PM	Grooveshark: #8 matched http://stream*.grooveshark.com/stream.php
7/29/2009 4:26:30 PM	#9	POST http://cowbell.grooveshark.com/service.php?json
7/29/2009 4:26:30 PM	#9 POST 361 bytes to cowbell.grooveshark.com
7/29/2009 4:26:36 PM	#10	GET /log

Link to comment
Share on other sites

The Saver2 Grooveshark plugin does not seem to save any songs. Has anyone tried it successfully?

7/29/2009 4:26:06 PM	#6	GET http://listen.grooveshark.com/displayAd.php?sessionID=[redacted]
7/29/2009 4:26:19 PM	#7	POST http://cowbell.grooveshark.com/service.php?json
7/29/2009 4:26:19 PM	#7 POST 277 bytes to cowbell.grooveshark.com
7/29/2009 4:26:27 PM	Generating error page: 500 Server Error 'Internal Server Error: SocketException'
7/29/2009 4:26:27 PM	#6 died with fatal error!
System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at Proxy.ProxyConnection.HandleRequest() in C:\Documents and Settings\zigzagjoe\Desktop\PS\Saver2\SProxy\ProxyConnection.cs:line 470
7/29/2009 4:26:29 PM	#8	POST http://stream29.grooveshark.com/stream.php
7/29/2009 4:26:29 PM	#8 POST 30 bytes to stream29.grooveshark.com
7/29/2009 4:26:29 PM	Grooveshark: #8 matched http://stream*.grooveshark.com/stream.php
7/29/2009 4:26:30 PM	#9	POST http://cowbell.grooveshark.com/service.php?json
7/29/2009 4:26:30 PM	#9 POST 361 bytes to cowbell.grooveshark.com
7/29/2009 4:26:36 PM	#10	GET /log

It's possible that the either the grooveshark server is being antisocial or for some other reason the response was in one packet. I'll add a bit to deal wtih this. (after i install vs2005 again - i've been out for a while due to job, school, and computer rebuild)

Okay, uploaded a new version with the connection handler fix and it should now work with pandora over tor again

Link to comment
Share on other sites

-_- sad to say i LOVE groove shark... i myself seem to be having issues and i downloaded the new beta today... Im kinda sad by this but what its original use was for *pandora* still works fine. I will just wait to see what is going on cuz I would like to see this feature work...

-ben

Link to comment
Share on other sites

What format and bitrate do each of these services stream in? Is there an updated list I can view somewhere? Especially curious of the "premium" memberships, thinking I'll pay for one to get some free HQ music.

pandora standard - 64kbs aacplus (quiv. 96kbs mp3)

pandora one - 192kbs JS mp3

grooveshark - varies, typically >128kbs mp3 (always mp3)

slacker 128kbs mp3.

deezer 128kbs mp3 (may vary if user uploaded, always mp3 as far as i know)

Link to comment
Share on other sites

pandora standard - 64kbs aacplus (quiv. 96kbs mp3)

pandora one - 192kbs JS mp3

grooveshark - varies, typically >128kbs mp3 (always mp3)

slacker 128kbs mp3.

deezer 128kbs mp3 (may vary if user uploaded, always mp3 as far as i know)

So if I get Pandora One I can listen to the music on my ipod without any issues?

Also have you any intention of checking out Spotify? I'll help with your subscription if you're planning on starting on it soon.

Link to comment
Share on other sites

So if I get Pandora One I can listen to the music on my ipod without any issues?

Also have you any intention of checking out Spotify? I'll help with your subscription if you're planning on starting on it soon.

ipod touches can also play aacplus, but yeah mp3 is generaly easier to handle. Itunes, however, will not play aacplus properly (no highs at all). So if you don't mind the cost and extra disk space, i'd do it.

(i wonder if aacplus could be overrided for mp3 with a little url mangling...)

As for spotify, i'll take a look into it.... looks like this might be a pain as it's UK-only (need to use proxy). Wonder if Tor has a significant number of exitnodes in the UK.

Link to comment
Share on other sites

-_- sad to say i LOVE groove shark... i myself seem to be having issues and i downloaded the new beta today... Im kinda sad by this but what its original use was for *pandora* still works fine. I will just wait to see what is going on cuz I would like to see this feature work...

-ben

Frankly speaking, saying "it doan work, fixxit!" doesn't help me figure out what is wrong - if you post logs/screenshots it will save my (limited) time and let me figure out what was wrong. Not trying to be harsh, but it's the truth.

In this case, it was due to a bit of cleverness that was meant for AART also affected the data and meta urls effectively causing only one of each to be read. As gs does a lot of talking to the server, this meant it never got the song data or the key for the stream.

Other stuff: Deezer has upgraded to "v3"; as such the current plugin is no longer functional and has been removed from the download. I'll take a look at it later (could be a day could be a week).

Other stuff fixed: I evidently missed mp4tags and instead had faad, so all standard pandora files would never have been tagged due to the missing tool. It will now download mp4tags properly.

I looked at making pandora send 192kbs mp3s regardless of subscription status some today - evidently, in addition to passing the argument in the URL it's also contained in the encrypted POST data. So, this has to be decrypted. Luckily, pianobar (linux client) has an implementation of pandora's crypt stuff. But, its decrypt function is only assumed to be used for decrypting urls, so it's not meant to process the several times longer XML postdata (if it's even the same sort of crypting).

On the plus side, at least if i so desire i can dispose of the cropping of urls kludge. pianobar has been most helpful in providing insights to how all this is handled. Also got to play around with DLLImport'ing something other than windows functions (and the resulting headaches)...

Link to comment
Share on other sites

ipod touches can also play aacplus, but yeah mp3 is generaly easier to handle. Itunes, however, will not play aacplus properly (no highs at all). So if you don't mind the cost and extra disk space, i'd do it.

(i wonder if aacplus could be overrided for mp3 with a little url mangling...)

As for spotify, i'll take a look into it.... looks like this might be a pain as it's UK-only (need to use proxy). Wonder if Tor has a significant number of exitnodes in the UK.

Spotify is available everywhere if you pay for a subscription, though getting it to work in the US for free would be a noteworthy feat by itself.

Link to comment
Share on other sites

I managed to get pianobar's decrypting working (it used different keys for URL decoding and xml encoding), however it's not possible to spoof pandora into sending 192kbs mp3. It just sends 64kbs mp3. Oh well.

Not going to bother changing the URL kludge as I don't fully understand how the licensing works. I basically put pianobar's crypto in a DLL, so i think that the full source has to be included and so on.

Might add a recording mode to sproxy, so people can get me datasets and save me the time figuring out the service. I'd still have to do so anyways, but it'd give me a head start. 3 datasets are typically enough for me to start figuring something out.

I'd (probably) get the flash applet, plus metadata, song data and what not as needed. Usage would be start recording and then stop and save, SProxy saving all requests sent through it, the log, postdata, headers, and so on. So you wouldn't want to put anything you wouldn't want me seeing in it. Though, it wouldn't record SSL as that's just not possible. (well, it is, but the data would be worthless as it's encrypted)

Brainstorm stuff --- can stop reading here

Config dump required

GZipstream wrap the results?

binary format which can be written as a stream so large responses don't kill it? need multilayered recording shit

Archive
|-- header length
|-- header info, tell entry stuff (length, offset)
|-- entries

request
|-- session ToString()
|-- request body, if applicable
|-- response body

maybe just use datfile and a custom binary format to contain the internal shit like sessioninfo, bodies? but limited to 255 entries..., also, no dynamic compression/allocation; it'd whore memory.

Maybe i should just add a plugin to save all requests from a host and count on the user to be competent enough to grab the log. this compression/packing shit is a pain. But then i'd run into filename length stuff. Ugh

maybe just save by session ID in folders and put the log in there too, and have the user zip it up. DatFile is meant as a resource rather than a large compression stuff.

Link to comment
Share on other sites

  • 2 weeks later...

I'm getting this error after using Turbo mode for a couple minutes:

rDaNz.png

Here's the log:

8/11/2009 5:26:48 AM    Pandora: Inspecting XMLRPC 'getFragment': http://www.pandora.com/radio/xmlrpc/v24?rid=5167698P&lid=13099742&method=getFragment&arg1=74414285556015838&arg2=348128375&arg3=1181146&arg4=&arg5=aacplus&arg6=0&arg7=0
8/11/2009 5:26:48 AM    Pandora: Response contains no XML urlshttp://www.pandora.com/radio/xmlrpc/v24?rid=5167698P&lid=13099742&method=getFragment&arg1=74414285556015838&arg2=348128375&arg3=1181146&arg4=&arg5=aacplus&arg6=0&arg7=0
8/11/2009 5:26:48 AM    Pandora: Error while parsing XMLRPC:
System.Exception: No audio data in XMLRPC fragment
   at Pandora.Pandora.readSongInfos(Session oSession, XmlDocument doc) in C:\Documents and Settings\zigzagjoe\Desktop\PS\Saver2\Pandora\Pandora.cs:line 780
   at Pandora.Pandora.SniffMusic(Session oSession) in C:\Documents and Settings\zigzagjoe\Desktop\PS\Saver2\Pandora\Pandora.cs:line 405
8/11/2009 5:26:48 AM    Pandora: The offending XML has been saved to C:\Users\Hochler\Downloads\Saver2Beta2\Temp\BAD_PANDORA_XML_GETFRAGMENT_6YhUO2MbHtM0CQ8R.XML
8/11/2009 5:26:48 AM    Pandora: Disabled
8/11/2009 5:26:48 AM    Pandora: Disabling Pandora due to excessive XML errors

Here's the contents of BAD_PANDORA_XML_GETFRAGMENT_6YhUO2MbHtM0CQ8R.XML:

<?xml version="1.0" encoding="UTF-8"?><methodResponse><fault><value><struct><member><name>faultString</name><value>com.savagebeast.radio.api.protocol.xmlrpc.RadioXmlRpcException: 192.168.160.187|1249983353651|PLAYLIST_END|Playlist end detected</value></member><member><name>faultCode</name><value><int>1</int></value></member></struct></value></fault></methodResponse>

I'm using the most recent version (as of August 10th 2009).

Any help? Thanks.

Link to comment
Share on other sites

I'm getting this error after using Turbo mode for a couple minutes:

rDaNz.png

Here's the log:

8/11/2009 5:26:48 AM    Pandora: Inspecting XMLRPC 'getFragment': http://www.pandora.com/radio/xmlrpc/v24?rid=5167698P&lid=13099742&method=getFragment&arg1=74414285556015838&arg2=348128375&arg3=1181146&arg4=&arg5=aacplus&arg6=0&arg7=0
8/11/2009 5:26:48 AM    Pandora: Response contains no XML urlshttp://www.pandora.com/radio/xmlrpc/v24?rid=5167698P&lid=13099742&method=getFragment&arg1=74414285556015838&arg2=348128375&arg3=1181146&arg4=&arg5=aacplus&arg6=0&arg7=0
8/11/2009 5:26:48 AM    Pandora: Error while parsing XMLRPC:
System.Exception: No audio data in XMLRPC fragment
   at Pandora.Pandora.readSongInfos(Session oSession, XmlDocument doc) in C:\Documents and Settings\zigzagjoe\Desktop\PS\Saver2\Pandora\Pandora.cs:line 780
   at Pandora.Pandora.SniffMusic(Session oSession) in C:\Documents and Settings\zigzagjoe\Desktop\PS\Saver2\Pandora\Pandora.cs:line 405
8/11/2009 5:26:48 AM    Pandora: The offending XML has been saved to C:\Users\Hochler\Downloads\Saver2Beta2\Temp\BAD_PANDORA_XML_GETFRAGMENT_6YhUO2MbHtM0CQ8R.XML
8/11/2009 5:26:48 AM    Pandora: Disabled
8/11/2009 5:26:48 AM    Pandora: Disabling Pandora due to excessive XML errors

Here's the contents of BAD_PANDORA_XML_GETFRAGMENT_6YhUO2MbHtM0CQ8R.XML:

<?xml version="1.0" encoding="UTF-8"?><methodResponse><fault><value><struct><member><name>faultString</name><value>com.savagebeast.radio.api.protocol.xmlrpc.RadioXmlRpcException: 192.168.160.187|1249983353651|PLAYLIST_END|Playlist end detected</value></member><member><name>faultCode</name><value><int>1</int></value></member></struct></value></fault></methodResponse>

I'm using the most recent version (as of August 10th 2009).

Any help? Thanks.

Stop using pandora for 30 minutes (close all flash players), and try again. This happens on prolonged turbo sessions i find, or otherwise when a lot of music requests are made.

Link to comment
Share on other sites

Stop using pandora for 30 minutes (close all flash players), and try again. This happens on prolonged turbo sessions i find, or otherwise when a lot of music requests are made.

I guess my connection is to fast, because that happens after only a minute or two. Is there any fix? I'd love to just rip all my thumbed-up songs over one night.

Link to comment
Share on other sites

In turbo mode it rips a song in about 4-5 seconds.

Here's the entirety of the log (530 lines): http://pastebin.com/m19bbfee6

Something's seriously wrong with the flash applet - it's requesting more than one song at once, before one finishes. It is not loading songs properly (evidently), so is trying all the playlist links. I know this as it does not seem to be requesting Album art. It's not pandora wising up, seeing as turbo still works fine here. Does pandora work fine in normal rip mode?

Link to comment
Share on other sites

Something's seriously wrong with the flash applet - it's requesting more than one song at once, before one finishes. It is not loading songs properly (evidently), so is trying all the playlist links. I know this as it does not seem to be requesting Album art. It's not pandora wising up, seeing as turbo still works fine here. Does pandora work fine in normal rip mode?

Yea, normal mode is working fine for me, at least for the couple hours I run it for.

Here's a video of my Pandora in turbo mode, if it helps: http://www.youtube.com/watch?v=xY-KpWsBDU0

Link to comment
Share on other sites

Yea, normal mode is working fine for me, at least for the couple hours I run it for.

Here's a video of my Pandora in turbo mode, if it helps: http://www.youtube.com/watch?v=xY-KpWsBDU0

Well, it does look like it's playing properly, though i can't check the log to be absolutely sure right now. If you take a capture of the SProxy main window, the sproxy log window, AND pandora (all at the same time and all visible) it'd be immensely helpful (conclusive sort of helpful)

Link to comment
Share on other sites

Well, it does look like it's playing properly, though i can't check the log to be absolutely sure right now. If you take a capture of the SProxy main window, the sproxy log window, AND pandora (all at the same time and all visible) it'd be immensely helpful (conclusive sort of helpful)

Here it is 3 songs in: http://imgur.com/kHkvh.png

6 songs in: http://imgur.com/39XOt.png

Lost count: http://imgur.com/xdqQy.png

Just as I received the error: http://imgur.com/uddfS.png

Oh, and it's not 7. I just recently installed it last night (I was using Vista before).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...