dlrudie / snip Goto Github PK
View Code? Open in Web Editor NEWSnip will get the artist, track, and album information from Spotify and iTunes, and save the information to a text file.
License: GNU General Public License v3.0
Snip will get the artist, track, and album information from Spotify and iTunes, and save the information to a text file.
License: GNU General Public License v3.0
Issue is as the title says.
The album art is set to a 1x1 image, Snip.txt updates with the artist and title perfectly fine, however Snip_Album.txt, Snip_Artist.txt and Snip_Track.txt all retain whatever values they had prior to the song being played, whether that be empty or the details of the previous track.
Getting this 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)
http://i.imgur.com/xowsqUy.png
I have tried running the software as administrator but when i launch spotify this error message pops up.
install might have gone bad. when i first ran the application i did not have Spotify installed or running. Any suggestions will help.
I am not the typical user of your app. I have visual studio and I think it is doing something funky with the .exe file because I can not find it anywhere. What should I do? thank you!
when i reach your page the download links don't show up normal like in youtube tutorials. I click it and the file is not downloaded as a .zip file. How do i fix that??
When listening to Radio within iTunes the album artwork is never successfully captured. Not sure if it's not referenced in the same way or if there's a delay in fetching the artwork. From what I can tell you only check for artwork when the user hits play or next track, that may be too soon.
Thanks!
Ryan
That's about it, actually.
I can't get the snip_artwork to show album art for spoitfy. I've tried running it in admin mode just to test and it doesn't work there either.
First of all thanks for the quick fix (#40).
Second.... I'm kinda new to Github, and dunno if this would fit as an issue or request. Don't know of any support forums for Snip either so...... here we go.
Is there a way to actually save the settings made in Snip or do I have to do it al over each time I need to reboot the computer?
I have Snip set up in autostart but every time I reboot the previous settings are gone. See image! The one on the left is my setting and the one on the right is the default setting that keeps popping up on reboot.
I use Spotify + Snip to present kind of a "Now Playing" -signature, using the separate text files for artist, song and album +cover art, auto-syncing them to my host via FTP and then present it (with a bit of coding)...
When the settings is changed upon reboot I lose that signature aswell, since Snip then wont write the info in the separate files anymore... til I change it back.
Any help is appreciated
When Using itunes on windows 7 pro songs that dont have album artwork will not output to the file snip reports no song playing for those particular songs I am running the most recent version of iTunes as of 6-25-14 hope just noticed this only happens when songs don't have information for every single item such as song title artist name album name and album artist
Hello, Snip is crashing on launch for me on Windows 8 without any error messages. I am not getting this crash on my Windows 7 machine. Let me know if I can provide any other information.
This is the output for me in Event Viewer:
Application: Snip.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at Winter.KeyboardHook.RegisterHotkey(Winter.ModifierHookKeys, System.Windows.Forms.Keys)
at Winter.Snip..ctor()
at Winter.Program.Main()
So I'm trying to use the 4.6 release with the most current xsplit version.
Below is the Error message I am receiving. Thanks for the help!
-EnTfy
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
Snip
Assembly Version: 4.6.0.0
Win32 Version: 4.6.0.0
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
************** 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.
Everything is up-to-date (Snip, iTunes and OBS) and despite having Snip set to iTunes as per the instructions, and having the Snip file selected as text in OBS. I'm not having any text show up in my OBS. Can you check to see if everything is working? The Snip.txt file is blank no matter what. What's going on?
Love Snip, love Spotify!
Yesterday my premium went away (temp), since I forgot to pay for premium service. Just noticed today that as soon as ads (audio ads) are starting on Spotify I get an error and if ignored (and closed AFTER the audio ad is done) nothing happens, otherwise Snip killed.
I can attach a screen for you if needed
Otherwise I don't know what info you might need from my end
I probably wont get the error anymore when fixing the premium again, but if it's fixable for others if might be a good thing
Dunno if attachment or text info helps that much since it's in Swedish but here it is :)
The infotext in the attachement was this:
Information om att aktivera JIT-felsökning i stället för den
här dialogrutan finns i slutet av det här meddelandet.
************** Undantagstext **************
System.ArgumentOutOfRangeException: Index låg utanför intervallet. Det får inte vara negativt och måste vara mindre än mängdens storlek.
Parameternamn: index
vid System.ThrowHelper.ThrowArgumentOutOfRangeException()
vid CallSite.Target(Closure , CallSite , Object , Int32 )
vid Winter.Spotify.Update()
vid Winter.Snip.TimerScanMediaPlayer_Tick(Object sender, EventArgs e)
vid System.Windows.Forms.Timer.OnTick(EventArgs e)
vid System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Inlästa sammansättningar **************
mscorlib
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34209 built by: FX452RTMGDR
Snip
Sammansättningsversion: 5.0.0.0
Win32-version: 5.0.0.0
System.Windows.Forms
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34251 built by: FX452RTMGDR
System.Drawing
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34209 built by: FX452RTMGDR
System
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34238 built by: FX452RTMGDR
System.Configuration
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34209 built by: FX452RTMGDR
System.Xml
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34234 built by: FX452RTMGDR
System.Core
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34209 built by: FX452RTMGDR
Microsoft.CSharp
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34209
System.Web
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34249 built by: FX452RTMGDR
Anonymously Hosted DynamicMethods Assembly
Sammansättningsversion: 0.0.0.0
Win32-version: 4.0.30319.34209 built by: FX452RTMGDR
System.Dynamic
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34209
Microsoft.CSharp.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34209
mscorlib.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34209 built by: FX452RTMGDR
System.Windows.Forms.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34209 built by: FX452RTMGDR
System.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.0.30319.34209 built by: FX452RTMGDR
************** JIT-felsökning **************
För att aktivera JIT-felsökning (just-in-time ) måste .config-filen för det här
tillämpningsprogrammet eller datorn (machine.config) ha
jitDebugging-värdet angivet i avsnittet system.windows.forms.
Tillämpningsprogrammet måste också vara kompilerat med felsökning
aktiverat.
Till exempel:
När JIT-felsökning är aktiverad kommer alla undantag som inte hanteras
att skickas till JIT-felsökaren som är registrerad på datorn
snarare än att hanteras av den här dialogrutan.
When a song changes using Spotify )Version: 0.9.0.133.gd18ed589) the Snip_Artwork file does not update. Instead, it switches to the Snip_Blank.jpg. I have to close Snip and re-open it for it to update the Snip_Artwork.jpg.
It almost sounds like it might not be getting the URL from the meta in time so it defaults to Snip_Blank. I haven't looked at your code, but that is my first guess.
Besides that, this piece of software is awesome! Using it on my Twitch.TV stream :)
Hi,
I'm new to GitHub and have no idea how to contribute code, or if permissions allow for it for this project, but here is my fix for "Emtpy File If No Track Playing" when "Save Information Separately" is set as the selected option.
In TextHandler.cs, change the "UpdateTextAndEmptyFile" method to the following code:
public static void UpdateTextAndEmptyFile(string text)
{
if (Globals.DebuggingIsEnabled)
{
Debug.MeasureMethod(SetNotifyIconText, text);
}
else
{
SetNotifyIconText(text);
}
if (File.Exists(@Application.StartupPath + @"\Snip.txt"))
{
File.WriteAllText(@Application.StartupPath + @"\Snip.txt", string.Empty);
}
if (File.Exists(@Application.StartupPath + @"\Snip_Artist.txt"))
{
File.WriteAllText(@Application.StartupPath + @"\Snip_Artist.txt", string.Empty);
}
if (File.Exists(@Application.StartupPath + @"\Snip_Track.txt"))
{
File.WriteAllText(@Application.StartupPath + @"\Snip_Track.txt", string.Empty);
}
}
Have a nice one guys and keep up the great work!
Luke
The first time launching the program a Microsoft .Net Error. I am a person who only knows Java, PHP, Html, JSON, YAML. Here are the detailes. 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.18063 built by: FX45RTMGDR
Snip
Assembly Version: 4.6.0.0
Win32 Version: 4.6.0.0
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18047 built by: FX45RTMGDR
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
************** 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.
Can you please fix it.
Snip is no longer compatible with the new spotify
I want to be able to make the display in the main text file Artist: Song (Album)
Maybe make another text filed in the config that allows you to do this?
Do you plan to support AIMP as well? It would be great IMO, I am mainly using spotify, but sometimes I listen to music in AIMP and then I cannot use snip for it.
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
Snip
Assembly Version: 4.6.0.0
Win32 Version: 4.6.0.0
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
************** 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.
Since release new version of iTunes 11.0.2. Snip has stopped to updating track informations. Can you look at that?
I recently downloaded Snip v5.1.0 and unzipped the file. Then when i click the Snip.exe file something pops up on my computer and says "This app can't run on your PC." It says to find a version that works check with software publisher. I don't know if there is an easy way to do this. I don't know a ton about computers. I have windows 10. My computer isn't even a year old so I don't know what is wrong. If there is some other information you need I will happily provide it.
Thanks
Snip only work with song that has picture on the song on itune if the song does not have a picture snip does not detect it! Thit is a big issue.
I have been through the readme several times and made sure every option is set up as stated in the Winamp section, including the formatting. Snip is correctly generating the Snip.txt file to read Title - Artist. However, nothing I do in Output Format has any effect on anything. If I add characters, quotes, spaces, change the separator, whatever, nothing changes. I can even delete every line in Output Format, leaving everything blank, and upon saving, still nothing changes in the way Snip.txt is being generated.
In addition to that, Snip_Album.txt, Snip_Artist.txt, and Snip_Track.txt remain empty (Save Information Separately is checked in Snip).
I've tried shutting down and restarting everything after making changes, to no avail.
I'm not sure what I can be doing wrong. The readme file is very simple to follow.
I'm using Winamp v5.63 (x86), Windows 7, and Snip v5.1.0.
Any suggestions? I'm happy to provide more information if needed.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
at System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams)
at Winter.MediaPlayer.SaveBlankImage()
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.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Snip
Assembly Version: 4.0.0.4
Win32 Version: 4.0.0.4
CodeBase: file:///C:/Program%20Files/Snip/Snip.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
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.18408 built by: FX451RTMGREL
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.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18446 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
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.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Dynamic
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.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.
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 name could not be resolved: 'ws.spotify.com'
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at Winter.Spotify.HandleSpotifyAlbumArtwork(String artist, String songTitle)
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.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Snip
Assembly Version: 4.0.0.4
Win32 Version: 4.0.0.4
CodeBase: file:///C:/Program%20Files/Snip/Snip.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
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.18408 built by: FX451RTMGREL
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.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18446 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
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.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Dynamic
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.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.
On Windows 10, Snip does not detect that Spotify is running and a song is playing. When it finally does know Spotify is running, it continues to say No Track Playing even though I have a track playing.
Hi and thanks for your work on Snip, it's awesome :)
So I'm using Spotify with playlists containing online tracks but also personnal ones, stored on my computer. Two things I wanted to share with you :
Here you go, hoping it can help you improve even more this nice little piece of soft ^^
When do you think that a new version will be released? Whenever I try to launch it, I just get error after error, similar (if not the exact same) to the other open thread. Thanks!
Hey,
I have recently been trying to use Snip for OBS as I would like to start live streaming in the near future. On the first time start-up, it worked completely fine but every single time after it just crashes as soon as I click on .exe. I was wondering if you could help me come up with a solution for this as I have tried downloading it again but it did not prevail.
This is a fantastic little program, so thank you for taking the time to write it!
The program occasionally doesn't update the currently playing song or artwork, and the tooltip for Snip says "Spotify isn't running." (Or something similar, I'm pulling this from my memory) It seems random, and closing Spotify and reopening it works. If there's anything else I can provide, let me know.
Snip v5.1.0
Spotify 1.0.13.108.gcd94e7db
How does Snip detect Spotify is running?
Usually Snip is pretty good about wiping out the contents of the image and text files, but when this "event" occurs, it seems Snip isn't wiping the contents.
In the latest version at time of writing (v5.0.1, last commit 06c9f7a), when the Spotify artwork resolution is changed in the taskbar, the track must be changed before it is redownloaded. In the pre-release versions, it automatically got redownloaded.
has the software changed because i cant find the snip.txt file in the folder i downloaded
So the problem is in the file String.txt on line 31 where something strange happening when no track playing it does not display. I fixed this by making a program in ruby XD but fix this please don`t want to start a third program to fix this.
So I just downgraded to Spotify 0.9.15.27.xxxxx and so far everything runs stable.
But nevertheless, Snip won't save the Spotify Artwork correctly. Snip is set up correctly ("Save Album Artwork") and the file Snip_Artwork is created. The file is completely empty and thus can't be displayed in OBS.
Does someone has any idea how to fix that?
Another problem: Snip recognizes the title as "Spotify - Title - Artist". Anyway to get "Spotify" out of there? :)
Windows 10 Home (64bit)
Crash occurs as soon as music begins playing. Can load Spotify desktop app and Snip with no error
************** 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.OnTick(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.6.96.0 built by: NETFXREL2STAGE
Snip
Assembly Version: 4.6.0.0
Win32 Version: 4.6.0.0
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
System
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.6.79.0 built by: NETFXREL2
I'm using Windows 10 Pro x64 and I keep getting "Invalid JSON string" errors from Microsoft.NET Framework. How do you make it stop? I'll post the error message below, but it's in Swedish since I'm using the swedish lanuage.
"Information om att aktivera JIT-felsökning i stället för den
här dialogrutan finns i slutet av det här meddelandet.
************** Undantagstext **************
System.Runtime.Serialization.SerializationException: Invalid JSON string
vid SimpleJson.SimpleJson.DeserializeObject(String json)
vid Winter.Spotify.Update()
vid Winter.Snip.TimerScanMediaPlayer_Tick(Object sender, EventArgs e)
vid System.Windows.Forms.Timer.OnTick(EventArgs e)
vid System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Inlästa sammansättningar **************
mscorlib
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.96.0 built by: NETFXREL2STAGE
Snip
Sammansättningsversion: 5.1.0.0
Win32-version: 5.1.0.0
System.Windows.Forms
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.79.0 built by: NETFXREL2
System
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.79.0 built by: NETFXREL2
System.Drawing
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.79.0 built by: NETFXREL2
System.Configuration
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.79.0 built by: NETFXREL2
System.Core
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.79.0 built by: NETFXREL2
System.Xml
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.79.0 built by: NETFXREL2
Microsoft.CSharp
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.79.0
System.Web
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.79.0 built by: NETFXREL2
System.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.79.0 built by: NETFXREL2
System.Windows.Forms.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.79.0 built by: NETFXREL2
mscorlib.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.79.0 built by: NETFXREL2
************** JIT-felsökning **************
För att aktivera JIT-felsökning (just-in-time ) måste .config-filen för det här
tillämpningsprogrammet eller datorn (machine.config) ha
jitDebugging-värdet angivet i avsnittet system.windows.forms.
Tillämpningsprogrammet måste också vara kompilerat med felsökning
aktiverat.
Till exempel:
När JIT-felsökning är aktiverad kommer alla undantag som inte hanteras
att skickas till JIT-felsökaren som är registrerad på datorn
snarare än att hanteras av den här dialogrutan.
"
Snip v5.0.5 / WinAmp v5.65
The output settings don't work properly. The input is saved in the registry and loaded on start, but there are no changes whatsoever. It uses the standard format instead.
Also the option so save the song information seperately doesn't work, it simply writes a single space char.
Otherwise the current track and artist is displayed as given by WinAmp.
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
Snip
Assembly Version: 4.6.0.0
Win32 Version: 4.6.0.0
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
************** 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.
when I try to download snip it appears as a 7z file rather than an EXE?
Every once in awhile Snip will throw an exception related to iTunes. It appears to be related to already having iTunes running when you start Snip. If this is the case it may be better to display a message saying that you need to shut down iTunes before running Snip to ensure that the iTunes COM library properly gets loaded.
I was checking the spotify artwork that's stored and the same album artwork is appearing multiple times for multiple albums.
It appears to be using the track href rather than the album href.
I was using the Medium setting for Keep Spotify Album Artwork
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: (504) Gateway Timeout.
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at Winter.Snip.DownloadSpotifyAlbumArtwork(String trackId, Int32 albumArtworkResolution, String savePath)
at Winter.Snip.HandleSpotifyAlbumArtwork(String artist, String songTitle)
at Winter.Snip.ScanSpotify()
at Winter.Snip.TimerScanTitle_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)
I'm using the latest iTunes (12.1.2.27) and Snip (4.60)
While I can get the track and artist to show up when playing, I can't get the album to show. Thanks for any help
I've noticed that when using the default values for formats the initial space for the separator format gets stripped out.
Once the value is loaded from the ResourceManager it gets saved to the registry, and all future changes load/save to the registry. So if you edit the space back in then it will appear from then on.
I do not strip this space out in any of the code so I'm wondering if it's something that the ResourceManager is doing when it loads the value from the resource file.
I'll need to find another solution if that's the case. I don't want to hardcode spaces so that users have the choice to customize how it looks.
I've tried everything, running as admin, restarting my pc, restarting spotify, redownloading snip, resetting snip settings and the same song is always on the album artwork and snip.txt
“Left Hand Free - Live from Lido, Berlin” ― alt-J
Always this song, I even activated song history and when I change song this damn song repeats itself in the song history file when I change song.
I can't for the love of god find a way to save the text file(s) to another location other than the same place as the exe file.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.IOException: The process cannot access the file 'C:\Program Files\Snip\Snip_Artwork.jpg' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
at Winter.MediaPlayer.SaveBlankImage()
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.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Snip
Assembly Version: 4.0.1.0
Win32 Version: 4.0.1.0
CodeBase: file:///C:/Program%20Files/Snip/Snip.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
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.18408 built by: FX451RTMGREL
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.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Web
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18446 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
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.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
System.Dynamic
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.