-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Spotify issue #26
Comments
The new version of Spotify no longer shows the currently playing song in its title. This was the method that Snip used to get the song information. The solution is to downgrade Spotify to an older version from here. Then do the following: Go to C:\Users\YOURUSERNAME\Appdata\Roaming\Spotify
Spotify needs to delete these files to do an automatic upgrade. The read-only flag on both of these files will prevent upgrading from happening. |
Encountered same issue. Only happens with spottily. |
This fixes it for me!!!! Make sure you copy it exactly. |
Which version of Spotify is the newest version? Mine hasn't asked me to update it yet. It's version 9.5.15.27. Snip is still working fine here. |
I finally got the update and can confirm it's no longer working. I'll need to look into it more during the weekend. |
The issue is that the song information is no longer stored in the title of the window. I am very displeased with this UI update all around. I liked the original design the best. Anyway, I'm still working on finding an alternative way to make this work. |
You may have to enumerate the window controls. Grab the section that controls the current playing song and get the text. Use "Winspector" - http://gipsysoft.com/ or something like it, grab that control etc.. |
Here are 2 projects that I've looked into in the past that might help you out: Both of them deal with the local webserver that spotify runs on a machine. The first is C# so would probably be easier to implement. The second one is in Node, so you would have to wrap that somehow. |
This one looks even more up to date AND in C#. It has the ability to query locally for the song information along with song progress and spotify volume. |
Looks good. I'll look into that and see what I can come up with. |
I started to implement the Spotify API linked above but it doesn't seem to work either. It hangs as soon as you create a new Spotify(). Perhaps the web helper changed with the recent update. |
I've started to merge the code from the SpotifyAPI project into mine. I couldn't get the project as-is to work so I'm just copying over, updating, and using only the pieces I need to get it working. So far I'm getting responses and it's looking good. |
@dlrudie Good stuff! Keep us updated! |
@dlrudie why don't you just use this https://github.com/JohnnyCrazy/SpotifyAPI-NET I have implemented a patch for the time being of my own that works like 90% of the time. I was to lazy to fix it 100% was just waiting for you to release it. |
Any news on a fix? |
I've been ridiculously busy lately. I'll try to get something going this weekend though. |
I have a working version here still. It was working when I made the comment on March 22. There are still features missing that I'm trying to figure out. The web helper API allows you to pause a track, and play a specific track on demand, but there seems to be no next track or previous track features. I know one of my personal reasons for using Snip before was actually just to use the hotkey to switch to the next track without having to touch Spotify. |
I committed what I have so far. It works and if you build it you should be good. I'll work on implementing more stuff over the weekend. |
Anyway, you could put up a temporary release? |
@the9quad just go build the project yourself. Since your posting on here I'm assuming you have the knowledge to do so. |
@tance77 , actually buddy, I do not have the knowledge to do so. I did however know how to create an account to ask the question. That is why I asked. I figured there was no harm in asking. I apologize if I broke some kind of protocol. (there was no sarcasm in this post, so please don't read any into it.) |
What version of Spotify is the latest one that works with Snip? @denolfe |
@the9quad @denolfe i was mistaken apparently here is a simple compiled version. Note this is not an offical release. https://github.com/tance77/snip2/archive/master.zip |
@tance77 thanks appreciate it. |
thought id post here and let you know @dlrudie , the song name and artist seem to be back in the title again now. So might make things easier for you. Thanks for the great app 👍 |
@tance77 thanks for the temp fix. |
@tance77 that version errors for me as well. I also can't compile my own because it seems there are quite a few references the project is expecting that aren't included. |
Hi guys, I compiled a working Snip.exe from the latest commits. I had to remove all iTunes references and the code is NOT signed since the pfx file was not included in the code BUT, it works. Here you go: http://puu.sh/isLzW.zip |
@Arkpit thank you very much. The artwork feature works great. |
can confirm @Arkpit works |
Since the song information was added back to Spotify's title I'll have something more efficient soon. |
Commit 4a2acad fixed this issue. Enjoy. |
awesome! |
When I updated spotify yesterday I got this error when snip try's to open:
The box is titled: Microsoft .NET Framework. It asks me to Quit or Continue and my only choice that works is Quit. Someone please help me resolve this issue.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Winter.Spotify.Update()
at Winter.Snip.TimerScanMediaPlayer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.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.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
Snip
Assembly Version: 4.6.0.0
Win32 Version: 4.6.0.0
CodeBase: file:///C:/Users/Chris%20Wallace/Desktop/Snip/Snip.exe
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
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.34209 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
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.34234 built by: FX452RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.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:
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 text was updated successfully, but these errors were encountered: