upnpsoap: Fix external subtitles on Samsung Series J.
Add FLAG_CAPTION_RES to the modern Samsung profile. Older Samsung devices used a custom method for describing subtitles, but apparently Series J no longer supports it. The good thing is, they now support the more standard method (and probably have been for a while, since it works on my old Series D BDP). So let's just expose both methods to the client, since everything should be able to handle it. Fixes: SF bug #113 (Subtitles support for new 2015 Samsung J series TV)
This commit is contained in:
@ -1064,7 +1064,7 @@ callback(void *args, int argc, char **argv, char **azColName)
|
||||
"http://%s:%d/Captions/%s.srt"
|
||||
"</res>",
|
||||
lan_addr[passed_args->iface].str, runtime_vars.port, detailID);
|
||||
else if( passed_args->filter & FILTER_SEC_CAPTION_INFO_EX )
|
||||
if( passed_args->filter & FILTER_SEC_CAPTION_INFO_EX )
|
||||
ret = strcatf(str, "<sec:CaptionInfoEx sec:type=\"srt\">"
|
||||
"http://%s:%d/Captions/%s.srt"
|
||||
"</sec:CaptionInfoEx>",
|
||||
|
Reference in New Issue
Block a user