The MPD protocol supports the window parameter for searches, which will request a subset of the database to be returned. It uses a start and end parameter separated by a colon.
It would be convenient to make this default behavior, as in "Get number of songs from stats command" and split the request in chunks and finally merge the results.
This helps with large databases where search/find commands can cause a command_buffer-overflow.
What do you think?
The MPD protocol supports the
windowparameter for searches, which will request a subset of the database to be returned. It uses a start and end parameter separated by a colon.It would be convenient to make this default behavior, as in "Get number of songs from stats command" and split the request in chunks and finally merge the results.
This helps with large databases where search/find commands can cause a command_buffer-overflow.
What do you think?