Skip to content

Lyric line order #483

@rpatters1

Description

@rpatters1

Since event-lyrics.lines is a dictionary with user defined keys, it is not possible to render them in the intended order unless lyrics-global.lineOrder is present. This is because JSON makes no guarantee about ordering of dictionaries. Indeed many serializers emit them in unpredictable order no matter what order one adds them in. I'm sure I don't need to remind anyone that the only JSON object that guarantees order is arrays.

In my opinion, lineOrder should be required if there is more than one lyric line anywhere in the document. Maybe even if there is any lyric line. Furthermore, if lineOrder is present it should be required to include any and every key that is used in event-lyrics.lines throughout the document. It should be both the ordering and the canonical list of lyric line keys.

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

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions