Samsung bookmark - go back to the beginning of the movie if less than 30 seconds was played.
This commit is contained in:
parent
cae3e880d2
commit
126f0f5cb8
@ -1924,6 +1924,10 @@ SamsungSetBookmark(struct upnphttp * h, const char * action)
|
||||
ParseNameValue(h->req_buf + h->req_contentoff, h->req_contentlen, &data, 0);
|
||||
ObjectID = GetValueFromNameValueList(&data, "ObjectID");
|
||||
PosSecond = GetValueFromNameValueList(&data, "PosSecond");
|
||||
|
||||
if ( atoi(PosSecond) < 30 )
|
||||
PosSecond = "0";
|
||||
|
||||
if( ObjectID && PosSecond )
|
||||
{
|
||||
int ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user