Skip to content

Commit

Permalink
Removed loading cached metadata. It's pointless currently and may int…
Browse files Browse the repository at this point in the history
…erfere with Snip's ability to see what's playing. Note: Enabling the option still downloads the metadata.
  • Loading branch information
David Rudie committed Oct 12, 2022
1 parent ed7d80f commit 7033e20
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Snip/Players/Spotify.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit 7033e20

Please sign in to comment.