mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
Utility QoS is better for album art
This commit is contained in:
parent
d087200fb3
commit
caf7f990e0
@ -17,7 +17,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>0.11.0-alpha</string>
|
<string>0.11.1-alpha</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1</string>
|
<string>1</string>
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
|
|||||||
@ -20,7 +20,7 @@ class AlbumArtService {
|
|||||||
let bigArtworkSize = 600
|
let bigArtworkSize = 600
|
||||||
|
|
||||||
var session = URLSession(configuration: .default)
|
var session = URLSession(configuration: .default)
|
||||||
let artworkQueue = DispatchQueue(label: "albumArtQueue", qos: .background)
|
let artworkQueue = DispatchQueue(label: "albumArtQueue", qos: .utility)
|
||||||
|
|
||||||
init(song: Song) {
|
init(song: Song) {
|
||||||
self.song = song
|
self.song = song
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user