Update 'playlist_properties'

Anna Schumaker 2023-05-10 13:06:41 -04:00
parent 4f23df0198
commit c08bb17ab6
1 changed files with 8 additions and 4 deletions

@ -1,10 +1,14 @@
The `playlist_properties` table holds variables and state that all Playlists have. The `playlists_active_trigger` is used to enforce only one active playlist at a time.
### Columns
| Name | Type | Description |
| ---------- | ------- | ----------------------------------------- |
| propertyid | INTEGER | The unique id of a single playlist |
| active | BOOLEAN | The current active status of the playlist |
| Name | Type | Default | Description |
| ------------------------- | ------- | ------- | ------------------------------------------------------------------------ |
| propertyid | INTEGER | | The unique id of a single playlist |
| active | BOOLEAN | FALSE | The current active status of the playlist |
| loop | STRING | "None" | The current loop status of the playlist ("None", "Track", or "Playlist") |
| shuffle | BOOLEAN | FALSE | The current shuffle status of the playlist |
| sort_order | STRING | "" | The current sort order of the playlist |
| [current_trackid](tracks) | INTEGER | NULL | The trackid of the playlist's current track |
### Triggers