Skip to content

Querying multiple MPD instances at once and displaying results in a common user interface view #2029

Answered by MaxKellermann
m7a asked this question in Q&A
Discussion options

You must be logged in to vote

General rule: at any given time, you should only query the part of the MPD database that is needed. If you have a million songs, it never makes sense to query all the tags from a million songs - you can't display them anyway.
If you do display many songs, query only the tags that you will use for that display; use the tagtypes command to tell MPD to omit tag values from the response that your client will never show.
If you don't actually want to display a list of songs, but a list of artists, don't use the find command but instead list artist. Let the server aggregate the result for you.

I am currently thinking about how to implement a list of all songs across all of the servers sorted b…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@m7a
Comment options

Answer selected by m7a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants