Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Local json library ignores "limit" and "offset" search parameters #917
AFAICS, the local
Looking at it, the limit and offset parameters are not passed through from anywhere, and they default to very low. So they either:
and probably should also be not so low as default (or perhaps should be disabled as default)
Until that is fixed, there is no way to list more than 100 albums with mopidy-local-sqlite. If this limit is enabled in json, then that breaks also. It's also a pain to implement because of the way that json does search. The json backend really needs retiring.
It's shows up most obviously in part because of
which means that the list [blah] commands all completely fail to work in mopidy-local-sqlite once you have >100 songs, but even if album listing is implemented, I expect people won't be happy if it fails for anyone who has >100 albums.
referenced this issue
Jan 26, 2015
Three options I'm considering:
I'm uncertain about both option 3 and paginating local libraries, especially if these parameters are unused.