Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Commit

Permalink
Use high quality album art for mini-player (fixes #270)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbhomes committed Dec 6, 2014
1 parent a23b0c2 commit 3b6226b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions radiant-player-mac/Popup/PopupViewDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ - (void)updateSong:(NSString *)title artist:(NSString *)artist album:(NSString *

- (void)downloadAlbumArt:(NSString *)art
{
// Download the 500px size image.
art = [art stringByReplacingOccurrencesOfString:@"=s130-" withString:@"=s500-"];

NSURL *url = [NSURL URLWithString:art];
NSImage *image = [[NSImage alloc] initWithContentsOfURL:url];
[artView setImage:image];
Expand Down

0 comments on commit 3b6226b

Please sign in to comment.