Some changes to get working the program

Feb 28, 2016 at 6:52 AM
Edited Feb 28, 2016 at 7:02 AM
I managed to get the program working but with these three warnings :
1) Use Spotify program, not the web version.
2) Install a virtual Cable: and make sure that in "Control Panel">Sound in Playback tab "CABLE Input" is the default device and in Recording Tab "CABLE Output" is the default device (Note: if you want to listen what is recorded, right click "Cable Output" >Properties, select Listen Tab, Check "Listen to this device" and select your speakers in listbox "Playback through this device").
3) Change in MainForm.cs this code:
        if (process != null && process.Length > 0)
            string song = Process.GetProcessesByName("spotify")[0].MainWindowTitle;
            return song.Length > 7 ? song.Substring(10).Trim() : string.Empty;
with this
        foreach(Process p in process)
            string song = p.MainWindowTitle;
            if (song.Length > 0 && song !="Spotify") return song;
subject to these changes, this is an excellent software.
Mar 6, 2016 at 8:24 AM
The MainFrom.cs changes why? I mean f been using the software for awhile and I havent had any problem