{ "views": [ { "id": "songs", "label": "Songs", "visibility": "owner", "is_default": true, "read": { "table": "track" }, "sort": { "column": "title", "descending": false } }, { "id": "albums", "label": "Albums", "visibility": "owner", "is_default": false, "read": { "table": "music_album" }, "sort": { "column": "title", "descending": false } }, { "id": "artists", "label": "Artists", "visibility": "owner", "is_default": false, "read": { "table": "artist" }, "sort": { "column": "name", "descending": false } }, { "id": "playlists", "label": "Playlists", "visibility": "owner", "is_default": false, "read": { "table": "playlist" }, "sort": { "column": "name", "descending": false } } ], "id": "music", "name": "Music", "purpose": "Songs you keep as files, with their albums, artists and playlists.", "picture": { "photo": "photo:9490003d684898fc103fb5ca73bfef1156c94bc6a8a7a6286b65d014df57ec3e" }, "card_stock": "rose", "tables": [ "track", "music_album", "artist", "playlist", "playlist_track" ], "instructions": "Music is the songs the person keeps as files, with their albums, artists and playlists, and their Spotify library once they connect Spotify. It plays files only: a song's recording is an audio file kept in this database, never a stream or a service; a song from Spotify has no file and names itself by spotify_uri. To add a song, create a track with at least its title; link its artist and album when the person names them, creating the artist or album first if it is not there. A playlist's songs are playlist_track rows, each linking the playlist and one track with its position. listen rows are what the person played on Spotify, written by the Spotify pull and the history import, never by hand. Never guess an artist, an album, a year or a length; ask.", "automations": [], "acts": [ { "id": "spotify_connect", "label": "Connect Spotify" }, { "id": "spotify_disconnect", "label": "Disconnect Spotify", "asks": true } ], "author": { "device": "cotton", "name": "Cotton" }, "signature": null }