Fix the issue where Apple TV metadata isn't returned for TV/Movies that Apple doesn't currently sell in the given region.

This commit is contained in:
Michael Mock authored and GitHub committed 2024-12-19 09:05:47 +01:00
1 parent 0ea41244f5
commit 3fe294f582
1 file changed
+1 -1
+1 -1
View File
@@ -130,7 +130,7 @@ public struct AppleTV: MetadataService {
private let detailsURL = "https://uts-api.itunes.apple.com/uts/v2/view/product/"
private let episodesURL = "https://uts-api.itunes.apple.com/uts/v2/view/show/"
private let seasonsURL = "https://uts-api.itunes.apple.com/uts/v2/show/"
private let options = "&utsk=0&caller=wta&v=58&pfm=desktop"
private let options = "&utsk=0&caller=wta&v=58&pfm=appletv"
private func normalize(_ term: String) -> String {
return term.replacingOccurrences(of: " (Dubbed)", with: "")