Improved realm thread and added http client

This commit is contained in:
Rasmus Krämer
2022-04-14 11:54:53 +02:00
parent 4abd1c8b49
commit 736af85855
14 changed files with 253 additions and 71 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ struct NowPlayingMetadata {
class NowPlayingInfo {
private static var nowPlayingInfo: [String: Any] = [:]
public static func setAudiobook(metadata: NowPlayingMetadata) {
public static func setSessionMetadata(metadata: NowPlayingMetadata) {
setMetadata(artwork: nil, metadata: nil)
if !shouldFetchCover(id: metadata.id) || metadata.artworkUrl == nil {