Skip to content

smartplaylist: Respect sort terms in queries #1137

@djl

Description

@djl

It would be nice to be able sort items in smart playlists, like so:

smartplaylist:
  relative_to: ~/music
  playlist_dir: ~/.mpd/playlists
  playlists:
    - name: '2014.m3u'
      query: 'year:2014 added+'
    - name: 'imported-%time{$added,%Y-%m}.m3u'
      query: "added:: path+"

I'm unfamiliar with the code but it looks like the smartplaylist plugin discards the query sort field when building playlists. Would it be possible to keep the custom sort?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbugs that are confirmed and actionable

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions