Jump to content

Archived

This topic is now archived and is closed to further replies.

ZigZagJoe

Standalone Pandora Client

Recommended Posts

http://ridetheclown.com/wp/saver2/

Standalone player. Also included in the saver2 download (see my sig). This uses proxy settings configured in IE.

This program does not have the capability to save music, it only plays music. If you wish to timeshift see saver2 which includes a version which can do so.

<img src="http://zzj.itf-inc.com/downloads/newminim.png" border="0" class="linked-image" />

Supports creating and seeding stations by searching for music

Supports deletion and renaming of stations

Supports shared stations, creation by station url or ID or when using sproxy when you click on a listen link

Supports feedback (duh) and will skip when badly rated (unless you choose otherwise)

Shuffle stations (every 4 songs) or songs

Web control if using sproxy (controls, change station, see what's playing)

Global media hotkeys (play pause, next)

UNLIMITED SKIPS

Mute, volume control, etc.

Requires net framework 2.0

Post screenshots and logs if something dies.

Uses about 30mb memory and little cpu; compare to 90mb+ for firefox and flash, never mind cpu use.

Takes up about 6mb on disk, most of that being mplayer.

You need a pandora login to use this, does not support anonymous mode.

When launched from sproxy, there is a rocket icon above the keyboard (hotkeys on/off) which can be used to toggle turbo mode.

A note - to properly control this over the network, you'll need to go into SProxy advanced settings and set "ServerName" to something meaningful like the computer name/ip ("TURBO" or "192.168.1.50") and set "AllowNonLocal" to true (and restart sproxy). You will need to be using SProxy.exe, not Pandora.exe for this to function.

THIS WILL FUNCTION UNDER WINE! Just be sure to tick wine compatability when installing.

Share this post


Link to post
Share on other sites

How do you get the text that is posted with the POST XML urls? the first bytes are similar but then they change to be different but the second two are the same through and through, how do you get them?

Share this post


Link to post
Share on other sites
How do you get the text that is posted with the POST XML urls? the first bytes are similar but then they change to be different but the second two are the same through and through, how do you get them?

The post data is encrypted. Keys and such in the flash tuner. An implementation of it is in the source of pianobar, a linux pandora client

Share this post


Link to post
Share on other sites
damn, ok thanks I was hoping I could use it for a python version. :(

The crypt stuff is stand alone, so you could roll an executable to do much the same thing. (i just tossed it into a dll before porting it to c#). But re implementing it in python would probably be annoying.

Share this post


Link to post
Share on other sites

Annoying, maybe and probably... but I can not find it through google... Could you give me a link or source (or is it not open source???), Thank You

Or if you feel generous make a exe that takes command line arguments :) :)

Share this post


Link to post
Share on other sites
Annoying, maybe and probably... but I can not find it through google... Could you give me a link or source (or is it not open source???), Thank You

Or if you feel generous make a exe that takes command line arguments :) :)

http://6xq.net/html/00/17.html

/libpiano/src/crypt.c

Share this post


Link to post
Share on other sites

Yay thank you ZigZagJoe :)

EDIT: From looking at the source is it just standard blowfish?

Ok I got the custom S-Box and P list

is the password your login password, will look through src (though with knowing virtual no C the finer points are missed for me (though I can understand what it does as long as it isn't to subtle))

Share this post


Link to post
Share on other sites

I still can't find the password, is it not static or is it the csrc somewhere and I have not seen it?

Share this post


Link to post
Share on other sites
Yay thank you ZigZagJoe :)

EDIT: From looking at the source is it just standard blowfish?

Ok I got the custom S-Box and P list

is the password your login password, will look through src (though with knowing virtual no C the finer points are missed for me (though I can understand what it does as long as it isn't to subtle))

It's some sort of blowfish; i understand how the mechanism functions but i don't really know what it's doing in terms of crypto except that it works. Pass is your login pass.

I still can't find the password, is it not static or is it the csrc somewhere and I have not seen it?

It's the user's pass.

Share this post


Link to post
Share on other sites

The pandora xml is sent in ASCII not bytes, that is odd. ZigZagJoe Thank You for all your help so far :)

Share this post


Link to post
Share on other sites
The pandora xml is sent in ASCII not bytes, that is odd. ZigZagJoe Thank You for all your help so far :)

Sent in cleartext back, yeah. Also, it's UTF-8.

Share this post


Link to post
Share on other sites

Oh ok UTF-8 ok, thanks :) Got the code almost done (but I need to clean it up etc)

Share this post


Link to post
Share on other sites

Not sure if its possible, but I downloaded the new mono 2.4 for ubuntu linux (also installed the libmono for winforms) and tried running SProxy.exe and Pandora.exe. I got the following error with SProxy.exe

rick@rick-desktop:~/Programs/Saver2$ sudo mono SProxy.exe

[sudo] password for rick:

9/28/2009 8:51:06 AM SProxy application started.

9/28/2009 8:51:06 AM Searching for plugins in /home/rick/Programs/Saver2\

9/28/2009 8:51:06 AM Something has went horribly wrong in SProxy.

Exception Information:

'Directory '/home/rick/Programs/Saver2\' not found.'

at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000]

at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern) [0x00000]

at Proxy.PluginMgr.LoadPlugins () [0x00000]

at Proxy.CORE.Main (System.String[] args) [0x00000]

Caused by: mscorlib

9/28/2009 8:51:06 AM Closing all child windows

9/28/2009 8:51:06 AM Closing Indicator

9/28/2009 8:51:06 AM Closing Indicator

rick@rick-desktop:~/Programs/Saver2$

Wondering if there is a workaround for this. I tried this before with an earlier version of mono and got many more errors than what I got above. Thinking it might be close. Any thoughts?

Share this post


Link to post
Share on other sites

looks like mono doesn't translate the path properly (backslashs vs forward slashes). You might try running mono Pandora.exe but it's (evidently) probably going to fail looking for mplayer if this is the case.

The other thing is it needs an executable named mplayer.exe in the same directory as it, and i don't think it can invoke the windows one properly (using wine). So it'd have to be a linux executable or symlink with that exact name.

Fake Edit: No, this won't work given the current state of things. I have to use a named pipe (and windows' unique APIs to create it) so mplayer can get both the data AND be controlled. I know linux has named pipe support, but there's no clean way to have the two implementations coexist. You might try getting .net 2.0 to work under wine - more likely to work.

Share this post


Link to post
Share on other sites

morning ZigZagJoe .... i keep getting win32 errors pop up... also i was wondering if u had a way yet to automate the updates to this app... it would help make life ez.... but compaired to ur last peaces of work ... i must say WOW IM Impressed!

great work man.

Share this post


Link to post
Share on other sites
morning ZigZagJoe .... i keep getting win32 errors pop up... also i was wondering if u had a way yet to automate the updates to this app... it would help make life ez.... but compaired to ur last peaces of work ... i must say WOW IM Impressed!

great work man.

Glad you like it :)

Do you have a log/screenshot of these errors? Check for PandoraLog.txt (if you launched using pandora.exe) or SPlog.txt (if you launched using sproxy)

Share this post


Link to post
Share on other sites

^_^ havent been getting any errors like i have and its all good it seems so far but i have another issue... seems when i went to go into a rip session last with one stand alone client it was fine because i told it to re-encode to mp3 so it could be read by my mp3 player... now that im running off a diffrent client it seens now that is all it ever wants to do even with the re-encoder clicked off. It just wont stop.. Ive tried everything i could think of but i would like to go back to a mp4 format so it would be easier to just rip-n-go.

quick-edit: i was using 2 of the same program for a bit but cleared it off my system to try to see if that would take care of it.... seems like no because its still doing it.

Share this post


Link to post
Share on other sites
^_^ havent been getting any errors like i have and its all good it seems so far but i have another issue... seems when i went to go into a rip session last with one stand alone client it was fine because i told it to re-encode to mp3 so it could be read by my mp3 player... now that im running off a diffrent client it seens now that is all it ever wants to do even with the re-encoder clicked off. It just wont stop.. Ive tried everything i could think of but i would like to go back to a mp4 format so it would be easier to just rip-n-go.

quick-edit: i was using 2 of the same program for a bit but cleared it off my system to try to see if that would take care of it.... seems like no because its still doing it.

re-encoder is non functional - it will do nothing. was supposed to be disabled but i enabled it while i was working on it and forgot to disable when i uploaded. different client - do you mean the flash client? it will output mp3 if you have pandora one but otherwise will do m4a. this client (one the thread is about) does mp3 only.

Share this post


Link to post
Share on other sites

I installed everything and all was good. It saved the first song in Download folder. The problem is that it only saved 1 song. Nothing else has been saved. Can send a portion of the log if you need it. I have used several versions of your program in the past and I like this one best...as long as I can get songs saved. :)

Share this post


Link to post
Share on other sites
re-encoder is non functional - it will do nothing. was supposed to be disabled but i enabled it while i was working on it and forgot to disable when i uploaded. different client - do you mean the flash client? it will output mp3 if you have pandora one but otherwise will do m4a. this client (one the thread is about) does mp3 only.

no it was this non-flash based client and no i dont have one support.... *wishes he kinda did* but no.... I was using the same thing 2x on my computer to see if it would stop ripping into mp3 format and like i said it still wants to do it regardless if it is off or on... idk why. Btw it was the client u had uploaded for that reason and i guess so im gana go nab the latest version n see if that dont help. if i have to i will upload the clients output file and let you take a look @ it..... that is if it would help any.

quick edit: i just tried er again and the same thing seems to happen... it mangles them back out to mp3 format and yes i took a look and my check box to re-encode them is unchecked which is muffed up... now to look @ the log file of this one and the other one to see where and why its doing what its doing n why. Maybe it thinks i have one support!?!? idk but this is getting ridiculous.

Share this post


Link to post
Share on other sites

the client this thread is about (the one i wrote) will ONLY output mp3. under no circumstances should it put out m4a (aacplus). If you do not have pandora one, you get 128kbs mp3. If you do, you get 192.

Share this post


Link to post
Share on other sites
the client this thread is about (the one i wrote) will ONLY output mp3. under no circumstances should it put out m4a (aacplus). If you do not have pandora one, you get 128kbs mp3. If you do, you get 192.

thnk you man... i was curious about that . I like the program alot and when i can will donate in the near future for further development.

Share this post


Link to post
Share on other sites

right now i am running into issues... client refuses to connect.

log feed where issue starts and ends:

10/28/2009 4:19:26 PM PandoraC: Logging in to pandora...

10/28/2009 4:19:26 PM PandoraC: Syncing

10/28/2009 4:19:27 PM #0 POST http://www.pandora.com/radio/xmlrpc/v24?ri...amp;method=sync

10/28/2009 4:19:27 PM #0 POST 208 bytes to www.pandora.com

10/28/2009 4:19:27 PM PandoraC: ERROR Failed to auth: Failed to execute XMLRPC

10/28/2009 4:19:27 PM Pandora: Inspecting XMLRPC 'sync': http://www.pandora.com/radio/xmlrpc/v24?ri...amp;method=sync

10/28/2009 4:19:28 PM PandoraC: Auth failure ---> System.Exception: Failed to execute XMLRPC ---> System.Exception: Response is not an XML document

at Pandora.ClientMainForm.DispatchXMLRPC(String method, String path, String payload, Boolean secure) in E:\Codin' Projects\Saver Project\Pandora\ClientXMLRPC.cs:line 490

--- End of inner exception stack trace ---

at Pandora.ClientMainForm.DispatchXMLRPC(String method, String path, String payload, Boolean secure) in E:\Codin' Projects\Saver Project\Pandora\ClientXMLRPC.cs:line 549

at Pandora.ClientMainForm.DispatchXMLRPC(String method, String path, String payload) in E:\Codin' Projects\Saver Project\Pandora\ClientXMLRPC.cs:line 450

at Pandora.ClientMainForm.DoSync() in E:\Codin' Projects\Saver Project\Pandora\ClientXMLRPC.cs:line 359

at Pandora.ClientMainForm.Auth() in E:\Codin' Projects\Saver Project\Pandora\ClientXMLRPC.cs:line 338

10/28/2009 4:19:45 PM PandoraC: Logging in to pandora...

10/28/2009 4:19:45 PM PandoraC: Syncing

10/28/2009 4:19:45 PM #1 POST http://www.pandora.com/radio/xmlrpc/v24?ri...amp;method=sync

10/28/2009 4:19:45 PM #1 POST 208 bytes to www.pandora.com

10/28/2009 4:19:46 PM PandoraC: ERROR Failed to auth: Failed to execute XMLRPC

10/28/2009 4:19:46 PM Pandora: Inspecting XMLRPC 'sync': http://www.pandora.com/radio/xmlrpc/v24?ri...amp;method=sync

10/28/2009 4:19:46 PM PandoraC: Auth failure ---> System.Exception: Failed to execute XMLRPC ---> System.Exception: Response is not an XML document

at Pandora.ClientMainForm.DispatchXMLRPC(String method, String path, String payload, Boolean secure) in E:\Codin' Projects\Saver Project\Pandora\ClientXMLRPC.cs:line 490

--- End of inner exception stack trace ---

at Pandora.ClientMainForm.DispatchXMLRPC(String method, String path, String payload, Boolean secure) in E:\Codin' Projects\Saver Project\Pandora\ClientXMLRPC.cs:line 549

at Pandora.ClientMainForm.DispatchXMLRPC(String method, String path, String payload) in E:\Codin' Projects\Saver Project\Pandora\ClientXMLRPC.cs:line 450

at Pandora.ClientMainForm.DoSync() in E:\Codin' Projects\Saver Project\Pandora\ClientXMLRPC.cs:line 359

at Pandora.ClientMainForm.Auth() in E:\Codin' Projects\Saver Project\Pandora\ClientXMLRPC.cs:line 338

dont know if it has to do with an update just thought id let you know!

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...