mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-24 13:13:17 -05:00
Add supported codec list for Front Row and QuickTime
Patch from Ace Jones <ace.jones1@yahoo.com>.
This commit is contained in:
parent
38c502cb7e
commit
df2cbea9b2
@ -540,6 +540,18 @@ transcode_needed(struct evkeyvalq *headers, char *file_codectype)
|
||||
{
|
||||
DPRINTF(E_DBG, L_XCODE, "Client is iTunes\n");
|
||||
|
||||
client_codecs = itunes_codecs;
|
||||
}
|
||||
else if (strncmp(user_agent, "QuickTime", strlen("QuickTime")) == 0)
|
||||
{
|
||||
DPRINTF(E_DBG, L_XCODE, "Client is QuickTime, using iTunes codecs\n");
|
||||
|
||||
client_codecs = itunes_codecs;
|
||||
}
|
||||
else if (strncmp(user_agent, "Front%20Row", strlen("Front%20Row")) == 0)
|
||||
{
|
||||
DPRINTF(E_DBG, L_XCODE, "Client is Front Row, using iTunes codecs\n");
|
||||
|
||||
client_codecs = itunes_codecs;
|
||||
}
|
||||
else if (strncmp(user_agent, "Roku", strlen("Roku")) == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user