Expand Apple TV metadata importer.

This commit is contained in:
Damiano Galassi committed 2019-11-13 13:44:17 +01:00
1 parent 17442e64dc
commit 6dc86fe9bb
5 files changed
+237 -46

No files matched your search

+2 -2
View File
@@ -124,7 +124,7 @@ public struct TheMovieDB: MetadataService {
DispatchQueue.global().async(group: group) {
if let title = result.title,
let store = iTunesStore.Store(language: "USA (English)") {
appleTV = AppleTV().search(term: title, store: store, type: .movie)
appleTV = AppleTV().searchArtwork(term: title, store: store, type: .movie)
}
}
group.wait()
@@ -398,7 +398,7 @@ public struct TheMovieDB: MetadataService {
let season = metadata[.season] as? Int,
let store = iTunesStore.Store(language: "USA (English)") {
appleTV = AppleTV().search(term: name, store: store, type: .tvShow(season: season))
appleTV = AppleTV().searchArtwork(term: name, store: store, type: .tvShow(season: season))
}
}
DispatchQueue.global().async(group: group) {