Better Searching #7
Labels
No Label
bug
cleanup
feature
help wanted
question
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Blocks
Depends on
#10 Move TUI code into seperate file
erin/xenmotif
#1 List Artists, Albums, and Songs
erin/xenmotif
Reference: erin/xenmotif#7
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Right now the search is implemented using MPD's native search() function. This works [citation needed], but has some limitations.
My idea is to query MPD once at startup, and maybe every couple of minutes or something, then store all the info - either in-memory (hashbrown,phf,BTreeMap), or in a sled database.
I can then implement custom search functions (using libraries such as indicium) for this, that have custom API's built for my use cases. It will also be much faster, and put less load on the server.
I'll also try and implement serde (de)-serialization.