mopidy / mopidy-local-sqlite

DEPRECATED (Mopidy SQLite local library extension)
https://mopidy.com
Apache License 2.0
30 stars 10 forks source link

Sort Last Month's Updates by age #84

Closed mago0211 closed 5 years ago

mago0211 commented 7 years ago

Hi,

# top-level directories for browsing, as <name> <uri>
directories =
    Albums                  local:directory?type=album
    Artists                 local:directory?type=artist
    Composers               local:directory?type=artist&role=composer
    Genres                  local:directory?type=genre
    Performers              local:directory?type=artist&role=performer
    Release Years           local:directory?type=date&format=%25Y
    Tracks                  local:directory?type=track
    Last Week's Updates     local:directory?max-age=604800
    Last Month's Updates    local:directory?max-age=2592000

by default the order of "Last Month's Updates" is alphabetically. Is there a way to sorted by age (newest on Top) ?

Thanks in advance.

tkem commented 7 years ago

No, sorry. Specifying the sort order via URI parameters was considered but never implemented. Note, though, that Mopidy backends can only provide a default sort order, which may be ignored/overridden by clients anyway.