Page 1 of 1

Spotify-based Desktop Application

PostPosted: Mon Aug 22, 2011 2:51 am
by bmj1086
For a good while now I have been writing a subsonic API for C#. Recently I decided to put it to work and I started building a desktop application for Windows. After working with the data access portion of this application for so long I finally found a good UI to build mine around, Spotify. Here are some screenshots of my application. (Note: This is an alpha release; it is nowhere near completed and with my ambition the features will probably be inexhaustible)

Updates will probably come daily so I have limited the application update checks to once daily but you can check for new updates under "Help > About."

I am open to requests but please refrain from suggesting things that are on the TODO list or just plain obvious (such as "repeat" and "random")

Changelog and TODO list will be below.

Download: http://bmjones.com/supersonic

Image
Image
Image

Re: SuperSonic Music Streamer. A Spotify-based UI for Subson

PostPosted: Mon Aug 22, 2011 2:52 am
by bmj1086
Reserved for changelog

Re: Spotify-based Desktop Application

PostPosted: Wed Aug 24, 2011 3:50 pm
by jameskeagie
Looking good - the spotify framework should port to other OS'es easily as well!

Someone likes the Architects too huh? See them on tour? I used to hang out w/ Brandon occasionally when I used to live in KC.

Re: Spotify-based Desktop Application

PostPosted: Thu Aug 25, 2011 2:16 am
by kartoffel
Hi.
I'm trying to connect to my subsonic server but I get these errors.

The remote server returned an error: (404) Not Found.
Server address: hostname.org

Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at SharpSub.Data.SubsonicRequest.SendRequest(String requestUrl)
   at SharpSub.Data.SubsonicRequest.Login(String serverURL, String username, String password)
   at SuperSonicUI.LoginForm.LoginButtonClick(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
SuperSonic
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Carlos/AppData/Local/Apps/2.0/0NO2DA8L.40K/D34EKT6H.0R1/supe..tion_546b23bf1e1b02bc_0000.0009_d289184c212c16e2/SuperSonic.exe
----------------------------------------
SharpSub.Data
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Carlos/AppData/Local/Apps/2.0/0NO2DA8L.40K/D34EKT6H.0R1/supe..tion_546b23bf1e1b02bc_0000.0009_d289184c212c16e2/SharpSub.Data.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CustomControls
    Assembly Version: 1.0.4250.31808
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Carlos/AppData/Local/Apps/2.0/0NO2DA8L.40K/D34EKT6H.0R1/supe..tion_546b23bf1e1b02bc_0000.0009_d289184c212c16e2/CustomControls.DLL
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


The remote name could not be resolved: "https".
Server address: https://hostname.org

Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetResponse()
   at SharpSub.Data.SubsonicRequest.SendRequest(String requestUrl)
   at SharpSub.Data.SubsonicRequest.Login(String serverURL, String username, String password)
   at SuperSonicUI.LoginForm.LoginButtonClick(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
SuperSonic
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Carlos/AppData/Local/Apps/2.0/0NO2DA8L.40K/D34EKT6H.0R1/supe..tion_546b23bf1e1b02bc_0000.0009_d289184c212c16e2/SuperSonic.exe
----------------------------------------
SharpSub.Data
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Carlos/AppData/Local/Apps/2.0/0NO2DA8L.40K/D34EKT6H.0R1/supe..tion_546b23bf1e1b02bc_0000.0009_d289184c212c16e2/SharpSub.Data.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CustomControls
    Assembly Version: 1.0.4250.31808
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/Carlos/AppData/Local/Apps/2.0/0NO2DA8L.40K/D34EKT6H.0R1/supe..tion_546b23bf1e1b02bc_0000.0009_d289184c212c16e2/CustomControls.DLL
----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by: RTMRel
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.




My server runs under 443 (SSL) port. Is there any fix for this bug?

Thanks and sorry for my bad english :(

Re: Spotify-based Desktop Application

PostPosted: Thu Aug 25, 2011 9:42 pm
by bmj1086
I haven't implemented https support yet. I will implement that soon. I'll have a big update this evening.

Re: Spotify-based Desktop Application

PostPosted: Tue Nov 29, 2011 5:22 pm
by Undeadllama
Is this still being developed?
Im desperately trying to find a good alternative to the web base client.
In particular I want to be able to use the media control keys on my keyboard to play/pause + skip tracks on subsonic which you obviously can't do with the web interface.
So any news or is this dead now?