From 3fe294f582176213e790b382f3f3d8a7f3c5acbb Mon Sep 17 00:00:00 2001 From: Michael Mock Date: Thu, 19 Dec 2024 02:05:47 -0600 Subject: [PATCH] Fix the issue where Apple TV metadata isn't returned for TV/Movies that Apple doesn't currently sell in the given region. --- Classes/MetadataImporters/AppleTV.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/MetadataImporters/AppleTV.swift b/Classes/MetadataImporters/AppleTV.swift index 8853383..1df54dc 100644 --- a/Classes/MetadataImporters/AppleTV.swift +++ b/Classes/MetadataImporters/AppleTV.swift @@ -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: "")