Download a lower resolution artwork from iTunes, instead of a uselessly large one.

This commit is contained in:
Damiano Galassi committed 2015-11-09 17:34:36 +01:00
1 parent 7616f03085
commit 4f2c30d1d4
1 file changed
+1 -1
+1 -1
View File
@@ -380,7 +380,7 @@ NSInteger sortMP42Metadata(id ep1, id ep2, void *context)
[metadata setArtworkThumbURLs: artworkThumbURLs];
[artworkThumbURLs release];
artworkString = [artworkString stringByReplacingOccurrencesOfString:@"100x100bb" withString:@"10000x10000bb"];
artworkString = [artworkString stringByReplacingOccurrencesOfString:@"100x100bb" withString:@"1400x1400bb"];
NSMutableArray *artworkFullsizeURLs = [[NSMutableArray alloc] initWithCapacity:1];
[artworkFullsizeURLs addObject:[NSURL URLWithString:artworkString]];
[metadata setArtworkFullsizeURLs: artworkFullsizeURLs];