Search
Comparer les modifications
Fichiers
11+ 2
− 4
@@ -70,10 +70,8 @@ enum lkt_find_action {
Implement search functions with lkt to be able to query the database. Also closes #24 (closed)
To do this, we will make changes in lektord and lkt:
continue
statement as it is specified latter.The client can send an integer from the continue: <integer > 0>
before a command to continue where lektord left.
This integer must have been send by lektord previously. When lektord sends incomplete results for a command, it ends its transition with:
continue: <integer > 0>
OK/ACK
If the status is ACK
, the client must ignore the continue
statement, otherwise it can use this integer only once, because its signification can change.
Most of the time it will be an offset to pass to a sqlite query but can be anything else.
Note that the server can send multiple times the same integer.
playlist 20
continue: 14
14 playlist 20