mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
[xcode] Treat Apple Music like iTunes (closes #1152)
This commit is contained in:
parent
14756c0d59
commit
506959985b
@ -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)
|
if (strncmp(user_agent, "iTunes", strlen("iTunes")) == 0)
|
||||||
client_codecs = itunes_codecs;
|
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)
|
else if (strncmp(user_agent, "QuickTime", strlen("QuickTime")) == 0)
|
||||||
client_codecs = itunes_codecs; // Use iTunes codecs
|
client_codecs = itunes_codecs; // Use iTunes codecs
|
||||||
else if (strncmp(user_agent, "Front%20Row", strlen("Front%20Row")) == 0)
|
else if (strncmp(user_agent, "Front%20Row", strlen("Front%20Row")) == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user