mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-03 09:56:00 -05:00
Identify "android" user-agent as a remote client in transcode_needed()
(similar to the check in user_agent_filter())
This commit is contained in:
parent
a7ee8483b4
commit
7889d92a81
@ -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