Jump to content

ZigZagJoe

Dedicated Members
  • Posts

    895
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by ZigZagJoe

  1. it shouldn't pop a message - period. it locks like that as you saw. i already had a facility to retry that but since that was popping a message it locks, basically. until that message is dismissed it can't do anything and hence the timouts. the code was more than a little loopy so it should *hopefully* be fixed by the changes i made. anyways, i should have a new version up sometime tomorrow. just a few things to sort out still
  2. Aha. It's the damn ID3 lib. No wonder. I will look into this. Part of it is likely that you seem to be using a network filesystem (the server hasn't deleted the file by the time the move command has been sent) or something loopy like that. But it shouldn't show a messagebox like that. And the code looks loopy, to say the least... this is actually a holdover from the original PS, so, yeah... should have a fix in a bit.
  3. Not seeing an error relating to renaming in here? I see it timed out, but that's about it. I've uploaded a webirc to my site @ http://zzj.itf-inc.com/s2/irc/ Alternatively, one can connect to irc.coldfront.net and join the #saver2 channel. Can't guarantee i will be there all the time, but if i am here i will try to help.
  4. Provide a log - i think you may be hitting a different error (Pandora updated versions earlier today and thus i had to bump the protocol version number in the client). I'd recommend trying the saver2 update (go into saver2->configuration and hit check for updates).
  5. Pandora changed versions on us, so you will need to download it (same link, per usual) again.
  6. Not right now, no. It would be possible, though (but you would loose all the sub options of that menu). Make sure the wine hacks mode is on - try passing -wine to it. you should only have to do this once. Check the log for the specific error. Notes on the current development stuff: Client: Song lengths are now read properly. Pandora: Some unnessiary log messages removed. Saver2: Amazon album art works 100% of the time now (except when there is no album art, ofc) TODO: Allow songoptions to be used as save button, only. TODO: Log all mplayer output Fixed amazon's art. I've also made a tool to fetch bigger album arts for mp3s and tag them with it, if one has their save dir organized as /%artist%/%album%/. Can upload if someone wants. Would be possible to make it into a general tagger, except this would be much slower (because it has to read each file first).
  7. Guess this was the disturbance in the force I felt at 2:30 am or so. Protocol version number has changed. (thanks for including logs!). Let's see (hope) they didn't make significant changes. Doesn't seem like it. Updated; incremented the protocol version. There was some other small changes I've been working on but nothing major. 01/22/10: 1.2.3 build 170 [CRITICAL] Client: Protocol version number incremented. No evident RPC changes yet. Client is now 1.3.1. Client: Fixed a bug causing adding shared stations to not work when running standalone Client: Increased height of song search dialog Client: View URLs button on feedback dialog will now stay in position properly. In the future, a messagebox will be shown when this specific error occurs. Not really a better way to do this, every so often pandora increments the version and I've got to take a look and make sure nothing has changed overtly which would render it unable to work. Last 2 version changes haven't had any public changes, though. Client: 5615 lines of source (base, +821 for standalone or +282 for plugin version) Pandora: 1144 Slacker: 196 Grooveshark: 208 Saver2: 3853 SongManager: 204 (most of this is the designer code) SongFader: 296 (most of this is the designer code) SProxy: 5563
  8. Aha, that's part of the problem. Using the older versions of sproxy, specifically, the ones that came with PandoraSaver [the first one] will cause timeout errors and instant downloads like that due to how they work - they download the song completely before beginning playback. This was causing problems with the web client, so it was changed. If you're hitting a timeout, that means you have been waiting for atleast 30 seconds for it to start playback :| I strongly suggest you upgrade to the new versions because you're using a version of SP which is over half a year old... some odd bugs/iffy implementations such as what you are running into have been fixed - that being one of the biggest. I'm honestly at a bit of a loss at why you are using such an odd setup... Oh, and SP and the client work under wine now too. It seems either SProxy or the remote server faulted on the last entry. Based on the sequence of events, i think PS faulted somewhere which has then blocked the request...? Dunno. It's been a long time since I've mucked about with the old ugly source. For the first error, it does look like the framework ate shit and died - is it fully updated? On a quick google, i saw other similar errors related to interop. Oops, looks like i nicked the ToString method of the mini class used for the standalone client. (the Client.SongInfo - it should have song title artist etc)
  9. It sounds like it, but i haven't an idea what it might be... it should be in the log but evidently isn't. You can get at old error reports in the event log, but i'm not sure if there would be something of use or not. The fact that it's dieing to the point where the global exception handler is not triggered makes me think the runtime is dieing horribly or something. It's a bit odd that the song is downloaded before the pipe is connected, though... you aren't using the client along with turbo mode, are you? (you should really be launching the client from sproxy if that is the case). Then again, it shouldn't outright die like that even so. How much RAM do you have? Also, in the hex report, did you see a string that started with "system"? What specifically is happening when it dies?
  10. Oops. Noted. Will be fixed in next update. Also, in the last major update on 1-18 I added tray balloons, like so: These can be enabled in Menu->Configuration->Show balloon when a song is played. I tried to add a menu to the tray icon, however it was being very buggy and as such it's not in on this one.
  11. Whole bunch of random stuff incoming.... System Requirements: Saver2/SProxy: Disk: 9.33mb program files, 10-50mb working set if using approval mode, this will increase correspondingly to the number of songs awaiting approval. CPU: Something that can run a modern OS. RAM: 512mb OS: XP or greater Browser: Anything flash capable. Firefox, IE, Opera, Chrome, etc. Flash: version 9 or higher (10 works) Java: Not needed. .NET: 2.0 or higher. 3.5 will be installed by the installer if you do not have it (you will be notified if this is the case) Standalone Client: Disk: 6.2mb program files, no working set (does not use disk at all) CPU: Something that can run a modern OS. RAM: 256mb OS: XP or greater .NET: 2.0 or higher. Basic overview of workings: internet <-> SProxy <-> browser SProxy is a simple proxy server, it gets requests, and either goes through another proxy or directly to the target server to fulfill the request. The interesting bits is that it can use plugins, which can modify the original request (change the response, change the request, or even abort the request and send back its own data). It's essentially a lighter version of fiddler (it was written to replace it for PS after all), without the web debugging bits and inspectors. Saver2 is implemented as a plugin for SProxy; though it has no interest in web events by itself. The magic bits come from plugins named Saver.*; currently there are Pandora, Slacker, and Grooveshark plugins. Using the Notify method specified in SProxy's plugin interface ("SPlugin" how imaginative i am), saver2 makes contact with these plugins and will then send events to them. These saver plugins, which are also plugins for SProxy, take a look at data going through SProxy and if they pick out something of interest (say song metadata or song data) they save the song data and put the metadata into a class ("SongInfo") which is then sent to Saver2 - the saver plugins' involvement ends there. From there it is up to Saver2 to decide what to do with the file (does it already exist, where does the file go, tag the file if it will be saved, etc, and/or wait for user approval to save it). Along the way various notifications are sent to the various plugins concerning the fate of the song - by default, a plugin will only be notified about songs belonging to it. As a whole, I've been preferring to just call the lot Saver2. Easier. Everything listed below save the support executables was written by me... this is the culmination of about half a year of work now. Breakdown of files: SProxy.exe - SProxy main executable. This will be the program you will want to run. Settings.exe - Configuration editor. Equivalent to Advanced Settings in SProxy Pandora.exe - standalone pandora client, does not have any concept of saving songs. Saver2.dll - Saver2 library. Saver.Grooveshark.dll - plugin for timeshifting from grooveshark. Saver.Slacker.dll - plugin for timeshifting from slacker. Saver.Pandora.dll - plugin for timeshifting from pandora. SongFader.dll - Song Fader plugin. As songs are sniffed by various plugins, their album art (if available) along with song title will be displayed in a small window (if you have launched it) which changes transparency. SongManager.dll - Provides the song management dialog, for use in approval mode. PandoraClient.dll - The pandora client, with some extras such as a web interface and being able to sniff shared stations. DatLib.dll - Support dll, provides DatFile class for the usage of dat files. *.dat - data files. May be compressed. See dev info for more. Don't remove these. *.pdb - debug databases. you can save some space by deleting these, however, it will become MUCH harder for me to find problems if something breaks and you need help. Recommend you do not delete these. *.manifest - required for vista faggotry. I'm not quite sure if these things work or not. BrowserPAC.js - browser PAC file, used for only having a browser use proxy for pandora, slacker, etc. CHANGELOG.txt - Update log. LICENSE.txt - simple license thing? README.txt - not very often updated SPlog.txt - SProxy's log. all exceptions will be logged in here. PandoraLog.txt - Pandora.exe's log - only. install.log - installer log SProxy.conf - SProxy's global config file. XML Pandora.conf - Pandora.exe's config - only. Stage2.exe - you should not have this, it is used for the installer and update preparation (for me - write build dates and some other stuff so they can be uploaded). Do not remove any of these executables v mp4tags.exe - used to tag aacplus files, such as those gotten from the pandora web client when not subscribed mplayer.exe - used to dump wavs and also used for playback by my pandora client lame.exe - used for encoding to mp3 (if encoding is enabled in settings). Do not remove any of these executables ^ uninst.exe - uninstaller Saved Music/ - the default save folder. Recommend you change this. Temp/ - temporary folder. Will be moved to system temp folder at some point. mplayer/ - mplayer dir, unnecessary but mplayer will recreate it on every run. more dev stuff - http://zzj.itf-inc.com/s2/S2dev.zip this can be installed by the installer as well (to dev/)
  12. Just checked the server, yeah, it was updated. Make sure your browser isn't caching it (or you don't have multiple copies of the same file). Ah, to use the standalone client's web interface you'd have to install it via the installer then run SProxy.exe. There's various settings to hide SProxy display tray icon and start minimized, in sproxy settings, and then to launch the client when sproxy starts and close sproxy when the client is closed in the client's config. Server file date is 11:56am (-8, pst), the files inside should be 1:55pm (-6, cst) on 1/19. (just put a small update, also optional, hence changed dates - there was a bug causing proxy integration to be turned off when the client was closed and relaunched in the same SP session)
  13. I take it, by old client web interface, you mean the pandora.com flash client? The url's I posted are for the standalone client, not the pandora.com client. Though, you can't use them unless the standalone client is being run as part of SProxy. (not pandora.exe). So, you'd end up with something like http://127.0.0.1:8888/pluginrpc/Pandora%20...nt%20C1.3/do/pp Btw, just to clear things up, there's no relation between the pandora.com flash client and the standalone client i wrote besides the fact they are both pandora players; the standalone one is a complete reimplementation of a pandora client. No flash or anything here. Also, it's Saver2, not SProxy2 :P Good to hear nonetheless; i don't think there have been any core functionality changes to SP for a long time, it's mostly been bugfixes and usability stuff. Hmm, that's a bit odd; regarding mplayer stutter. Looking at it, the download+push threads and mplayer itself will always be running as above normal priority, so it's a bit odd that something is choking especially as no disk use is happening. Maybe you are running out of RAM, and something is causing swapping? Some slop in the time elapsed is normal as the estimation isn't exact (it's based off of the file size), up to about 7 seconds normally. More than that and mplayer is probably having some sort of problem (based on the output you noted, this seems to be the case). Need to add a facility to get mplayer's output methinks. /me shudders a bit at the thought of pandorahelper, that was one of the first (if not the first) C# apps i wrote (and later grafted into PandoraSaver and then mutilated into a Saver2 plugin). Did work, though.
  14. Uploaded an optional update which gives each button invisible texts (playpause,nextsong,ratebad,rategood) & verified their presence in spy++. I'm curious though, why do you want to control the client like that? If you are using SProxy, you could use the client's web interface to send the same commands ... and the client can handle play/pause media buttons, too. If you didn't want to save music, you could just disable the pandora saver in saver2's settings (last page, plugins, deselect the check next to the name). /pluginrpc/Pandora%20Client%20C1.3/do/pp play/pause /pluginrpc/Pandora%20Client%20C1.3/do/ne next song /pluginrpc/Pandora%20Client%20C1.3/do/vd7 vol down by 7% /pluginrpc/Pandora%20Client%20C1.3/do/vu7 vol up by 7% /pluginrpc/Pandora%20Client%20C1.3/do/rh rate badly /pluginrpc/Pandora%20Client%20C1.3/do/rl rate good /pluginrpc/Pandora%20Client%20C1.3/do/ts toggle shuffle /pluginrpc/Pandora%20Client%20C1.3/do/tt toggle turbo /pluginrpc/Pandora%20Client%20C1.3/do/ss[SID]change to station where [SID] is a valid station ID. Can't use this with unknown shared stations atm (that is, you haven't imported them). None of these return anything of importance (a 302 found)
  15. If the file is negatively rated, it will be deleted (and the folder tree will be deleted if there are no other files in it besides album art). It will NOT be removed from playlists at the moment. Absolute paths for playlists can be enabled in advanced settings, but you will need to use a tool to prefix all the existing entries in each playlist with the save folder, otherwise duplicate entries will be added (or you can just delete all the playlists and leave it on turbo+shuffle for a while to let them be repopulated slowly)
  16. Run the installer, check install firefox portable on components screen, and finish the install. SProxy will launch, and so will firefox. Click launch pandora mini on the bookmarks bar, or go to pandora.com (in that browser). Songs should download as they play. -OR-, on the SProxy window, click the Pandora Client menu item, next to file. This will launch the client. Click the play button (far left, with the right arrow on it). The settings are on the Saver2 menu, the configuration entry. You might also look at http://zzj.itf-inc.com/s2/docs/ovrsp.html and http://zzj.itf-inc.com/s2/docs/ovrs2.html
  17. Glad you like it. Update posted.. here's the changelog (client specific stuff only). 01/18/10: 1.2.3 build 152 A quick station change/create menu has been added to right click of station button and shade mode controls on the client. Added a song options menu (approve song, tire song, new station from song/artist, various pandora urls) to the client main screen. The client can now show tray bubbles when songs are played. Enable in menu->config. Client: Removed shuffle songs, as it was essentially useless. Client: The window will now become visible when focused (click on taskbar) Client: Slight changes in menu wordings Client: Faded in opacity now limited to sane values Client: Song urls now accessible from rate songs dialog Client: Fixed window flickering when fading was turned off with low opacity levels set Client: The last station will now be remebered correctly. Known bugs: Client: Menus will not resize when main window sized, nor will button images or shade mode controls. Client: The tray icon can not display a menu for unknown reasons. ----- 01/13/10: 1.2.2 build 26 [CRITICAL] Client: Fixed a bug causing title text/album text to not be displayed. ----- 01/12/10: 1.2.2 build 20 Will now note build number on changelog - it is way too low, but better than nothing. Client: Fixed a bug causing text to not scroll while in shaded mode ----- 01/12/10: 1.2.2 build 0 Client: Removed vol boost as it was causing distortion Client: Fixed a bug which caused the rate buttons to be nonfunctional in the rate songs dialog (thanks, vs, for removing all click events...) Client: Added some missing text to login dialog... (thanks again, vs) ----- 01/10/10: 1.2.2 Client: Softvol is now disabled by default; translation - volume control is no longer laggy Client: Fixed a bug causing the main window to stay faded in for too short a time on song change Client: Volume control updated somewhat to scale properly from 0-100 Client: Volume now shown when changed for a moment Client: Volume filter enabled on mplayer for a slight boost in output volume (offsets softvol max being disabled) Client: Added tireSong Rpc method Client: Streamplayer length estimation improved to some degree Client: Fixed a bug causing the client be bugged and require a restart after deleting a station Client: Classnames changed, build process for standalone and plugin integrated Client: Positioning improved somewhat Client: Buffering was completely nonfunctional, has now been fixed Client: Player status now shown while loading song (buffering, connecting, etc) Client: Streamplayer would kill mplayer when it was used for encoding; fixed Client: Length estimation code improved somewhat so it is more accurate for 3 min+ songs Client: Critical exceptions will now cause the client to fail cascade properly ----- 01/06/10: 1.2.2 [CRITICAL] Client: Marked main thread as STA. This was causing locks when dialogs were shown after being launched from XMLRPC (login, stations) ----- 01/06/10: 1.2.2 Client: Button behavior improved (by implementing as a proper class) Client: Volume control cursor modified Client: Station button will no longer stay focused while disabled Client: Text smoothing enabled ----- 01/06/10: 1.2.2 Client: Volume control changed to custom: improves display on wine and in general Client: Custom label added (don't laugh) to fix an odd bug causing text to be invisible + improve display Client: Simple window border added Client: Mute button removed as it is redundant Client: Bug causing progress bar draw through windows tenatively fixed ----- 01/04/10: 1.2.2 Wine: New GUI disabled under wine due to being completely defunct (window not movable, wndproc override not functional, etc.) ----- 01/04/10: 1.2.2 Client: Major changes! Added mini mode! - toggle by double clicking title bar (like winamp) Now borderless Transparency support; variable as well as fixed Snap to edge possible Option to remeber last position on start Client: Fixed various bugs which would cause crashes (image related) Client: Version incremented Client: Added size grip Client: Known "bug" button images will not be resized when window is scaled; mini mode buttons hitbox will not change while scaled ----- 01/01/10: 1.2.2 (internal only) Client: Pandora.exe is now completely standalone, does not require presence of SProxy.exe, Saver2.dll, or Saver.Pandora.dll Client: Less warnings on buffer underflow Client: Borders now properly sized on vista/w7 Client: Added manifest ----- 12/31/09: 1.2.2 Client: Fixed starting at the wrong size causing it to be slightly scaled Client: Fixed a small bug caused by resizing client repeatedly (additional spaces in title) ------ 12/29/09: Client: Main window is now resizable & scales Client: Small UI changes to work better with scaling ------ 12/25/09: Beta 3 Client: Can auto-login based on command line option or setting. Client: Can close sproxy when closing if set to do so. Client: Note added in client settings about saver config. Client: feedback buttons made a bit more obvious Client: pinning and minimize buttons added. Client: Search can now return shared stations (genre stations) Client: Workaround added for song search dialog on wine Client: StreamPlayer bugfixes/tweaks Pandora: Executable size reduced Wine: All URL links temp. disabled due to wine fault (shellexec does not take into account it may get passed a url) ----- 12/22/09: Client: UI changed about some to accommodate new features Client: Bugfixes in streamplayer Client: Progress bar updated Client: Dialog to rate songs that were played in the past added Client: UI moved about to accommodate new buttons Client: Rate old songs added Client: Shared station support added Client: Added rename and delete stations Client: Moar bugfixes. ----- 11/26/09: Client: Fixed a command bug in streamplayer causing it to not work ----- 11/24/09: Wine: Disables hotkey support on client (nonfunctional) ----- 11/21/09: Client: Crypto internal changes Client: Song search dialog fixed Client: Toggle On Top mode by double left clicking anywhere in window Client: Minimize window by double right clicking in the window Client: now supports rename of stations Client: now has a visual representation of song download percentage Client: save button made more obvious in function (IE. only visible when a song can be saved and is not in auto mode) Client: Vastly improved playback start time Wine: song loading time improved ----- 10/28/09: Client: Protocol version implemented, no internal changes ----- 8/13/09: Client: Initial release
  18. Glad you like it :) New version uploaded. No new plugin yet, but i hope the other bits make up for it. 01/18/10: 1.2.3 build 152 Saver2 can now check for larger album art on amazon - most songs have 500x500 album art available! A quick station change/create menu has been added to right click of station button and shade mode controls on the client. Added a song options menu (approve song, tire song, new station from song/artist, various pandora urls) to the client main screen. The client can now show tray bubbles when songs are played. Enable in menu->config. Songs that already exist will still be added to playlists - this allows stations to have overlap in songs. Client: Removed shuffle songs, as it was essentially useless. Client: The window will now become visible when focused (click on taskbar) Client: Slight changes in menu wordings Client: Faded in opacity now limited to sane values Client: Song urls now accessible from rate songs dialog Client: Fixed window flickering when fading was turned off with low opacity levels set Client: The last station will now be remebered correctly. Saver2: Playlist writing functionatly moved into saver2. Saver2: Playlists may now be written with absolute paths for compatability with itunes Saver2: NOTIFY_SAVER2_SONG_SAVED notification will still be sent if the song is ignored due to already existing Saver2: Version incremented due to some changes rendering it not backwards compatable (not that this is a problem...) Saver2: File tagging code improved significantly Saver2/Pandora: Support for deleting songs (badly rated songs) added. The new plugin is not in yet, not quite happy with how it works. Known bugs: Client: Menus will not resize when main window sized, nor will button images or shade mode controls. Client: The tray icon can not display a menu for unknown reasons. Pandora: Using the move song and ban song will cause songs to be deleted; they use the feedback mechanism to work. Not fixable. Pandora: Songs deleted when negatively rated will still be referenced in playlist files. Not fixable.
  19. I'm working on adding this now, it's been requested enough and I've got time to burn. Something to keep in mind is one should not use move song and ban song as these both send negative feedback when it may not be desired for the song in question to be deleted. No way to get around this, I've found. Also added a quick station change/creation to the client: when the stations button is visible, right click it, and a menu of stations will pop up with an option to create one as well
  20. iTunes probably doesn't care for the relative paths which saver2 uses, I'm guessing. When you close and reopen it it forgot the CWD and could no longer find the files. When you re-save it it's probably putting absolute paths in so itunes has no problem with it. Working on a new release for today or tomos; main thing is it adds a song options menu with the various song URLs, approve song, i'm tired of this song, move song, create a station from song artist, and so on. Unfortunately, it seems this will prevent resizing from working "nicely": for some reason, the menus refuse to resize now as well as pictureboxes in panels (needed for some layout stuff). Move song will have two implementations, the "soft" pandora implementation (where it just suggests the song for the other station) and a better implementation where the song is added as a seed to the chosen station.
  21. Hmm, taking a look at it's interesting in that it uses psuedo-c# scripts, but there seems to be some asinine syntax differences as i can't quite get it to work in proper c# - the regex returns no matches. Regexes are pretty much indecipherable to me, so, yeah... i'll try poking at it but i'm not too confident.
  22. I've tried, but end up with just an empty title (it's a bit odd, really). You might try shade mode (double click the top of the window, where it says Pandora - station name) combined with on top (click the little pin icon so it faces downwards)
  23. Yes, the helper is broken. (was removed from s2 dl because of this) I got the same thing with not being able to find the window. It's likely a firefox implementation change; don't feel like installing opera again to test that. http://zzj.itf-inc.com/s2/misc/PSFinalSrc.zip Moved the source when i was reorganizing earlier.
  24. I'm tired of this song is already implemented (see rate songs dialog) though it does not yet have an option on the main player screen. Move song is just a double feedback set (it sets as negative feedback on the current station and sets positive feedback for the station to move to). Could be done, though.
  25. The setting in SProxy's settings is currently entered manually - i tend not to remember to change it unless major changes are made. Last significant changes to SP was back then, so... Hmm... i see that bug too now. With no text. Ugh. Don't know what happened here. Actually, on further thought, I do, come to think of it. The thread that updates the player's loading status (the buffering etc) is probably having one last go but is passing an empty arg so it overwrites the main thread setting the text proper. Simple fix, at least. Uploaded fixed version. I took another poke around the decompiled applet earlier (magic numbers are related to time played), and looked at various stuff in the XML data. Nothing to get a full album art. I took a look at the gadget's stuff, but as i knew a while ago it uses a completely different protocol - there's some analogues, but it on the whole has no usable similarities. Will take a look at amazon's album art thing at some point.
×
×
  • Create New...