mirror of
https://github.com/owntone/owntone-server.git
synced 2025-05-22 10:01:53 -04:00
fix daap query error for media kind 32
This commit is contained in:
parent
46374276ad
commit
44b6a52669
@ -261,8 +261,13 @@ expr returns [ pANTLR3_STRING result, int valid ]
|
|||||||
|| strcmp((char *)field, "com.apple.itunes.extended-media-kind") == 0))
|
|| strcmp((char *)field, "com.apple.itunes.extended-media-kind") == 0))
|
||||||
{
|
{
|
||||||
DPRINTF(E_DBG, L_DAAP, "Ignoring clause '\%s\%s\%c\%s'\n", field, (neg_op) ? "!" : "", op, val);
|
DPRINTF(E_DBG, L_DAAP, "Ignoring clause '\%s\%s\%c\%s'\n", field, (neg_op) ? "!" : "", op, val);
|
||||||
$valid = 0;
|
|
||||||
goto STR_result_valid_0;
|
if (neg_op)
|
||||||
|
$result->append8($result, "1 = 1");
|
||||||
|
else
|
||||||
|
$result->append8($result, "1 = 0");
|
||||||
|
|
||||||
|
goto STR_out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* String field: escape string, check for '*' */
|
/* String field: escape string, check for '*' */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user