Skip to content

Commit ca77c1b

Browse files
committed
Update ampache.py
1 parent 1739932 commit ca77c1b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/ampache.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2200,14 +2200,15 @@ def search(self, rules, operator='and', object_type='song', offset=0, limit=0, r
22002200

22012201
def search_group(self, rules,
22022202
operator='and', object_type='all', offset=0, limit=0, random=0):
2203-
""" advanced_search
2204-
MINIMUM_API_VERSION=380001
2203+
""" search_group
2204+
MINIMUM_API_VERSION=6.3.0
22052205
2206-
Perform an advanced search given passed rules
2207-
the rules can occur multiple times and are joined by the operator item.
2206+
Perform a search given passed rules and return matching objects in a group.
2207+
If the rules to not exist for the object type or would return the entire table they will not return objects
22082208
2209-
Refer to the wiki for further information
2210-
http://ampache.org/api/api-advanced-search
2209+
Refer to the wiki for further information on rule_* types and data
2210+
https://ampache.org/api/api-xml-methods
2211+
https://ampache.org/api/api-json-methods
22112212
22122213
INPUTS
22132214
* rules = (array) = [[rule_1,rule_1_operator,rule_1_input],[rule_2,rule_2_operator,rule_2_input],[etc]]

0 commit comments

Comments
 (0)