Merge /u/kolbyjack/minidlna/ branch add-cling-client-detection into master

https://sourceforge.net/p/minidlna/git/merge-requests/34/
This commit is contained in:
b'Justin Maggard 2022-02-11 16:51:03 +00:00
commit abfb21ed22
2 changed files with 8 additions and 0 deletions

View File

@ -54,6 +54,13 @@ struct client_type_s client_types[] =
EXAVClientInfo EXAVClientInfo
}, },
{ ECling,
FLAG_MS_PFS,
"Cling",
"Cling/",
EUserAgent
},
/* User-Agent: DLNADOC/1.50 SEC_HHP_[PC]LPC001/1.0 MS-DeviceCaps/1024 */ /* User-Agent: DLNADOC/1.50 SEC_HHP_[PC]LPC001/1.0 MS-DeviceCaps/1024 */
/* This is AllShare running on a PC. We don't want to respond with Samsung /* This is AllShare running on a PC. We don't want to respond with Samsung
* capabilities, or Windows (and AllShare) might get grumpy. */ * capabilities, or Windows (and AllShare) might get grumpy. */

View File

@ -56,6 +56,7 @@ enum match_types {
enum client_types { enum client_types {
EXbox = 1, EXbox = 1,
EPS3, EPS3,
ECling,
EDenonReceiver, EDenonReceiver,
EDirecTV, EDirecTV,
EFreeBox, EFreeBox,