diff --git a/upnpsoap.c b/upnpsoap.c index 03b0de6..33aeb0f 100644 --- a/upnpsoap.c +++ b/upnpsoap.c @@ -756,7 +756,7 @@ callback(void *args, int argc, char **argv, char **azColName) if( date && (passed_args->filter & FILTER_DC_DATE) ) { ret = strcatf(str, "<dc:date>%s</dc:date>", date); } - if( passed_args->filter & FILTER_SEC_CAPTION_INFO_EX) { + if( (passed_args->flags & FLAG_SAMSUNG) && (passed_args->filter & FILTER_SEC_CAPTION_INFO_EX) ) { /* Get bookmark */ ret = strcatf(str, "<sec:dcmInfo>CREATIONDATE=0,FOLDER=%s,BM=%d</sec:dcmInfo>", title, sql_get_int_field(db, "SELECT SEC from BOOKMARKS where ID = '%s'", detailID));