Jump to content

(Pandora) Saver2


ZigZagJoe
 Share

Recommended Posts

I'm using C# which is more or less the same as VB.net now (though i'd cut myself before i tried to live without braces and strict variable declarations).

And yeah, it has a great gui tool, but it's not so simple to change the actual look and feel of the buttons, though changing the background and controls to affect a skin isn't too hard, i messed around with that before.

Link to comment
Share on other sites

Both of you guys should look into WPF; it was designed expressly for this purpose (using the Windows UI but developing your own skins/components).

Instead of only having the standard Windows components, plus a few feeble options to customize them, everything has been redone from scratch. It's all flexible. If you develop your own button, it's no less usable than the default Windows button. It's vector-based (so it resizes extremely well), and uses a new graphics library (allowing you to use effects such as transparency, reflection, aero, etc. with no performance hit).

It even has classes for media playback, which might save you some work on porting mplayer2, ZZG. Furthermore, the code is separated from the design (that was the whole point). The downside is that you'd have to learn a new markup language, and WPF apps are slow to start.

I might also help with UI, though my skills are more about simplicity, and making things intuitive and functional (which PS could use). For example, I mocked up a new setup screen in Winforms:

QZw1u.png

Edited by Ares
Link to comment
Share on other sites

mplayer definitely isn't getting ported - what i used was a native mp3 decoding lib (native as in c#) along with the DX bindings for C#.

Hrm. If it could be coded in C# (or be made to call C# functions) that might just be workable... I'd heard about WPF but never really took a look into it. I garnered it was something flash like relating to silverlight, but with the CLR behind it. Or something.

Though just to make a distinction on the screenie there - the client and saver will always be completely separate; i think integrating the two would be in very bad taste (in regard to pandora).

Link to comment
Share on other sites

Nope :/ any error?

17.05.2010 10:54:46	SProxy application started.
17.05.2010 10:54:46	Debug level of 0
17.05.2010 10:54:46	Skipping duplicate process check
17.05.2010 10:54:46	Searching for plugins in C:\Programme\Saver2\
17.05.2010 10:54:47	Loaded plugin PlaylistDotCom.PlaylistDotCom from Saver.Playlist.dll
17.05.2010 10:54:47	Loaded plugin Songza.Songza from Saver.Songza.dll
17.05.2010 10:54:47	Loaded plugin Saver2.Saver from Saver2.dll
17.05.2010 10:54:47	Loaded plugin Grooveshark.Grooveshark from Saver.Grooveshark.dll
17.05.2010 10:54:47	Loaded plugin SongFader.SongFader from SongFader.dll
17.05.2010 10:54:47	Pandora and all related trademarks are property of Pandora Media, Inc.
17.05.2010 10:54:47	Loaded plugin Pandora.Pandora from Saver.Pandora.dll
17.05.2010 10:54:47	Loaded plugin Client.Client from PandoraClient.dll
17.05.2010 10:54:47	Loaded plugin YouTube.YouTube from Saver.YouTube.dll
17.05.2010 10:54:47	Loaded plugin Slacker.Slacker from Saver.Slacker.dll
17.05.2010 10:54:47	Loaded plugin SongManager.SongManager from SongManager.dll
17.05.2010 10:54:47	Loaded plugin SimpleBlacklist.SimpleBlacklist from SimpleBlacklist.dll
17.05.2010 10:54:47	Loaded plugin LastFM.LastFM from Saver.LastFM.dll
17.05.2010 10:54:47	Saver2: Checking vital files...
17.05.2010 10:54:47	Saver2: Verifying mplayer.exe
17.05.2010 10:54:47	Saver2: Verifying lame.exe
17.05.2010 10:54:47	Saver2: Verification completed successfully.
17.05.2010 10:54:47	Saver2 Core 1.3 loaded; looking for suitable plugins...
17.05.2010 10:54:47	Saver2: Playlist.com 1.0 found!
17.05.2010 10:54:47	Saver2: Songza 1.1 found!
17.05.2010 10:54:47	Saver2: Grooveshark 1.0 found!
17.05.2010 10:54:47	Saver2: Song Fader 1.008a found!
17.05.2010 10:54:47	Saver2: Pandora Saver S2.2 found!
17.05.2010 10:54:47	Saver2: Pandora Client C1.3 found!
17.05.2010 10:54:47	Saver2: YouTube 1.0 found!
17.05.2010 10:54:47	Saver2: Slacker 1.0 found!
17.05.2010 10:54:47	Saver2: Song Manager 1.002 found!
17.05.2010 10:54:47	Saver2: Simple Blacklisting 1.008 found!
17.05.2010 10:54:47	Saver2: Last.FM 1.0 found!
17.05.2010 10:54:47	Saver2: Saver2 built on 17.04.2010 17:28:36 CST
17.05.2010 10:54:47	Saver2: WARNING: This software is for educational use only. Do not use the software in a way that would contravene any music copyright laws.
17.05.2010 10:54:47	Saver2: Any information provided by software is for educational purposes only. No function is implied or in any way guaranteed.
17.05.2010 10:54:47	Saver2: SaveDir = H:\Pandora\Saved Music\
17.05.2010 10:54:47	Saver2: NrCores = 2
17.05.2010 10:54:47	Saver2: Worker thread started!
17.05.2010 10:54:48	SBL: Loading blacklists...
17.05.2010 10:54:48	SBL: Loaded 0 blacklist patterns from file 'C:\Programme\Saver2\Sample.blacklist.txt'
17.05.2010 10:54:48	SProxy starting
17.05.2010 10:54:48	Using SOCKS5 proxy 127.0.0.1:9050
17.05.2010 10:54:48	Listening for connections on port 8800
17.05.2010 10:54:48	Loaded documentation; 30 entries
17.05.2010 10:54:54	Client: Using old GUI
17.05.2010 10:54:54	PClient 1.4 started; protocol v27
17.05.2010 10:54:54	StreamPlayer: Opening mplayer.log
17.05.2010 10:54:54	StreamPlayer: Launching mplayer w/ args -slave -idle -cache 320 -demuxer audio -quiet
17.05.2010 10:54:55	StreamPlayer: mplayer ready for playback
17.05.2010 10:54:55	Client: Logging in to Pandora
17.05.2010 10:54:56	Client: Syncing
17.05.2010 10:54:56	#0	POST http://www.pandora.com/radio/xmlrpc/v27?ri...amp;method=sync
17.05.2010 10:54:56	#0: Exemption key Pandora-Vital forcing not exempt
17.05.2010 10:54:58	#0 POST 210 bytes to www.pandora.com
17.05.2010 10:55:01	Pandora: Inspecting XMLRPC 'sync': #0
17.05.2010 10:55:01	Client: Authenticating...
17.05.2010 10:55:01	#1	POST http://www.pandora.com/radio/xmlrpc/v27?ri...nticateListener
17.05.2010 10:55:01	#1: Exemption key Pandora-Vital forcing not exempt
17.05.2010 10:55:03	#1 POST 594 bytes to www.pandora.com
17.05.2010 10:55:13	Pandora: Inspecting XMLRPC 'authenticateListener': #1
17.05.2010 10:55:13	----- Logged in armin.von-bar
17.05.2010 10:55:13	| Acct type: REGISTERED
17.05.2010 10:55:13	| Bill freq: 
17.05.2010 10:55:13	-------------
17.05.2010 10:55:14	Client: Fetching stations...
17.05.2010 10:55:14	#2	POST http://www.pandora.com/radio/xmlrpc/v27?ri...hod=getStations
17.05.2010 10:55:14	#2: Exemption key Pandora-Vital forcing not exempt
17.05.2010 10:55:15	#2 POST 482 bytes to www.pandora.com
17.05.2010 10:55:21	Pandora: Inspecting XMLRPC 'getStations': #2
17.05.2010 10:55:21	Pandora: Sniffed 6 new station names
17.05.2010 10:55:21	Client: Got 6 stations
17.05.2010 10:55:21	Client: Fetching playlist...
17.05.2010 10:55:22	#3	POST http://www.pandora.com/radio/xmlrpc/v27?ri...g6=0&arg7=0
17.05.2010 10:55:22	#3: Exemption key Pandora-Vital forcing not exempt
17.05.2010 10:55:23	#3 POST 1202 bytes to www.pandora.com
17.05.2010 10:55:31	Pandora: Inspecting XMLRPC 'getFragment': #3
17.05.2010 10:55:31	Pandora: Data format: mp3
17.05.2010 10:55:31	Pandora: Got song S375505, URL = http://audio-ash-t3-1.pandora.com/access/2...NaLx6uvOz1oM%3D
17.05.2010 10:55:31	Pandora: Got song S921443, URL = http://audio-sjl-t3-1.pandora.com/access/?...%2BWmdX3%2Fs%3D
17.05.2010 10:55:31	Pandora: Got song S1217318, URL = http://audio-sjl-t3-1.pandora.com/access/4...Ast%2Bv3w%3D%3D
17.05.2010 10:55:31	Pandora: Got song S71296, URL = http://audio-ash-t3-1.pandora.com/access/6...0K%2Fjsi%2Fk%3D
17.05.2010 10:55:32	Client: Starting playback of song Hammerfall - "Riders Of The Storm" on 'Crimson Thunder' (ID S375505)
17.05.2010 10:55:32	StreamPlayer: Play URL http://audio-ash-t3-1.pandora.com/access/2...NaLx6uvOz1oM%3D
17.05.2010 10:55:32	#4	GET http://audio-ash-t3-1.pandora.com/access/2...NaLx6uvOz1oM%3D
17.05.2010 10:55:32	#4: Exemption key Pandora-Vital forcing exempt
17.05.2010 10:55:35	Pandora: sniffed Hammerfall - "Riders Of The Storm" on 'Crimson Thunder' (ID S375505)
17.05.2010 10:55:35	S375505: Started downloading
17.05.2010 10:55:35	StreamPlayer: Starting data transfer
17.05.2010 10:55:35	StreamPlayer: Data pipe ready
17.05.2010 10:55:35	StreamPlayer: Pipe connected
17.05.2010 10:55:50	StreamPlayer: Starting data transfer
17.05.2010 10:55:50	#5	GET http://cont-sjl-1.pandora.com/images/publi...5_130W_130H.jpg
17.05.2010 10:57:31	StreamPlayer: Song download complete
17.05.2010 10:57:31	S375505: Finished downloading
17.05.2010 10:57:31	Saver2: Processing song Hammerfall - "Riders Of The Storm" on 'Crimson Thunder' (ID S375505)
17.05.2010 10:57:32	#6	GET http://www.google.com/search?q=Hammerfall%...nre&num=100
17.05.2010 10:57:37	Saver2: Scraped genre: metal
17.05.2010 10:57:37	FILE SAVED, Source: Pandora; MP3 format, 4376867 bytes
17.05.2010 10:57:37	#7	GET http://www.amazon.com/gp/search/ref=sr_adv...t=relevancerank
17.05.2010 10:57:45	S375505: Successfully looked up larger album art
17.05.2010 10:57:45	S375505: Fetching AART from http://ecx.images-amazon.com/images/I/612B...PBL._SL500_.jpg
17.05.2010 10:57:45	#8	GET http://ecx.images-amazon.com/images/I/612B...PBL._SL500_.jpg
17.05.2010 10:57:51	S375505: Saved AART to 'H:\Pandora\Saved Music\Hammerfall Radio\Hammerfall\Crimson Thunder.png'
17.05.2010 10:57:52	Saver2: Adding Hammerfall - Riders Of The Storm.mp3 to Hammerfall Radio.m3u
17.05.2010 11:00:10	StreamPlayer: Done sending data
17.05.2010 11:00:25	StreamPlayer: Stopping mplayer
17.05.2010 11:00:25	Client: Song finished playback
17.05.2010 11:00:25	Client: Starting playback of song Primal Fear - "Revolution" on 'Black Sun' (ID S921443)
17.05.2010 11:00:26	StreamPlayer: Play URL http://audio-sjl-t3-1.pandora.com/access/?...%2BWmdX3%2Fs%3D
17.05.2010 11:00:26	#9	GET http://audio-sjl-t3-1.pandora.com/access/?...%2BWmdX3%2Fs%3D
17.05.2010 11:00:26	#9: Exemption key Pandora-Vital forcing exempt
17.05.2010 11:00:27	Pandora: sniffed Primal Fear - "Revolution" on 'Black Sun' (ID S921443)
17.05.2010 11:00:27	S921443: Started downloading
17.05.2010 11:00:27	StreamPlayer: Starting data transfer
17.05.2010 11:00:27	StreamPlayer: Data pipe ready
17.05.2010 11:00:27	StreamPlayer: Pipe connected
17.05.2010 11:00:36	StreamPlayer: Starting data transfer
17.05.2010 11:00:36	#10	GET http://images-ash-t2-1.pandora.com/images/...5_130W_130H.jpg
17.05.2010 11:00:55	StreamPlayer: Transfer error System.IO.IOException: Unable to read data from the transport connection: Unknown error (0x271e). ---> System.Net.Sockets.SocketException: Unknown error (0x271e)
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at Client.HttpRequest.<StartRead>b__0() in E:\Codin' Projects\Saver Project\Client-OLDWORKING\HttpRequest\HttpRequest.cs:line 659
17.05.2010 11:00:55	StreamPlayer: Song download complete
17.05.2010 11:01:46	StreamPlayer: Done sending data
17.05.2010 11:01:50	S921443: Finished downloading
17.05.2010 11:01:50	Saver2: Processing song Primal Fear - "Revolution" on 'Black Sun' (ID S921443)
17.05.2010 11:01:50	#11	GET http://www.google.com/search?q=Primal%20Fe...nre&num=100
17.05.2010 11:01:56	Saver2: Scraped genre: metal
17.05.2010 11:01:56	FILE SAVED, Source: Pandora; MP3 format, 3877824 bytes
17.05.2010 11:01:56	#12	GET http://www.amazon.com/gp/search/ref=sr_adv...t=relevancerank
17.05.2010 11:02:00	S921443: Successfully looked up larger album art
17.05.2010 11:02:00	S921443: Fetching AART from http://ecx.images-amazon.com/images/I/61NP...1SL._SL500_.jpg
17.05.2010 11:02:00	#13	GET http://ecx.images-amazon.com/images/I/61NP...1SL._SL500_.jpg
17.05.2010 11:02:02	S921443: Saved AART to 'H:\Pandora\Saved Music\Hammerfall Radio\Primal Fear\Black Sun.png'
17.05.2010 11:02:02	Saver2: Adding Primal Fear - Revolution.mp3 to Hammerfall Radio.m3u
17.05.2010 11:02:56	Client: Skipping to next song
17.05.2010 11:02:56	StreamPlayer: Stopping mplayer
17.05.2010 11:02:56	Client: Starting playback of song Iced Earth - "The Revealing" on 'The Crucible Of Man (Something Wicked Part 2)' (ID S1217318)
17.05.2010 11:02:57	StreamPlayer: Play URL http://audio-sjl-t3-1.pandora.com/access/4...Ast%2Bv3w%3D%3D
17.05.2010 11:02:57	#14	GET http://audio-sjl-t3-1.pandora.com/access/4...Ast%2Bv3w%3D%3D
17.05.2010 11:02:57	#14: Exemption key Pandora-Vital forcing exempt
17.05.2010 11:02:57	Pandora: sniffed Iced Earth - "The Revealing" on 'The Crucible Of Man (Something Wicked Part 2)' (ID S1217318)
17.05.2010 11:02:57	S1217318: Started downloading
17.05.2010 11:02:57	StreamPlayer: Starting data transfer
17.05.2010 11:02:57	StreamPlayer: Data pipe ready
17.05.2010 11:02:57	StreamPlayer: Pipe connected
17.05.2010 11:03:06	StreamPlayer: Starting data transfer
17.05.2010 11:03:07	#15	GET http://images-sjl-t2-2.pandora.com/images/...0_130W_130H.jpg
17.05.2010 11:03:52	StreamPlayer: Song download complete
17.05.2010 11:03:52	S1217318: Finished downloading
17.05.2010 11:03:53	Saver2: Processing song Iced Earth - "The Revealing" on 'The Crucible Of Man (Something Wicked Part 2)' (ID S1217318)
17.05.2010 11:03:53	#16	GET http://www.google.com/search?q=Iced%20Eart...nre&num=100
17.05.2010 11:03:57	Saver2: Scraped genre: metal
17.05.2010 11:03:57	FILE SAVED, Source: Pandora; MP3 format, 2567104 bytes
17.05.2010 11:03:57	#17	GET http://www.amazon.com/gp/search/ref=sr_adv...t=relevancerank
17.05.2010 11:04:01	S1217318: Successfully looked up larger album art
17.05.2010 11:04:01	S1217318: Fetching AART from http://ecx.images-amazon.com/images/I/41M5...9GL._SL500_.jpg
17.05.2010 11:04:01	#18	GET http://ecx.images-amazon.com/images/I/41M5...9GL._SL500_.jpg
17.05.2010 11:04:02	S1217318: Saved AART to 'H:\Pandora\Saved Music\Hammerfall Radio\Iced Earth\The Crucible Of Man (Something Wicked Part 2).png'
17.05.2010 11:04:02	Saver2: Adding Iced Earth - The Revealing.mp3 to Hammerfall Radio.m3u

I marked the position red where it got stuck. It just stops transferring data in Sproxy and then stops playing when the playing status reaches the end of the white bar thing

I have to skip song and it works on the next song, then the second next song gets stuck again

hum right now as i write it managed to play 2 songs in a row but usually it gets stuck every second one

but there is no error msg or something else usefull

Link to comment
Share on other sites

Transfer error System.IO.IOException: Unable to read data from the transport connection: Unknown error (0x271e). ---> System.Net.Sockets.SocketException: Unknown error (0x271e)

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

this should actually be caugt (and cause an error in streamplayer) but this is why it dies. DOn't know why; i've gotten it before myself.

Link to comment
Share on other sites

Right, i'm getting ready to release a new version, preliminary changelog follows:

The beta native output has been added to the client. It's still buggy, however, and as such is not enabled by default.

AppData folder is now used by the client, saver2, and all plugins as opposed to a flat directory structure. Flat structure can still be used by passing the -local option to the client/sproxy executables. Blacklists and config files will be migrated.

Client: Native output option added - this is still buggy/in beta, use at own risk!

Saver2: Configuration is now the first entry on the saver menu

Saver2: Genre tweaked some more

SProxy: The main window will no longer flicker - the DoubleBuffer hack settting has thus been removed

SProxy: added NoDisplay key; when set to true, it disables the list of connections completely

SProxy: Removed restart on applying settings; it lost relevance many patches ago

SProxy: Disabled minimize to tray on vista, as it was causing the sproxy window to be hidden unrecoverably.

(may be more to come...)

-----

I'm looking into skinning - the lazy way out would be to change the background, and the colours (possibly the button styles, I'm not sure how well the other buttons would take styling however)

So, i see two ways to do this. Either release a very stripped down (gui-only) project that just has enough to create the form, and have the prospective skinner write a method to change settings (basic stuff, there will be no moving of controls for now).

-OR-

You can just play with this image:

h3X28KJpz29Xzhv1kX1kGs3b25oTmk8w.PNG

And style it somewhat, with ideas for the rest? or something. I don't have the skills/patience with photoshop to make something truely nice looking... thinking of a theme similar to winamp's "classic style". The black areas will be drawn over, so there should not be anything there. the rest of it is fairly obvious, i think.

So i'm throwing this out there....

"True" skinning will never be simple, and "easy"... it would essentially consist of a new form with callbacks and such that calls functions of the player core. Stuff like SetStatusText(), SetAlbumText(), SetTime(), etc.

Still need to look at WPF... i took a cursory look at it, but eugh, doesn't look fun... would also break linux compatibility completely.

here's a beta version of the client for use with playing about with the "skinning" (more like creative background editing) http://zzj.itf-inc.com/downloads/standalone_bg_Tester.zip

Edited by ZigZagJoe
Link to comment
Share on other sites

Sometimes while using Pandora Saver sproxy will start taking up all of my cpu time. I have a 4core computer and it uses all four cores. Do you know what would be causing this. Usually I just restart Pandora and that seems to fix it. As a side note would it be possible to make the stand alone pandora player not require sproxy?

Link to comment
Share on other sites

Sometimes while using Pandora Saver sproxy will start taking up all of my cpu time. I have a 4core computer and it uses all four cores. Do you know what would be causing this. Usually I just restart Pandora and that seems to fix it. As a side note would it be possible to make the stand alone pandora player not require sproxy?

The standalone player (pandora.exe, installed by pandorasetup.exe) does not require SProxy.

Post a log (of when it freezes), but i can't think of anything that would be causing a race condition.

Link to comment
Share on other sites

how well the other buttons would take styling however)

So, i see two ways to do this. Either release a very stripped down (gui-only) project that just has enough to create the form, and have the prospective skinner write a method to change settings (basic stuff, there will be no moving of controls for now).

Is the Pandora client fully separate from Saver2? If so, you could release the source for just that, and I could look into it to get an idea of what sort of callback functions I'll need, and it would give me a jump-start for getting the project started. Even if the source isn't well commented, it'll still be a lot faster than trading prototypes back and forth.

My goal is to create an entirely separate client that looks like this -- beautiful and a bit glossy. Maybe not as huge but you get the idea. However if that's not your thing, you can still use the default client (which will keep linux compatibility).

Either way, good separation from the code layer (which communicates with Pandora and plays the music) and the UI layer (which I care about) is essential. We don't want a bunch of outdated forks running around.

Edited by Ares
Link to comment
Share on other sites

Is the Pandora client fully separate from Saver2? If so, you could release the source for just that, and I could look into it to get an idea of what sort of callback functions I'll need, and it would give me a jump-start for getting the project started. Even if the source isn't well commented, it'll still be a lot faster than trading prototypes back and forth.

My goal is to create an entirely separate client that looks like this -- beautiful and a bit glossy. Maybe not as huge but you get the idea. However if that's not your thing, you can still use the default client (which will keep linux compatibility).

Either way, good separation from the code layer (which communicates with Pandora and plays the music) and the UI layer (which I care about) is essential. We don't want a bunch of outdated forks running around.

It is fully separate, did that a few patches ago; but I'd really rather not release it as source right now... the best way of going about it that i see is to create an interface that defines callbacks et al (which actually is decently separated now) and have that be changeable as desired. May take a look at it shortly, am a bit bored... also, i'm on irc right now.

Link to comment
Share on other sites

I've got a little problem: After I rip music with S2, I add it to MediaMonkey, which moves the file into its own directory structure. Is there any way to prevent Saver2 from ripping this same file again?

Link to comment
Share on other sites

I've got a little problem: After I rip music with S2, I add it to MediaMonkey, which moves the file into its own directory structure. Is there any way to prevent Saver2 from ripping this same file again?

You can mess around with the blacklists.

1. Open saver2 settings, select the blacklist tab, tick the "Use blacklist" box, and then hit OK. Close SProxy.

2. In explorer, go to "C:\Program Files (x86)\Saver2" (or wherever you installed saver2)

3. Open Blacklist.txt

4. On a blank line, put the full path to the folder where files are saved.

5. Save the file.

6. Restart SProxy

7. If you check the log, you should see a line like "SBL: Created [#] blacklist patterns from folder '[FOLDER]'"

NOTE! if the file names are refactored by the program you are using, this may not work. It WILL not work if the format differs from the one saver2 is using.

It's a bit primitive; it is a direct port of the blacklisting from the original pandorasaver.

Link to comment
Share on other sites

  • 2 weeks later...

I have occasionally been experiencing problems with sProxy consuming my entire CPU time, oftentimes resulting in a total system crash. When I am able to force kill sproxy.exe, I must also force kill mplayer.exe to be able to restart the Pandora Client. Below is a excerpt of sproxy.log following the crash. I am using Windows XP Pro SP3. Thank you for your help.

6/11/2010 11:57:28 PM #21 POST 1202 bytes to www.pandora.com

6/11/2010 11:57:37 PM Pandora: Inspecting XMLRPC 'getFragment': #21

6/11/2010 11:57:37 PM Client: Starting playback of song 3 Doors Down - "It's Not Me" on 'Seventeen Days' (ID S220251)

6/11/2010 11:57:38 PM StreamPlayer: Play URL http://audio-ash-t2-1.pandora.com/access/?...%2Bn3VoD28uA%3D

6/11/2010 11:57:38 PM #22 GET http://audio-ash-t2-1.pandora.com/access/?...%2Bn3VoD28uA%3D

6/11/2010 11:57:38 PM Pandora: Data format: mp3

6/11/2010 11:57:38 PM Pandora: Got song S220251, URL = http://audio-ash-t2-1.pandora.com/access/?...%2Bn3VoD28uA%3D

6/11/2010 11:57:38 PM Pandora: Got song S33498, URL = http://audio-ash-t1-1.pandora.com/access/?...wGXHtwdlcQDc%3D

6/11/2010 11:57:44 PM Pandora: Got song S625861, URL = http://audio-sjl-t2-2.pandora.com/access/?...n3urFyv3O3tA%3D

6/11/2010 11:57:44 PM Pandora: Got song S871201, URL = http://audio-ash-t1-2.pandora.com/access/?...EN7TKqrfhZBg%3D

6/11/2010 11:57:45 PM Pandora: sniffed 3 Doors Down - "It's Not Me" on 'Seventeen Days' (ID S220251)

6/11/2010 11:57:45 PM S220251: Started downloading

6/11/2010 11:57:50 PM StreamPlayer: Starting data transfer

6/11/2010 11:57:51 PM StreamPlayer: Data pipe ready

6/11/2010 11:57:51 PM StreamPlayer: Pipe connected

6/11/2010 11:57:55 PM StreamPlayer: Starting data transfer

6/11/2010 11:58:05 PM #23 GET http://cont-sjl-1.pandora.com/images/publi...9_130W_130H.jpg

6/11/2010 11:58:44 PM StreamPlayer: Song download complete

6/11/2010 11:58:44 PM S220251: Finished downloading

6/11/2010 11:58:46 PM Saver2: Processing song 3 Doors Down - "It's Not Me" on 'Seventeen Days' (ID S220251)

6/11/2010 11:58:53 PM #24 GET http://www.google.com/search?q=3%20Doors%2...nre&num=100

6/11/2010 11:59:04 PM Client: Failed to fetch image from http://cont-sjl-1.pandora.com/images/publi...9_130W_130H.jpg

System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)

at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

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

at Client.HttpRequest.GetResponseInternal(HttpChunkedReadCallback callback) in E:\Codin' Projects\Saver Project\Client-OLDWORKING\HttpRequest\HttpRequest.cs:line 614

at Client.HttpRequest.GetResponse() in E:\Codin' Projects\Saver Project\Client-OLDWORKING\HttpRequest\HttpRequest.cs:line 372

at Client.PClient.GetImage(String url) in E:\Codin' Projects\Saver Project\Client-OLDWORKING\Client.Funcs.cs:line 227

6/11/2010 11:59:04 PM Client: Failed to fetch AART: System.NullReferenceException: Object reference not set to an instance of an object.

at Proxy.Funcs.DupeImage(Image Image) in E:\Codin' Projects\Saver Project\SProxy\Funcs.cs:line 114

at Client.PClient.<Worker>b__2f() in E:\Codin' Projects\Saver Project\Client-OLDWORKING\Client.Logic.cs:line 508

6/11/2010 11:59:05 PM Saver2: Scraped genre: rock / alternative

6/11/2010 11:59:05 PM FILE SAVED, Source: Pandora; MP3 format, 3110451 bytes

6/11/2010 11:59:05 PM S220251: Fetching AART from http://cont-sjl-1.pandora.com/images/publi...9_130W_130H.jpg

6/11/2010 11:59:06 PM #25 GET http://cont-sjl-1.pandora.com/images/publi...9_130W_130H.jpg

6/11/2010 11:59:23 PM Saver2: Exception in GetImage:

System.Net.WebException: The operation has timed out

at System.Net.HttpWebRequest.GetResponse()

at Saver2.Funcs.GetImage(String url, Boolean useProxy) in E:\Codin' Projects\Saver Project\Saver2\Funcs.cs:line 242

6/12/2010 12:01:09 AM StreamPlayer: Done sending data

6/12/2010 12:04:55 AM StreamPlayer: Stopping mplayer

6/12/2010 12:04:55 AM Client: Song finished playback

6/12/2010 12:04:58 AM Client: Starting playback of song Lifehouse - "Hanging By A Moment" on 'No Name Face' (ID S33498)

6/12/2010 12:05:05 AM StreamPlayer: Play URL http://audio-ash-t1-1.pandora.com/access/?...wGXHtwdlcQDc%3D

Link to comment
Share on other sites

  • 2 weeks later...
I have occasionally been experiencing problems with sProxy consuming my entire CPU time, oftentimes resulting in a total system crash. When I am able to force kill sproxy.exe, I must also force kill mplayer.exe to be able to restart the Pandora Client. Below is a excerpt of sproxy.log following the crash. I am using Windows XP Pro SP3. Thank you for your help.

Sorry, been a bit busy with RL. It looks like thats just an album art failure, or at that point does it consume the entire cpu?

Update deployed, changelog as follows:

06/21/10: 1.3 build 739

The beta native output has been added to the client. It's still buggy, however, and as such is not enabled by default. Also, the sproxy window will no longer flicker while idle and flicker much less while updated. Otherwise, a lot of bugfixes have been added.

AppData folder is now used by the client, saver2, and all plugins as opposed to a flat directory structure. Flat structure can still be used by passing the -local option to the client/sproxy executables. Blacklists and config files will be migrated. This should fix a bunch of quirks relating to logging and updating specifically under limited permission OSes - vista, w7, and xp limited accounts.

All log files will now be located in "C:\Documents and Settings\(USERNAME)\Application Data\SProxy" for saver2 and "C:\Documents and Settings\(USERNAME)\Application Data\PandoraClient" for the standalone client. The paths will be different under vista; on the command line, type "echo %APPDATA%" and press enter to find the specific location.

The logs can also be viewed in http://127.0.0.1:8888/log or File->View Log (cleared on restart of app).

Client: Native output option added - this is still buggy/in beta, use at own risk! Enable in advanced settings

Client: Added double click station select in the station management window

Client: Added very rudimentary skinning support... toggled by presence of BGImage.bmp in the program directory

Client: Quickmix is no longer listed as a station, as it caused dubious behavior when attempting to manage (and was not usable)

Client: Fixed a bug that caused the stations window to be unresponsive when renaming failed (for whatever reason)

Client: Icons improved somewhat to improve appearence when skinning

Client: Can now re-prompt to transform a station if playing a shared station, the user sends feedback, and the user selects to not become the owner of the station

Saver2: Configuration is now the first entry on the saver menu

Saver2: Genre scraping tweaked some more

SProxy: The main window will no longer flicker! - the DoubleBuffer hack settting has thus been removed

SProxy: added NoDisplay key; when set to true, it disables the list of connections completely

SProxy: Removed restart on applying settings; it lost relevance many patches ago...

SProxy: Disabled minimize to tray on vista, as it was causing the sproxy window to be hidden unrecoverably.

Global: Now conforms to draconian MS folder organization/security policies.

If you like this app, please donate! Check my site for the link or paypal zigzagjoe@gmail.com

Link to comment
Share on other sites

Thanks for the donations, you know who you are!

Also if you have any problems please post in here - I made a rather big change with the path handling last time (for storage of logs/config/etc).

Right, so, I've run out of stuff to do on this, honestly, so I'm opening the grounds to feature/service requests.

Stuff that has been asked for and is not practical:

Hulu/RTMP ripping (already covered by rtmpdump)

"True" skinning (no acceptable way to do it, yet)

Spotify ripping (not possible in a sane manner and not within the current framework)

Even better if you drop by irc, I tend to be on most of the time! (except for classes/sleeping etc) Just make sure to say my nick, "zigzagjoe", when you join: otherwise, I may not notice that someone has joined us.

Edited by ZigZagJoe
Link to comment
Share on other sites

When I try to start up the application, it goes through the tor process with the loading bar in the middle of the screen for quite a long while and finally presents me with the following error message in an alert box -

---------------------------
Tor Error
---------------------------
There was an error while launching tor:



torrc generator v0.4 2010 ZZJ


Using tortunnel instead of tor.

Querying blacklisted endpoints... Got 1 bad endpoints

Querying torstatus... Trying torstatus mirror #1... Parsing status... No valid entries found!

Trying torstatus mirror #2... Parsing status... Done: Got 115 endpoints, using 5

Starting tortunnel to torserversDOTnet1 [173.244.197.210] ... Waiting for tortunnel... tortunnel exited prematurely!

###### tortunnel output follows #######

tortunnel .3 by Moxie Marlinspike

modifications by ZZJ for windows



Retrieving directory listing from 194.109.206.212:80

Getting descriptor for 2F265B37920BDFE474BF795739978EEFA4427510

Connecting to exit node 173.244.197.210:81

Error connecting to exit node: asio.misc:2




---------------------------
OK   
---------------------------

The whole thing (saver, proxy, client) worked fine a couple of times previously, albeit with a rather long wait time too. Any idea what might be causing the problem? I don't think anything's changed with my connection in the meantime.

Thanks!

Link to comment
Share on other sites

nope still doesn't work. slightly different error this time though. it's also accompanied by a windows error that tortunnel stopped responding.

---------------------------
Tor Error
---------------------------
There was an error while launching tor:



torrc generator v0.4 2010 ZZJ


Using tortunnel instead of tor.

Querying blacklisted endpoints... Got 6 bad endpoints

Querying torstatus... Trying torstatus mirror #1... Parsing status... No valid entries found!

Trying torstatus mirror #2... Parsing status... Done: Got 117 endpoints, using 5

Starting tortunnel to HattoriHanzo [65.183.151.13] ... Waiting for tortunnel... tortunnel exited prematurely!

###### tortunnel output follows #######

tortunnel .3 by Moxie Marlinspike

modifications by ZZJ for windows



Retrieving directory listing from 194.109.206.212:80



This application has requested the Runtime to terminate it in an unusual way.

Please contact the application's support team for more information.




---------------------------
OK   
---------------------------

Should the process be taking so long though? It spent more than 8 minutes on "waiting for torstatus mirror #2" and another 3 minutes or so on "waiting for tortunnel" before it crashed...

Link to comment
Share on other sites

It should take at most one minute to get to waiting for tortunnel... is your internet connection very, very slow?

and i got the same error with that endpoint here too... not even an error before tortunnel dies... blacklisted. I think mirror 2 may have old data or something.

Link to comment
Share on other sites

Great it's working now. Thanks! =) And no, the connection's not very slow, but the app transfers at a rather slow speed and only picks up when it gets to "waiting for tortunnel". Still a 3-5 minute wait, most of it on waiting for mirror 2, but that's a more consistent duration with what I've had before. That 10+ min one seems to have been a freak occurance. Was exceptionally long.

Thanks for your help. Will point out other endpoints that prevent connection in the future, if that's useful.

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.

 Share

  • Recently Browsing   0 members

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