Samsung bookmark - go back to the beginning of the movie if less than 30 seconds was played.

This commit is contained in:
Eduardo Rocha 2014-09-14 14:11:51 -03:00 committed by Justin Maggard
parent cae3e880d2
commit 126f0f5cb8

View File

@ -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;