Skip to content

Fully document playlist format #59

@ssssam

Description

@ssssam

We should have human-readable documentation of the playlist format.

We should also have a way of automatically validating a playlist.

So far the format is as follows:

  • 'track' entries are 'normal'
  • 'album' or 'artist' entries can also exist, as a useful shorthand
  • standard keys don't contain a '.'; tool-specific keys do

Some points to consider:

  • using '.' in key names doesn't play well with jq
  • at one point I thought it was a good idea to have multiple tracks inside a single toplevel item. cpe tracker local-albums still does this (cpe tracker show: Allow showing flat list of artists, tracks or albums #17 should fix that). Since we switched to the json-seq format, it's become obvious that nesting multiple tracks inside of one toplevel json object will negate the benefits of that format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions