mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-25 15:04:18 -04:00
Merge pull request #76 from chme/transcode
Identify "android" user-agent as a remote client in transcode_needed()
This commit is contained in:
commit
ea2938f54d
@ -779,6 +779,8 @@ transcode_needed(const char *user_agent, const char *client_codecs, char *file_c
|
||||
// If client is a Remote we will AirPlay, which means we will transcode to PCM
|
||||
if (user_agent && strcasestr(user_agent, "remote"))
|
||||
return 1;
|
||||
else if (user_agent && strcasestr(user_agent, "android"))
|
||||
return 1;
|
||||
|
||||
if (!file_codectype)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user