db/proxy: fall back to recursive walk on old libmpdclient/MPD
Error message was 'too few arguments for "find"' because the "base" constraint was not supported, and no other constraints remained.
This commit is contained in:
@@ -109,6 +109,11 @@ public:
|
||||
return items;
|
||||
}
|
||||
|
||||
gcc_pure
|
||||
bool IsEmpty() const {
|
||||
return items.empty();
|
||||
}
|
||||
|
||||
/**
|
||||
* Is there at least one item with "fold case" enabled?
|
||||
*/
|
||||
@@ -121,6 +126,12 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Does this filter contain constraints other than "base"?
|
||||
*/
|
||||
gcc_pure
|
||||
bool HasOtherThanBase() const;
|
||||
|
||||
/**
|
||||
* Returns the "base" specification (if there is one) or an
|
||||
* empty string.
|
||||
|
Reference in New Issue
Block a user