Skip to content

Create more robust playlists #13

@xyeres

Description

@xyeres

Right now the data model for a playlist is this:

document...
.... id
.... title
..... songs [
..........id1
..........id2
..........id3
]

but we need to move to a songs array that has maps inside, so that each item can contain more metadata:

songs [

 { order: 1, dateAdded: 3-3-2021, songId: 234234 }
 { order: 2, dateAdded: 3-3-2021, songId: 875234}
 { order: 3, dateAdded: 3-3-2021, songId: 243890 }

]

This will allow us better ordering and presentation in the UI

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