Skip to content

Local json library ignores "limit" and "offset" search parameters #917

@tkem

Description

@tkem

AFAICS, the local json library doesn't handle limit and offset when searching: https://github.com/mopidy/mopidy/blob/develop/mopidy/local/json.py#L160
This seems to be the reason that the json and sqlite libraries behave differently with regard to MPD's list artist, list album, etc. commands, which caused bug reports for Mopidy-Local-SQLite, which handles this correctly, I think: mopidy/mopidy-local-sqlite#45.
I suggest fixing this in the json library, so users may no longer believe this to be an SQLite-related issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions