static void Main(string[] args) { Console.WriteLine("SpotifyInfo by Redback93"); _webApi = new WebApiClient(); MakeOutputDirectory(); _spotifyProcess = GetSpotifyProcess(); if (_spotifyProcess == null) ExitError("Cannot find the Spotify process"); while (!_spotifyProcess.HasExited) RunUpdateCycle(); ExitError("Spotify has exited."); }
public void Init() { webApiClient = new WebApiClient(); }