* Only send Samsung bookmark info if it's a Samsung device. UPnP-Inspector can't handle it, so perhaps other devices will fail with it as well.
This commit is contained in:
parent
052aa2613a
commit
eb0278a905
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user