clients: merge samsung Series C client id

A Samsung TV cannot be reliably detected by checking for "SEC_HHP_TV"
User Agent. Only the first part can be guaranteed, eg. "SEC_HHP_" as the rest
can be changed by the end user.

Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
Spencer Oliver 2013-12-05 21:42:00 +00:00 committed by Justin Maggard
parent ff76966a1c
commit e2c73f163d
3 changed files with 4 additions and 13 deletions

View File

@ -53,17 +53,9 @@ struct client_type_s client_types[] =
EXAVClientInfo
},
{ ESamsungSeriesCTV,
{ ESamsungSeriesCDE,
FLAG_SAMSUNG | FLAG_DLNA | FLAG_NO_RESIZE | FLAG_SAMSUNG_TV,
"Samsung Series C TV",
"SEC_HHP_TV",
EUserAgent
},
/* User-Agent: DLNADOC/1.50 SEC_HHP_BD-D5100/1.0 */
{ ESamsungSeriesC,
FLAG_SAMSUNG | FLAG_DLNA | FLAG_NO_RESIZE,
"Samsung Series C",
"Samsung Series C/D/E",
"SEC_HHP_",
EUserAgent
},

View File

@ -61,8 +61,7 @@ enum client_types {
ERokuSoundBridge,
ESamsungSeriesA,
ESamsungSeriesB,
ESamsungSeriesC,
ESamsungSeriesCTV,
ESamsungSeriesCDE,
ESonyBDP,
ESonyBravia,
ESonyInternetTV,

View File

@ -948,7 +948,7 @@ callback(void *args, int argc, char **argv, char **azColName)
free(alt_title);
}
break;
case ESamsungSeriesC:
case ESamsungSeriesCDE:
default:
if( passed_args->filter & FILTER_SEC_CAPTION_INFO_EX )
{