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

+1 -1
View File
@@ -305,7 +305,7 @@ public struct TheTVDB : MetadataService {
let season = metadata[.season] as? Int,
let store = iTunesStore.Store(language: "USA (English)") else { return [] }
return AppleTV().search(term: name, store: store, type: .tvShow(season: season))
return AppleTV().searchArtwork(term: name, store: store, type: .tvShow(season: season))
}
private func loadTVArtwork(seriesID: Int, type: ArtworkType, season: String, language: String) -> [Artwork] {