Update 'media'

Anna Schumaker 2023-05-10 13:24:00 -04:00
parent ef28828f87
commit 2cf7848c25
1 changed files with 13 additions and 9 deletions

@ -17,12 +17,16 @@ The `media` table holds information for medium playlists.
### The `media_view`
The `media_view` joins the `media` table with the [[playlist_properties]] table so the application can use one query to access all the relevant state for each medium.
| Column | Description |
| --------------------------------- | -------------------------------------------------------- |
| mediumid | The mediumid of this medium |
| [propertyid](playlist_properties) | The rowid of the [[playlist_properties]] for this medium |
| [albumid](albums) | The albumid of this medium |
| number | The number of this medium |
| name | The name of this medium |
| type | The type of this medium |
| [active](playlist_properties) | The active state of this medium |
| Column | Description |
| -------------------------------------- | -------------------------------------------------------- |
| mediumid | The mediumid of this medium |
| [propertyid](playlist_properties) | The rowid of the [[playlist_properties]] for this medium |
| [albumid](albums) | The albumid of this medium |
| number | The number of this medium |
| name | The name of this medium |
| type | The type of this medium |
| [active](playlist_properties) | The active state of this medium |
| [loop](playlist_properties) | The loop state of this medium |
| [shuffle](playlist_properties) | The shuffle state of this medium |
| [sort_order](playlist_properties) | The sort order of this medium |
| [current_trackid](playlist_properties) | The current trackid of this medium |