From 506959985bc43da6dfdf0817452c6f36b815a29f Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Sat, 26 Dec 2020 12:56:40 +0100 Subject: [PATCH] [xcode] Treat Apple Music like iTunes (closes #1152) --- src/transcode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/transcode.c b/src/transcode.c index 64368efe..e48c72d7 100644 --- a/src/transcode.c +++ b/src/transcode.c @@ -1465,6 +1465,8 @@ transcode_needed(const char *user_agent, const char *client_codecs, char *file_c { if (strncmp(user_agent, "iTunes", strlen("iTunes")) == 0) client_codecs = itunes_codecs; + else if (strncmp(user_agent, "Music/", strlen("Music/")) == 0) // Apple Music, include slash because the name is generic + client_codecs = itunes_codecs; else if (strncmp(user_agent, "QuickTime", strlen("QuickTime")) == 0) client_codecs = itunes_codecs; // Use iTunes codecs else if (strncmp(user_agent, "Front%20Row", strlen("Front%20Row")) == 0)