public PlaytimeTrackingHandler(MainWindow window) { LoggingHandler.Log("Starting Playtime Logging Handler"); this.window = window; FilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "FRESHMusicPlayer", "Tracking"); TrackingFile = Read(); window.Player.SongChanged += Player_SongChanged; }
public PlaytimeTrackingHandler(MainWindow window) { LoggingHandler.Log("Starting Playtime Logging Handler"); this.window = window; FilePath = Path.Combine(App.DataFolderLocation, "Tracking"); TrackingFile = Read(); window.Player.SongChanged += Player_SongChanged; }