Merge branch 'master' into ldap_auth

This commit is contained in:
Daniel
2023-11-11 17:12:27 -08:00
committed by GitHub
15 changed files with 393 additions and 199 deletions

No files matched your search

+26 -22
View File
@@ -9,15 +9,18 @@ import (
func NewAlbumByTags(a *db.Album, artists []*db.Artist) *Album {
ret := &Album{
Created: a.CreatedAt,
ID: a.SID(),
Created: a.CreatedAt,
Artists: []*ArtistRef{},
DisplayArtist: a.TagAlbumArtist,
Title: a.TagTitle,
Album: a.TagTitle,
Name: a.TagTitle,
Title: a.TagTitle,
Year: a.TagYear,
TrackCount: a.ChildCount,
Duration: a.Duration,
DisplayArtist: a.TagAlbumArtist,
Genres: []*GenreRef{},
Year: a.TagYear,
Tracks: []*TrackChild{},
AverageRating: formatRating(a.AverageRating),
}
if a.Cover != "" {
@@ -54,29 +57,29 @@ func NewAlbumByTags(a *db.Album, artists []*db.Artist) *Album {
func NewTrackByTags(t *db.Track, album *db.Album) *TrackChild {
ret := &TrackChild{
ID: t.SID(),
ContentType: t.MIME(),
Suffix: formatExt(t.Ext()),
ParentID: t.AlbumSID(),
CreatedAt: t.CreatedAt,
Size: t.Size,
Title: t.TagTitle,
Album: album.TagTitle,
AlbumID: album.SID(),
Artist: t.TagTrackArtist,
Artists: []*ArtistRef{},
DisplayArtist: t.TagTrackArtist,
AlbumArtists: []*ArtistRef{},
AlbumDisplayArtist: album.TagAlbumArtist,
Bitrate: t.Bitrate,
ContentType: t.MIME(),
CreatedAt: t.CreatedAt,
Duration: t.Length,
Genres: []*GenreRef{},
ParentID: t.AlbumSID(),
Path: filepath.Join(album.LeftPath, album.RightPath, t.Filename),
Size: t.Size,
Suffix: formatExt(t.Ext()),
Title: t.TagTitle,
TrackNumber: t.TagTrackNumber,
DiscNumber: t.TagDiscNumber,
Path: filepath.Join(
album.LeftPath,
album.RightPath,
t.Filename,
),
Album: album.TagTitle,
AlbumID: album.SID(),
Duration: t.Length,
Bitrate: t.Bitrate,
Type: "music",
Year: album.TagYear,
AverageRating: formatRating(t.AverageRating),
Type: "music",
Year: album.TagYear,
AverageRating: formatRating(t.AverageRating),
TranscodeMeta: TranscodeMeta{},
}
if album.Cover != "" {
ret.CoverID = album.SID()
@@ -113,6 +116,7 @@ func NewArtistByTags(a *db.Artist) *Artist {
ID: a.SID(),
Name: a.Name,
AlbumCount: a.AlbumCount,
Albums: []*Album{},
AverageRating: formatRating(a.AverageRating),
}
if a.Info != nil && a.Info.ImageURL != "" {
+9 -9
View File
@@ -127,10 +127,10 @@ type Album struct {
// legacy or single tag mode
ArtistID *specid.ID `xml:"artistId,attr,omitempty" json:"artistId,omitempty"`
Artist string `xml:"artist,attr,omitempty" json:"artist,omitempty"`
Artist string `xml:"artist,attr" json:"artist"`
Artists []*ArtistRef `xml:"artists,omitempty" json:"artists,omitempty"`
DisplayArtist string `xml:"diplayArtist,attr,omitempty" json:"displayArtist,omitempty"`
Artists []*ArtistRef `xml:"artists" json:"artists"`
DisplayArtist string `xml:"diplayArtist,attr" json:"displayArtist"`
// folder stuff
Title string `xml:"title,attr,omitempty" json:"title"`
@@ -173,14 +173,14 @@ type TrackChild struct {
AlbumID *specid.ID `xml:"albumId,attr,omitempty" json:"albumId,omitempty"`
// legacy or single tag mode
Artist string `xml:"artist,attr,omitempty" json:"artist,omitempty"`
ArtistID *specid.ID `xml:"artistId,attr,omitempty" json:"artistId,omitempty"`
Artist string `xml:"artist,attr" json:"artist"`
ArtistID *specid.ID `xml:"artistId,attr,omitempty" json:"artistId,omitempty"`
Artists []*ArtistRef `xml:"artists,omitempty" json:"artists,omitempty"`
DisplayArtist string `xml:"diplayArtist,attr,omitempty" json:"displayArtist,omitempty"`
Artists []*ArtistRef `xml:"artists" json:"artists"`
DisplayArtist string `xml:"diplayArtist,attr" json:"displayArtist"`
AlbumArtists []*ArtistRef `xml:"albumArtists,omitempty" json:"albumArtists,omitempty"`
AlbumDisplayArtist string `xml:"diplayAlbumArtist,attr,omitempty" json:"displayAlbumArtist,omitempty"`
AlbumArtists []*ArtistRef `xml:"albumArtists" json:"albumArtists"`
AlbumDisplayArtist string `xml:"diplayAlbumArtist,attr" json:"displayAlbumArtist"`
Bitrate int `xml:"bitRate,attr,omitempty" json:"bitRate,omitempty"`
ContentType string `xml:"contentType,attr,omitempty" json:"contentType,omitempty"`
@@ -11,6 +11,8 @@
"id": "al-3",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-2",
@@ -24,6 +26,8 @@
"id": "al-4",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-2",
@@ -37,6 +41,8 @@
"id": "al-5",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-2",
@@ -50,6 +56,8 @@
"id": "al-7",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-6",
@@ -63,6 +71,8 @@
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-6",
@@ -76,6 +86,8 @@
"id": "al-9",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-6",
@@ -89,6 +101,8 @@
"id": "al-11",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-10",
@@ -102,6 +116,8 @@
"id": "al-12",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-10",
@@ -115,6 +131,8 @@
"id": "al-13",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-10",
@@ -11,6 +11,8 @@
"id": "al-3",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-2",
@@ -24,6 +26,8 @@
"id": "al-7",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-6",
@@ -37,6 +41,8 @@
"id": "al-11",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-10",
@@ -50,6 +56,8 @@
"id": "al-4",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-2",
@@ -63,6 +71,8 @@
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-6",
@@ -76,6 +86,8 @@
"id": "al-12",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-10",
@@ -89,6 +101,8 @@
"id": "al-5",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-2",
@@ -102,6 +116,8 @@
"id": "al-9",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-6",
@@ -115,6 +131,8 @@
"id": "al-13",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-10",
+18
View File
@@ -11,6 +11,8 @@
"id": "al-3",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-2",
@@ -24,6 +26,8 @@
"id": "al-4",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-2",
@@ -37,6 +41,8 @@
"id": "al-5",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-2",
@@ -50,6 +56,8 @@
"id": "al-7",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-6",
@@ -63,6 +71,8 @@
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-6",
@@ -76,6 +86,8 @@
"id": "al-9",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-6",
@@ -89,6 +101,8 @@
"id": "al-11",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-10",
@@ -102,6 +116,8 @@
"id": "al-12",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-10",
@@ -115,6 +131,8 @@
"id": "al-13",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-10",
+74 -56
View File
@@ -11,6 +11,8 @@
"id": "al-4",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-2",
@@ -20,10 +22,72 @@
"songCount": 3,
"duration": 300
},
{
"id": "al-3",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-2",
"isDir": true,
"coverArt": "al-3",
"name": "album-0",
"songCount": 3,
"duration": 300
},
{
"id": "al-12",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-10",
"isDir": true,
"coverArt": "al-12",
"name": "album-1",
"songCount": 3,
"duration": 300
},
{
"id": "al-5",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-2",
"isDir": true,
"coverArt": "al-5",
"name": "album-2",
"songCount": 3,
"duration": 300
},
{
"id": "al-13",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-10",
"isDir": true,
"coverArt": "al-13",
"name": "album-2",
"songCount": 3,
"duration": 300
},
{
"id": "al-11",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-10",
@@ -37,6 +101,8 @@
"id": "al-7",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-0",
"album": "album-0",
"parent": "al-6",
@@ -46,23 +112,12 @@
"songCount": 3,
"duration": 300
},
{
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"title": "album-1",
"album": "album-1",
"parent": "al-6",
"isDir": true,
"coverArt": "al-8",
"name": "album-1",
"songCount": 3,
"duration": 300
},
{
"id": "al-9",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-2",
"album": "album-2",
"parent": "al-6",
@@ -73,53 +128,16 @@
"duration": 300
},
{
"id": "al-13",
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"title": "album-2",
"album": "album-2",
"parent": "al-10",
"isDir": true,
"coverArt": "al-13",
"name": "album-2",
"songCount": 3,
"duration": 300
},
{
"id": "al-3",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"title": "album-0",
"album": "album-0",
"parent": "al-2",
"isDir": true,
"coverArt": "al-3",
"name": "album-0",
"songCount": 3,
"duration": 300
},
{
"id": "al-5",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-0",
"title": "album-2",
"album": "album-2",
"parent": "al-2",
"isDir": true,
"coverArt": "al-5",
"name": "album-2",
"songCount": 3,
"duration": 300
},
{
"id": "al-12",
"created": "2019-11-30T00:00:00Z",
"artist": "artist-2",
"artist": "artist-1",
"artists": null,
"displayArtist": "",
"title": "album-1",
"album": "album-1",
"parent": "al-10",
"parent": "al-6",
"isDir": true,
"coverArt": "al-12",
"coverArt": "al-8",
"name": "album-1",
"songCount": 3,
"duration": 300
+66 -66
View File
@@ -8,15 +8,60 @@
"albumList2": {
"album": [
{
"id": "al-5",
"id": "al-12",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-1",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "artist-0",
"artistId": "ar-3",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "artist-2",
"title": "album-1",
"album": "album-1",
"coverArt": "al-12",
"name": "album-1",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-11",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-3",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "artist-2",
"title": "album-0",
"album": "album-0",
"coverArt": "al-11",
"name": "album-0",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-13",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-3",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "artist-2",
"title": "album-2",
"album": "album-2",
"coverArt": "al-5",
"coverArt": "al-13",
"name": "album-2",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-9",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "artist-1",
"title": "album-2",
"album": "album-2",
"coverArt": "al-9",
"name": "album-2",
"songCount": 3,
"duration": 300,
@@ -53,65 +98,20 @@
"year": 2021
},
{
"id": "al-12",
"id": "al-5",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-3",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "artist-2",
"title": "album-1",
"album": "album-1",
"coverArt": "al-12",
"name": "album-1",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-9",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "artist-1",
"artistId": "ar-1",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "artist-0",
"title": "album-2",
"album": "album-2",
"coverArt": "al-9",
"coverArt": "al-5",
"name": "album-2",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "artist-1",
"title": "album-1",
"album": "album-1",
"coverArt": "al-8",
"name": "album-1",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-11",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-3",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "artist-2",
"title": "album-0",
"album": "album-0",
"coverArt": "al-11",
"name": "album-0",
"songCount": 3,
"duration": 300,
"year": 2021
},
{
"id": "al-3",
"created": "2019-11-30T00:00:00Z",
@@ -128,16 +128,16 @@
"year": 2021
},
{
"id": "al-13",
"id": "al-8",
"created": "2019-11-30T00:00:00Z",
"artistId": "ar-3",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "artist-2",
"title": "album-2",
"album": "album-2",
"coverArt": "al-13",
"name": "album-2",
"artistId": "ar-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "artist-1",
"title": "album-1",
"album": "album-1",
"coverArt": "al-8",
"name": "album-1",
"songCount": 3,
"duration": 300,
"year": 2021
@@ -8,6 +8,9 @@
"album": {
"id": "al-2",
"created": "2019-11-30T00:00:00Z",
"artist": "",
"artists": [],
"displayArtist": "",
"title": "",
"album": "",
"name": "",
@@ -15,6 +15,9 @@
"album": "album-0",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-3",
@@ -36,6 +39,9 @@
"album": "album-0",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-3",
@@ -57,6 +63,9 @@
"album": "album-0",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-3",
@@ -12,6 +12,11 @@
"child": [
{
"id": "al-3",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -21,6 +26,11 @@
},
{
"id": "al-4",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-4",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -30,6 +40,11 @@
},
{
"id": "al-5",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-5",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
+45
View File
@@ -9,6 +9,11 @@
"album": [
{
"id": "al-3",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-3",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -18,6 +23,11 @@
},
{
"id": "al-4",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-4",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -27,6 +37,11 @@
},
{
"id": "al-5",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-5",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -36,6 +51,11 @@
},
{
"id": "al-7",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-7",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -45,6 +65,11 @@
},
{
"id": "al-8",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-8",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -54,6 +79,11 @@
},
{
"id": "al-9",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-9",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -63,6 +93,11 @@
},
{
"id": "al-11",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-11",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -72,6 +107,11 @@
},
{
"id": "al-12",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-12",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
@@ -81,6 +121,11 @@
},
{
"id": "al-13",
"artist": "",
"artists": null,
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"coverArt": "al-13",
"created": "2019-11-30T00:00:00Z",
"isDir": true,
+60
View File
@@ -12,6 +12,9 @@
"album": "album-0",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-3",
@@ -33,6 +36,9 @@
"album": "album-0",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-3",
@@ -54,6 +60,9 @@
"album": "album-0",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-3",
@@ -75,6 +84,9 @@
"album": "album-1",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-4",
@@ -96,6 +108,9 @@
"album": "album-1",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-4",
@@ -117,6 +132,9 @@
"album": "album-1",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-4",
@@ -138,6 +156,9 @@
"album": "album-2",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-5",
@@ -159,6 +180,9 @@
"album": "album-2",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-5",
@@ -180,6 +204,9 @@
"album": "album-2",
"artist": "artist-0",
"artists": [{ "id": "ar-1", "name": "artist-0" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-5",
@@ -201,6 +228,9 @@
"album": "album-0",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-7",
@@ -222,6 +252,9 @@
"album": "album-0",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-7",
@@ -243,6 +276,9 @@
"album": "album-0",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-7",
@@ -264,6 +300,9 @@
"album": "album-1",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-8",
@@ -285,6 +324,9 @@
"album": "album-1",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-8",
@@ -306,6 +348,9 @@
"album": "album-1",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-8",
@@ -327,6 +372,9 @@
"album": "album-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-9",
@@ -348,6 +396,9 @@
"album": "album-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-9",
@@ -369,6 +420,9 @@
"album": "album-2",
"artist": "artist-1",
"artists": [{ "id": "ar-2", "name": "artist-1" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-9",
@@ -390,6 +444,9 @@
"album": "album-0",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-11",
@@ -411,6 +468,9 @@
"album": "album-0",
"artist": "artist-2",
"artists": [{ "id": "ar-3", "name": "artist-2" }],
"displayArtist": "",
"albumArtists": null,
"displayAlbumArtist": "",
"bitRate": 100,
"contentType": "audio/flac",
"coverArt": "al-11",