From 7033e206a0c148be419ceda374588f94efc0e229 Mon Sep 17 00:00:00 2001 From: David Rudie Date: Wed, 12 Oct 2022 17:08:14 -0500 Subject: [PATCH] Removed loading cached metadata. It's pointless currently and may interfere with Snip's ability to see what's playing. Note: Enabling the option still downloads the metadata. --- Snip/Players/Spotify.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Snip/Players/Spotify.cs b/Snip/Players/Spotify.cs index 3975ff1..9af007f 100644 --- a/Snip/Players/Spotify.cs +++ b/Snip/Players/Spotify.cs @@ -277,8 +277,12 @@ private void UpdateSpotifyTrackInformation_Elapsed(object sender, ElapsedEventAr { // The track ID is different so we can continue + // If the track ID matches something we've already cached, let's pull that data from // the cache instead of downloading it again. + + /* This is pointless at the moment since you get all of the metadata when checking + * if anything is playing already anyway. if (Globals.CacheSpotifyMetadata) { // Skip if local, there is no metadata @@ -287,6 +291,7 @@ private void UpdateSpotifyTrackInformation_Elapsed(object sender, ElapsedEventAr downloadedJson = this.ReadCachedJson(trackId); } } + */ // If there are multiple artists we want to join all of them together for display string artists = string.Empty;