mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 20:11:10 +00:00
Extends the music library listings with covers, sorting and alpha filtering.
This commit is contained in:
1 parent
0019821e87
commit
9d82f283e4
69 files changed
+3613
-268
No files matched your search
@@ -17,6 +17,9 @@
|
||||
- [Update Album](#update-album)
|
||||
- [Update Album Request](#update-album-request)
|
||||
- [Update Album Response](#update-album-response)
|
||||
- [Update Album Cover](#update-album-cover)
|
||||
- [Update Album Cover Request](#update-album-cover-request)
|
||||
- [Update Album Cover Response](#update-album-cover-response)
|
||||
- [Delete Album](#delete-album)
|
||||
- [Get Album Tracks](#get-album-tracks)
|
||||
- [Get Album Tracks Request](#get-album-tracks-request)
|
||||
@@ -41,12 +44,12 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"title": "A Night at the Opera",
|
||||
"originalTitle": "A Night at the Opera",
|
||||
"description": "The fourth studio album by the British rock band Queen, released in 1975. It was the most expensive album ever recorded at the time of its release.",
|
||||
"disambiguation": null,
|
||||
"disambiguation": "original release",
|
||||
"releaseInfo": {
|
||||
"originalReleaseDate": "1975-11-21",
|
||||
"originalReleaseYear": 1975,
|
||||
"reReleaseDate": null,
|
||||
"reReleaseYear": null,
|
||||
"reReleaseDate": "2011-11-21",
|
||||
"reReleaseYear": 2011,
|
||||
"releaseCountry": "GB",
|
||||
"releaseVersion": "Remastered"
|
||||
},
|
||||
@@ -109,12 +112,12 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"title": "Bohemian Rhapsody",
|
||||
"originalTitle": "Bohemian Rhapsody",
|
||||
"description": "A song by the British rock band Queen. It was written by Freddie Mercury and originally released on the album A Night at the Opera in 1975.",
|
||||
"disambiguation": null,
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": {
|
||||
"originalReleaseDate": "1975-10-31",
|
||||
"originalReleaseYear": 1975,
|
||||
"reReleaseDate": null,
|
||||
"reReleaseYear": null,
|
||||
"reReleaseDate": "2011-11-21",
|
||||
"reReleaseYear": 2011,
|
||||
"releaseCountry": "GB",
|
||||
"releaseVersion": "Original"
|
||||
},
|
||||
@@ -161,7 +164,7 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": []
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
|
||||
"musicBrainzTrackId": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
|
||||
@@ -197,12 +200,12 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"title": "You're My Best Friend",
|
||||
"originalTitle": "You're My Best Friend",
|
||||
"description": "A song by the British rock band Queen, written by bass guitarist John Deacon. It was originally released on the album A Night at the Opera in 1975 and as a single in 1976.",
|
||||
"disambiguation": null,
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": {
|
||||
"originalReleaseDate": "1976-06-18",
|
||||
"originalReleaseYear": 1976,
|
||||
"reReleaseDate": null,
|
||||
"reReleaseYear": null,
|
||||
"reReleaseDate": "2011-11-21",
|
||||
"reReleaseYear": 2011,
|
||||
"releaseCountry": "GB",
|
||||
"releaseVersion": "Original"
|
||||
},
|
||||
@@ -231,11 +234,11 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"bitDepth": 16,
|
||||
"audioCodec": "FLAC",
|
||||
"bitrate": 912,
|
||||
"acoustId": null,
|
||||
"replayGainTrackGain": null,
|
||||
"replayGainTrackPeak": null,
|
||||
"replayGainAlbumGain": null,
|
||||
"replayGainAlbumPeak": null
|
||||
"acoustId": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
|
||||
"replayGainTrackGain": -7.2,
|
||||
"replayGainTrackPeak": 0.9812,
|
||||
"replayGainAlbumGain": -6.5,
|
||||
"replayGainAlbumPeak": 0.9987
|
||||
},
|
||||
"trackNumber": 7,
|
||||
"discNumber": 1,
|
||||
@@ -249,7 +252,7 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": []
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "0f3e4d5c-6b7a-4f8e-9d0c-1b2a3c4d5e6f",
|
||||
"musicBrainzTrackId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
|
||||
@@ -298,12 +301,12 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"title": "A Night at the Opera",
|
||||
"originalTitle": "A Night at the Opera",
|
||||
"description": "The fourth studio album by the British rock band Queen, released in 1975. It was the most expensive album ever recorded at the time of its release.",
|
||||
"disambiguation": null,
|
||||
"disambiguation": "original release",
|
||||
"releaseInfo": {
|
||||
"originalReleaseDate": "1975-11-21",
|
||||
"originalReleaseYear": 1975,
|
||||
"reReleaseDate": null,
|
||||
"reReleaseYear": null,
|
||||
"reReleaseDate": "2011-11-21",
|
||||
"reReleaseYear": 2011,
|
||||
"releaseCountry": "GB",
|
||||
"releaseVersion": "Remastered"
|
||||
},
|
||||
@@ -342,7 +345,7 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"musicBrainzReleaseGroupId": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
|
||||
"musicBrainzReleaseArtistId": "c3d4e5f6-a7b8-4c9d-0e1f-2a3b4c5d6e7f",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": null,
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"contributors": [
|
||||
{
|
||||
"contributorId": "0e7b4a6c-5f8d-6b9e-ca0b-3c4d5e6f7a8b",
|
||||
@@ -377,8 +380,8 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"title": "Bohemian Rhapsody",
|
||||
"originalTitle": "Bohemian Rhapsody",
|
||||
"description": "A song by the British rock band Queen. It was written by Freddie Mercury and originally released on the album A Night at the Opera in 1975.",
|
||||
"disambiguation": null,
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": null, "reReleaseYear": null, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": "2011-11-21", "reReleaseYear": 2011, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"language": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"originalLanguage": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"tags": [ { "name": "classic" }, { "name": "epic" } ],
|
||||
@@ -408,12 +411,12 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": []
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
|
||||
"musicBrainzTrackId": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": null,
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"moods": [
|
||||
{ "name": "dramatic" },
|
||||
{ "name": "anxious" }
|
||||
@@ -455,8 +458,8 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"title": "You're My Best Friend",
|
||||
"originalTitle": "You're My Best Friend",
|
||||
"description": "A song by the British rock band Queen, written by bass guitarist John Deacon. It was originally released on the album A Night at the Opera in 1975 and as a single in 1976.",
|
||||
"disambiguation": null,
|
||||
"releaseInfo": { "originalReleaseDate": "1976-06-18", "originalReleaseYear": 1976, "reReleaseDate": null, "reReleaseYear": null, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": { "originalReleaseDate": "1976-06-18", "originalReleaseYear": 1976, "reReleaseDate": "2011-11-21", "reReleaseYear": 2011, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"language": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"originalLanguage": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"tags": [ { "name": "classic" }, { "name": "love" } ],
|
||||
@@ -468,11 +471,11 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"bitDepth": 16,
|
||||
"audioCodec": "FLAC",
|
||||
"bitrate": 912,
|
||||
"acoustId": null,
|
||||
"replayGainTrackGain": null,
|
||||
"replayGainTrackPeak": null,
|
||||
"replayGainAlbumGain": null,
|
||||
"replayGainAlbumPeak": null
|
||||
"acoustId": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
|
||||
"replayGainTrackGain": -7.2,
|
||||
"replayGainTrackPeak": 0.9812,
|
||||
"replayGainAlbumGain": -6.5,
|
||||
"replayGainAlbumPeak": 0.9987
|
||||
},
|
||||
"trackNumber": 7,
|
||||
"discNumber": 1,
|
||||
@@ -486,12 +489,12 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": []
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "0f3e4d5c-6b7a-4f8e-9d0c-1b2a3c4d5e6f",
|
||||
"musicBrainzTrackId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": null,
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"moods": [
|
||||
{ "name": "happy" },
|
||||
{ "name": "warm" }
|
||||
@@ -524,6 +527,14 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"coverPath": "/media/music/Queen-3b3a19f3/A Night at the Opera-e8d52f7b/cover.jpg",
|
||||
"artwork": [
|
||||
{
|
||||
"type": "Cover",
|
||||
"ordinal": 0,
|
||||
"path": "/media/music/Queen-3b3a19f3/A Night at the Opera-e8d52f7b/cover.jpg"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
@@ -553,12 +564,12 @@ GET api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"title": "A Night at the Opera",
|
||||
"originalTitle": "A Night at the Opera",
|
||||
"description": "The fourth studio album by the British rock band Queen, released in 1975. It was the most expensive album ever recorded at the time of its release.",
|
||||
"disambiguation": null,
|
||||
"disambiguation": "original release",
|
||||
"releaseInfo": {
|
||||
"originalReleaseDate": "1975-11-21",
|
||||
"originalReleaseYear": 1975,
|
||||
"reReleaseDate": null,
|
||||
"reReleaseYear": null,
|
||||
"reReleaseDate": "2011-11-21",
|
||||
"reReleaseYear": 2011,
|
||||
"releaseCountry": "GB",
|
||||
"releaseVersion": "Remastered"
|
||||
},
|
||||
@@ -597,7 +608,7 @@ GET api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"musicBrainzReleaseGroupId": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
|
||||
"musicBrainzReleaseArtistId": "c3d4e5f6-a7b8-4c9d-0e1f-2a3b4c5d6e7f",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": null,
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"contributors": [
|
||||
{
|
||||
"contributorId": "0e7b4a6c-5f8d-6b9e-ca0b-3c4d5e6f7a8b",
|
||||
@@ -622,7 +633,172 @@ GET api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"voteCount": 1234
|
||||
}
|
||||
],
|
||||
"tracks": []
|
||||
"tracks": [
|
||||
{
|
||||
"id": "9f0e1d2c-3b4a-4c6d-8e7f-9a0b1c2d3e4f",
|
||||
"albumId": "e8d52f7b-0a3c-4c2d-ab4f-8a7b6c5d4e3f",
|
||||
"libraryId": "3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a",
|
||||
"path": "/music/queen/a-night-at-the-opera/01-bohemian-rhapsody.flac",
|
||||
"metadata": {
|
||||
"title": "Bohemian Rhapsody",
|
||||
"originalTitle": "Bohemian Rhapsody",
|
||||
"description": "A song by the British rock band Queen. It was written by Freddie Mercury and originally released on the album A Night at the Opera in 1975.",
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": "2011-11-21", "reReleaseYear": 2011, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"language": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"originalLanguage": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"tags": [ { "name": "classic" }, { "name": "epic" } ],
|
||||
"genres": [ { "name": "Rock" }, { "name": "Progressive Rock" } ],
|
||||
"isVideo": false,
|
||||
"durationInSeconds": 354,
|
||||
"sampleRate": 44100,
|
||||
"channels": 2,
|
||||
"bitDepth": 16,
|
||||
"audioCodec": "FLAC",
|
||||
"bitrate": 980,
|
||||
"acoustId": "f0e1d2c3-b4a5-4c6d-8e7f-9a0b1c2d3e4f",
|
||||
"replayGainTrackGain": -7.5,
|
||||
"replayGainTrackPeak": 0.9877,
|
||||
"replayGainAlbumGain": -6.8,
|
||||
"replayGainAlbumPeak": 0.9999
|
||||
},
|
||||
"trackNumber": 1,
|
||||
"discNumber": 1,
|
||||
"script": "Latn",
|
||||
"key": "CMajor",
|
||||
"bpm": 72,
|
||||
"work": {
|
||||
"musicBrainzWorkId": "f6a7b8c9-d0e1-4f2a-3b4c-5d6e7f8a9b0c",
|
||||
"title": "Bohemian Rhapsody",
|
||||
"type": "Song",
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
|
||||
"musicBrainzTrackId": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"moods": [
|
||||
{ "name": "dramatic" },
|
||||
{ "name": "anxious" }
|
||||
],
|
||||
"isrcs": [
|
||||
{ "value": "GBUM71029604" }
|
||||
],
|
||||
"contributors": [
|
||||
{
|
||||
"contributorId": "6a3f0c2d-1b4e-4f5a-8c6d-9e0f1a2b3c4d",
|
||||
"role": "Vocals"
|
||||
},
|
||||
{
|
||||
"contributorId": "7b4e1d3f-2c5a-4e6b-9d7e-0f1a2b3c4d5e",
|
||||
"role": "Guitar"
|
||||
}
|
||||
],
|
||||
"ratings": [
|
||||
{
|
||||
"value": 4.5,
|
||||
"maxValue": 5,
|
||||
"source": "MusicBrainz",
|
||||
"voteCount": 2345
|
||||
},
|
||||
{
|
||||
"value": 4.8,
|
||||
"maxValue": 5,
|
||||
"source": "LastFm",
|
||||
"voteCount": 1234
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "8e1f2a3b-4c5d-4e6f-8a9b-0c1d2e3f4a5b",
|
||||
"albumId": "e8d52f7b-0a3c-4c2d-ab4f-8a7b6c5d4e3f",
|
||||
"libraryId": "3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a",
|
||||
"path": "/music/queen/a-night-at-the-opera/07-youre-my-best-friend.flac",
|
||||
"metadata": {
|
||||
"title": "You're My Best Friend",
|
||||
"originalTitle": "You're My Best Friend",
|
||||
"description": "A song by the British rock band Queen, written by bass guitarist John Deacon. It was originally released on the album A Night at the Opera in 1975 and as a single in 1976.",
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": { "originalReleaseDate": "1976-06-18", "originalReleaseYear": 1976, "reReleaseDate": "2011-11-21", "reReleaseYear": 2011, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"language": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"originalLanguage": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"tags": [ { "name": "classic" }, { "name": "love" } ],
|
||||
"genres": [ { "name": "Rock" }, { "name": "Pop Rock" } ],
|
||||
"isVideo": false,
|
||||
"durationInSeconds": 181,
|
||||
"sampleRate": 44100,
|
||||
"channels": 2,
|
||||
"bitDepth": 16,
|
||||
"audioCodec": "FLAC",
|
||||
"bitrate": 912,
|
||||
"acoustId": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
|
||||
"replayGainTrackGain": -7.2,
|
||||
"replayGainTrackPeak": 0.9812,
|
||||
"replayGainAlbumGain": -6.5,
|
||||
"replayGainAlbumPeak": 0.9987
|
||||
},
|
||||
"trackNumber": 7,
|
||||
"discNumber": 1,
|
||||
"script": "Latn",
|
||||
"key": "BMajor",
|
||||
"bpm": 118,
|
||||
"work": {
|
||||
"musicBrainzWorkId": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
|
||||
"title": "You're My Best Friend",
|
||||
"type": "Song",
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "0f3e4d5c-6b7a-4f8e-9d0c-1b2a3c4d5e6f",
|
||||
"musicBrainzTrackId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"moods": [
|
||||
{ "name": "happy" },
|
||||
{ "name": "warm" }
|
||||
],
|
||||
"isrcs": [
|
||||
{ "value": "GBUM71029609" }
|
||||
],
|
||||
"contributors": [
|
||||
{
|
||||
"contributorId": "6a3f0c2d-1b4e-4f5a-8c6d-9e0f1a2b3c4d",
|
||||
"role": "Vocals"
|
||||
},
|
||||
{
|
||||
"contributorId": "7b4e1d3f-2c5a-4e6b-9d7e-0f1a2b3c4d5e",
|
||||
"role": "Guitar"
|
||||
}
|
||||
],
|
||||
"ratings": [
|
||||
{
|
||||
"value": 4.2,
|
||||
"maxValue": 5,
|
||||
"source": "MusicBrainz",
|
||||
"voteCount": 1234
|
||||
},
|
||||
{
|
||||
"value": 4.4,
|
||||
"maxValue": 5,
|
||||
"source": "LastFm",
|
||||
"voteCount": 567
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"coverPath": "/media/music/Queen-3b3a19f3/A Night at the Opera-e8d52f7b/cover.jpg",
|
||||
"artwork": [
|
||||
{
|
||||
"type": "Cover",
|
||||
"ordinal": 0,
|
||||
"path": "/media/music/Queen-3b3a19f3/A Night at the Opera-e8d52f7b/cover.jpg"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
```
|
||||
@@ -653,7 +829,10 @@ GET api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
{
|
||||
"id": "e8d52f7b-0a3c-4c2d-ab4f-8a7b6c5d4e3f",
|
||||
"title": "A Night at the Opera",
|
||||
"totalTracks": 12
|
||||
"totalTracks": 12,
|
||||
"coverPath": "/media/music/Queen-3b3a19f3/A Night at the Opera-e8d52f7b/cover.jpg",
|
||||
"releaseYear": 1975,
|
||||
"releaseTypes": [ "Album" ]
|
||||
}
|
||||
],
|
||||
"currentPage": 1,
|
||||
@@ -687,12 +866,12 @@ GET api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"title": "A Night at the Opera",
|
||||
"originalTitle": "A Night at the Opera",
|
||||
"description": "The fourth studio album by the British rock band Queen, released in 1975. It was the most expensive album ever recorded at the time of its release.",
|
||||
"disambiguation": null,
|
||||
"disambiguation": "original release",
|
||||
"releaseInfo": {
|
||||
"originalReleaseDate": "1975-11-21",
|
||||
"originalReleaseYear": 1975,
|
||||
"reReleaseDate": null,
|
||||
"reReleaseYear": null,
|
||||
"reReleaseDate": "2011-11-21",
|
||||
"reReleaseYear": 2011,
|
||||
"releaseCountry": "GB",
|
||||
"releaseVersion": "Remastered"
|
||||
},
|
||||
@@ -731,7 +910,7 @@ GET api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"musicBrainzReleaseGroupId": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
|
||||
"musicBrainzReleaseArtistId": "c3d4e5f6-a7b8-4c9d-0e1f-2a3b4c5d6e7f",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": null,
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"contributors": [
|
||||
{
|
||||
"contributorId": "0e7b4a6c-5f8d-6b9e-ca0b-3c4d5e6f7a8b",
|
||||
@@ -756,7 +935,182 @@ GET api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"voteCount": 1234
|
||||
}
|
||||
],
|
||||
"tracks": []
|
||||
"tracks": [
|
||||
{
|
||||
"id": "9f0e1d2c-3b4a-4c6d-8e7f-9a0b1c2d3e4f",
|
||||
"albumId": "e8d52f7b-0a3c-4c2d-ab4f-8a7b6c5d4e3f",
|
||||
"libraryId": "3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a",
|
||||
"path": "/music/queen/a-night-at-the-opera/01-bohemian-rhapsody.flac",
|
||||
"metadata": {
|
||||
"title": "Bohemian Rhapsody",
|
||||
"originalTitle": "Bohemian Rhapsody",
|
||||
"description": "A song by the British rock band Queen. It was written by Freddie Mercury and originally released on the album A Night at the Opera in 1975.",
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": "2011-11-21", "reReleaseYear": 2011, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"language": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"originalLanguage": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"tags": [ { "name": "classic" }, { "name": "epic" } ],
|
||||
"genres": [ { "name": "Rock" }, { "name": "Progressive Rock" } ],
|
||||
"isVideo": false,
|
||||
"durationInSeconds": 354,
|
||||
"sampleRate": 44100,
|
||||
"channels": 2,
|
||||
"bitDepth": 16,
|
||||
"audioCodec": "FLAC",
|
||||
"bitrate": 980,
|
||||
"acoustId": "f0e1d2c3-b4a5-4c6d-8e7f-9a0b1c2d3e4f",
|
||||
"replayGainTrackGain": -7.5,
|
||||
"replayGainTrackPeak": 0.9877,
|
||||
"replayGainAlbumGain": -6.8,
|
||||
"replayGainAlbumPeak": 0.9999
|
||||
},
|
||||
"trackNumber": 1,
|
||||
"discNumber": 1,
|
||||
"script": "Latn",
|
||||
"key": "CMajor",
|
||||
"bpm": 72,
|
||||
"work": {
|
||||
"musicBrainzWorkId": "f6a7b8c9-d0e1-4f2a-3b4c-5d6e7f8a9b0c",
|
||||
"title": "Bohemian Rhapsody",
|
||||
"type": "Song",
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
|
||||
"musicBrainzTrackId": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"moods": [
|
||||
{ "name": "dramatic" },
|
||||
{ "name": "anxious" }
|
||||
],
|
||||
"isrcs": [
|
||||
{ "value": "GBUM71029604" }
|
||||
],
|
||||
"contributors": [
|
||||
{
|
||||
"contributorId": "6a3f0c2d-1b4e-4f5a-8c6d-9e0f1a2b3c4d",
|
||||
"role": "Vocals"
|
||||
},
|
||||
{
|
||||
"contributorId": "7b4e1d3f-2c5a-4e6b-9d7e-0f1a2b3c4d5e",
|
||||
"role": "Guitar"
|
||||
}
|
||||
],
|
||||
"ratings": [
|
||||
{
|
||||
"value": 4.5,
|
||||
"maxValue": 5,
|
||||
"source": "MusicBrainz",
|
||||
"voteCount": 2345
|
||||
},
|
||||
{
|
||||
"value": 4.8,
|
||||
"maxValue": 5,
|
||||
"source": "LastFm",
|
||||
"voteCount": 1234
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "8e1f2a3b-4c5d-4e6f-8a9b-0c1d2e3f4a5b",
|
||||
"albumId": "e8d52f7b-0a3c-4c2d-ab4f-8a7b6c5d4e3f",
|
||||
"libraryId": "3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a",
|
||||
"path": "/music/queen/a-night-at-the-opera/07-youre-my-best-friend.flac",
|
||||
"metadata": {
|
||||
"title": "You're My Best Friend",
|
||||
"originalTitle": "You're My Best Friend",
|
||||
"description": "A song by the British rock band Queen, written by bass guitarist John Deacon. It was originally released on the album A Night at the Opera in 1975 and as a single in 1976.",
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": { "originalReleaseDate": "1976-06-18", "originalReleaseYear": 1976, "reReleaseDate": "2011-11-21", "reReleaseYear": 2011, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"language": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"originalLanguage": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"tags": [ { "name": "classic" }, { "name": "love" } ],
|
||||
"genres": [ { "name": "Rock" }, { "name": "Pop Rock" } ],
|
||||
"isVideo": false,
|
||||
"durationInSeconds": 181,
|
||||
"sampleRate": 44100,
|
||||
"channels": 2,
|
||||
"bitDepth": 16,
|
||||
"audioCodec": "FLAC",
|
||||
"bitrate": 912,
|
||||
"acoustId": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
|
||||
"replayGainTrackGain": -7.2,
|
||||
"replayGainTrackPeak": 0.9812,
|
||||
"replayGainAlbumGain": -6.5,
|
||||
"replayGainAlbumPeak": 0.9987
|
||||
},
|
||||
"trackNumber": 7,
|
||||
"discNumber": 1,
|
||||
"script": "Latn",
|
||||
"key": "BMajor",
|
||||
"bpm": 118,
|
||||
"work": {
|
||||
"musicBrainzWorkId": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
|
||||
"title": "You're My Best Friend",
|
||||
"type": "Song",
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "0f3e4d5c-6b7a-4f8e-9d0c-1b2a3c4d5e6f",
|
||||
"musicBrainzTrackId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"moods": [
|
||||
{ "name": "happy" },
|
||||
{ "name": "warm" }
|
||||
],
|
||||
"isrcs": [
|
||||
{ "value": "GBUM71029609" }
|
||||
],
|
||||
"contributors": [
|
||||
{
|
||||
"contributorId": "6a3f0c2d-1b4e-4f5a-8c6d-9e0f1a2b3c4d",
|
||||
"role": "Vocals"
|
||||
},
|
||||
{
|
||||
"contributorId": "7b4e1d3f-2c5a-4e6b-9d7e-0f1a2b3c4d5e",
|
||||
"role": "Guitar"
|
||||
}
|
||||
],
|
||||
"ratings": [
|
||||
{
|
||||
"value": 4.2,
|
||||
"maxValue": 5,
|
||||
"source": "MusicBrainz",
|
||||
"voteCount": 1234
|
||||
},
|
||||
{
|
||||
"value": 4.4,
|
||||
"maxValue": 5,
|
||||
"source": "LastFm",
|
||||
"voteCount": 567
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"coverPath": "/media/music/Queen-3b3a19f3/A Night at the Opera-e8d52f7b/cover.jpg",
|
||||
"artwork": [
|
||||
{
|
||||
"type": "Cover",
|
||||
"ordinal": 0,
|
||||
"path": "/media/music/Queen-3b3a19f3/A Night at the Opera-e8d52f7b/cover.jpg"
|
||||
},
|
||||
{
|
||||
"type": "Back",
|
||||
"ordinal": 0,
|
||||
"path": "/media/music/Queen-3b3a19f3/A Night at the Opera-e8d52f7b/back.jpg"
|
||||
},
|
||||
{
|
||||
"type": "Booklet",
|
||||
"ordinal": 0,
|
||||
"path": "/media/music/Queen-3b3a19f3/A Night at the Opera-e8d52f7b/booklet.jpg"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
@@ -775,12 +1129,12 @@ PUT api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"title": "A Night at the Opera",
|
||||
"originalTitle": "A Night at the Opera",
|
||||
"description": "The fourth studio album by the British rock band Queen, released in 1975. It was the most expensive album ever recorded at the time of its release.",
|
||||
"disambiguation": null,
|
||||
"disambiguation": "original release",
|
||||
"releaseInfo": {
|
||||
"originalReleaseDate": "1975-11-21",
|
||||
"originalReleaseYear": 1975,
|
||||
"reReleaseDate": null,
|
||||
"reReleaseYear": null,
|
||||
"reReleaseDate": "2011-11-21",
|
||||
"reReleaseYear": 2011,
|
||||
"releaseCountry": "GB",
|
||||
"releaseVersion": "Remastered"
|
||||
},
|
||||
@@ -854,12 +1208,12 @@ PUT api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"title": "A Night at the Opera",
|
||||
"originalTitle": "A Night at the Opera",
|
||||
"description": "The fourth studio album by the British rock band Queen, released in 1975. It was the most expensive album ever recorded at the time of its release.",
|
||||
"disambiguation": null,
|
||||
"disambiguation": "original release",
|
||||
"releaseInfo": {
|
||||
"originalReleaseDate": "1975-11-21",
|
||||
"originalReleaseYear": 1975,
|
||||
"reReleaseDate": null,
|
||||
"reReleaseYear": null,
|
||||
"reReleaseDate": "2011-11-21",
|
||||
"reReleaseYear": 2011,
|
||||
"releaseCountry": "GB",
|
||||
"releaseVersion": "Remastered"
|
||||
},
|
||||
@@ -898,7 +1252,7 @@ PUT api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"musicBrainzReleaseGroupId": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
|
||||
"musicBrainzReleaseArtistId": "c3d4e5f6-a7b8-4c9d-0e1f-2a3b4c5d6e7f",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": null,
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"contributors": [
|
||||
{
|
||||
"contributorId": "0e7b4a6c-5f8d-6b9e-ca0b-3c4d5e6f7a8b",
|
||||
@@ -923,7 +1277,202 @@ PUT api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"voteCount": 1234
|
||||
}
|
||||
],
|
||||
"tracks": []
|
||||
"tracks": [
|
||||
{
|
||||
"id": "9f0e1d2c-3b4a-4c6d-8e7f-9a0b1c2d3e4f",
|
||||
"albumId": "e8d52f7b-0a3c-4c2d-ab4f-8a7b6c5d4e3f",
|
||||
"libraryId": "3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a",
|
||||
"path": "/music/queen/a-night-at-the-opera/01-bohemian-rhapsody.flac",
|
||||
"metadata": {
|
||||
"title": "Bohemian Rhapsody",
|
||||
"originalTitle": "Bohemian Rhapsody",
|
||||
"description": "A song by the British rock band Queen. It was written by Freddie Mercury and originally released on the album A Night at the Opera in 1975.",
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": "2011-11-21", "reReleaseYear": 2011, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"language": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"originalLanguage": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"tags": [ { "name": "classic" }, { "name": "epic" } ],
|
||||
"genres": [ { "name": "Rock" }, { "name": "Progressive Rock" } ],
|
||||
"isVideo": false,
|
||||
"durationInSeconds": 354,
|
||||
"sampleRate": 44100,
|
||||
"channels": 2,
|
||||
"bitDepth": 16,
|
||||
"audioCodec": "FLAC",
|
||||
"bitrate": 980,
|
||||
"acoustId": "f0e1d2c3-b4a5-4c6d-8e7f-9a0b1c2d3e4f",
|
||||
"replayGainTrackGain": -7.5,
|
||||
"replayGainTrackPeak": 0.9877,
|
||||
"replayGainAlbumGain": -6.8,
|
||||
"replayGainAlbumPeak": 0.9999
|
||||
},
|
||||
"trackNumber": 1,
|
||||
"discNumber": 1,
|
||||
"script": "Latn",
|
||||
"key": "CMajor",
|
||||
"bpm": 72,
|
||||
"work": {
|
||||
"musicBrainzWorkId": "f6a7b8c9-d0e1-4f2a-3b4c-5d6e7f8a9b0c",
|
||||
"title": "Bohemian Rhapsody",
|
||||
"type": "Song",
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
|
||||
"musicBrainzTrackId": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"moods": [
|
||||
{ "name": "dramatic" },
|
||||
{ "name": "anxious" }
|
||||
],
|
||||
"isrcs": [
|
||||
{ "value": "GBUM71029604" }
|
||||
],
|
||||
"contributors": [
|
||||
{
|
||||
"contributorId": "6a3f0c2d-1b4e-4f5a-8c6d-9e0f1a2b3c4d",
|
||||
"role": "Vocals"
|
||||
},
|
||||
{
|
||||
"contributorId": "7b4e1d3f-2c5a-4e6b-9d7e-0f1a2b3c4d5e",
|
||||
"role": "Guitar"
|
||||
}
|
||||
],
|
||||
"ratings": [
|
||||
{
|
||||
"value": 4.5,
|
||||
"maxValue": 5,
|
||||
"source": "MusicBrainz",
|
||||
"voteCount": 2345
|
||||
},
|
||||
{
|
||||
"value": 4.8,
|
||||
"maxValue": 5,
|
||||
"source": "LastFm",
|
||||
"voteCount": 1234
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "8e1f2a3b-4c5d-4e6f-8a9b-0c1d2e3f4a5b",
|
||||
"albumId": "e8d52f7b-0a3c-4c2d-ab4f-8a7b6c5d4e3f",
|
||||
"libraryId": "3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a",
|
||||
"path": "/music/queen/a-night-at-the-opera/07-youre-my-best-friend.flac",
|
||||
"metadata": {
|
||||
"title": "You're My Best Friend",
|
||||
"originalTitle": "You're My Best Friend",
|
||||
"description": "A song by the British rock band Queen, written by bass guitarist John Deacon. It was originally released on the album A Night at the Opera in 1975 and as a single in 1976.",
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": { "originalReleaseDate": "1976-06-18", "originalReleaseYear": 1976, "reReleaseDate": "2011-11-21", "reReleaseYear": 2011, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"language": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"originalLanguage": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"tags": [ { "name": "classic" }, { "name": "love" } ],
|
||||
"genres": [ { "name": "Rock" }, { "name": "Pop Rock" } ],
|
||||
"isVideo": false,
|
||||
"durationInSeconds": 181,
|
||||
"sampleRate": 44100,
|
||||
"channels": 2,
|
||||
"bitDepth": 16,
|
||||
"audioCodec": "FLAC",
|
||||
"bitrate": 912,
|
||||
"acoustId": "0a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
|
||||
"replayGainTrackGain": -7.2,
|
||||
"replayGainTrackPeak": 0.9812,
|
||||
"replayGainAlbumGain": -6.5,
|
||||
"replayGainAlbumPeak": 0.9987
|
||||
},
|
||||
"trackNumber": 7,
|
||||
"discNumber": 1,
|
||||
"script": "Latn",
|
||||
"key": "BMajor",
|
||||
"bpm": 118,
|
||||
"work": {
|
||||
"musicBrainzWorkId": "2b3c4d5e-6f7a-4b8c-9d0e-1f2a3b4c5d6e",
|
||||
"title": "You're My Best Friend",
|
||||
"type": "Song",
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "0f3e4d5c-6b7a-4f8e-9d0c-1b2a3c4d5e6f",
|
||||
"musicBrainzTrackId": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"moods": [
|
||||
{ "name": "happy" },
|
||||
{ "name": "warm" }
|
||||
],
|
||||
"isrcs": [
|
||||
{ "value": "GBUM71029609" }
|
||||
],
|
||||
"contributors": [
|
||||
{
|
||||
"contributorId": "6a3f0c2d-1b4e-4f5a-8c6d-9e0f1a2b3c4d",
|
||||
"role": "Vocals"
|
||||
},
|
||||
{
|
||||
"contributorId": "7b4e1d3f-2c5a-4e6b-9d7e-0f1a2b3c4d5e",
|
||||
"role": "Guitar"
|
||||
}
|
||||
],
|
||||
"ratings": [
|
||||
{
|
||||
"value": 4.2,
|
||||
"maxValue": 5,
|
||||
"source": "MusicBrainz",
|
||||
"voteCount": 1234
|
||||
},
|
||||
{
|
||||
"value": 4.4,
|
||||
"maxValue": 5,
|
||||
"source": "LastFm",
|
||||
"voteCount": 567
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"coverPath": "/media/music/Queen-3b3a19f3/A Night at the Opera-e8d52f7b/cover.jpg",
|
||||
"artwork": [
|
||||
{
|
||||
"type": "Cover",
|
||||
"ordinal": 0,
|
||||
"path": "/media/music/Queen-3b3a19f3/A Night at the Opera-e8d52f7b/cover.jpg"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### Update Album Cover
|
||||
|
||||
Updates the cover image of the album identified by `albumId` with the image uploaded in the multipart form of the request. The album must belong to the artist identified by `artistId` and to the media library identified by `libraryId`, and the uploaded file must be an image.
|
||||
|
||||
#### Update Album Cover Request
|
||||
|
||||
```js
|
||||
PUT api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-4b1c-9a3e-7f6e5d4c3b2a/albums/{albumId}/cover
|
||||
Content-Type: multipart/form-data; boundary=LuminaBoundary
|
||||
|
||||
--LuminaBoundary
|
||||
Content-Disposition: form-data; name="cover"; filename="cover.jpg"
|
||||
Content-Type: image/jpeg
|
||||
|
||||
< ./cover.jpg
|
||||
--LuminaBoundary--
|
||||
```
|
||||
|
||||
#### Update Album Cover Response
|
||||
|
||||
```js
|
||||
200 Ok
|
||||
```
|
||||
|
||||
```json
|
||||
{
|
||||
"coverPath": "/media/music/music-3f2504e0-4f89-41d3-9a0c-0305e82c3301/Queen-2b0e5f5a-0b3f-4b7e-8f4a-8c9e3d2f5a6b/A Night at the Opera-7c1d2e3f-4a5b-6c7d-8e9f-0a1b2c3d4e5f/cover.jpg"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -966,8 +1515,8 @@ GET api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"title": "Bohemian Rhapsody",
|
||||
"originalTitle": "Bohemian Rhapsody",
|
||||
"description": "A song by the British rock band Queen. It was written by Freddie Mercury and originally released on the album A Night at the Opera in 1975.",
|
||||
"disambiguation": null,
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": null, "reReleaseYear": null, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": "2011-11-21", "reReleaseYear": 2011, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"language": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"originalLanguage": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"tags": [ { "name": "classic" }, { "name": "epic" } ],
|
||||
@@ -997,12 +1546,12 @@ GET api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": []
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
|
||||
"musicBrainzTrackId": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": null,
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"moods": [
|
||||
{
|
||||
"name": "dramatic"
|
||||
@@ -1071,7 +1620,8 @@ GET api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"id": "9f0e1d2c-3b4a-4c6d-8e7f-9a0b1c2d3e4f",
|
||||
"title": "Bohemian Rhapsody",
|
||||
"trackNumber": 1,
|
||||
"discNumber": 1
|
||||
"discNumber": 1,
|
||||
"durationInSeconds": 354
|
||||
}
|
||||
],
|
||||
"currentPage": 1,
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -30,12 +30,12 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"title": "Bohemian Rhapsody",
|
||||
"originalTitle": "Bohemian Rhapsody",
|
||||
"description": "A song by the British rock band Queen. It was written by Freddie Mercury and originally released on the album A Night at the Opera in 1975.",
|
||||
"disambiguation": null,
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": {
|
||||
"originalReleaseDate": "1975-10-31",
|
||||
"originalReleaseYear": 1975,
|
||||
"reReleaseDate": null,
|
||||
"reReleaseYear": null,
|
||||
"reReleaseDate": "2011-11-21",
|
||||
"reReleaseYear": 2011,
|
||||
"releaseCountry": "GB",
|
||||
"releaseVersion": "Original"
|
||||
},
|
||||
@@ -82,7 +82,7 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": []
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
|
||||
"musicBrainzTrackId": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
|
||||
@@ -130,8 +130,8 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"title": "Bohemian Rhapsody",
|
||||
"originalTitle": "Bohemian Rhapsody",
|
||||
"description": "A song by the British rock band Queen. It was written by Freddie Mercury and originally released on the album A Night at the Opera in 1975.",
|
||||
"disambiguation": null,
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": null, "reReleaseYear": null, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": "2011-11-21", "reReleaseYear": 2011, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"language": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"originalLanguage": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"tags": [ { "name": "classic" }, { "name": "epic" } ],
|
||||
@@ -161,12 +161,12 @@ POST api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": []
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
|
||||
"musicBrainzTrackId": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": null,
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"moods": [
|
||||
{
|
||||
"name": "dramatic"
|
||||
@@ -232,8 +232,8 @@ GET api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"title": "Bohemian Rhapsody",
|
||||
"originalTitle": "Bohemian Rhapsody",
|
||||
"description": "A song by the British rock band Queen. It was written by Freddie Mercury and originally released on the album A Night at the Opera in 1975.",
|
||||
"disambiguation": null,
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": null, "reReleaseYear": null, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": "2011-11-21", "reReleaseYear": 2011, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"language": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"originalLanguage": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"tags": [ { "name": "classic" }, { "name": "epic" } ],
|
||||
@@ -263,12 +263,12 @@ GET api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": []
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
|
||||
"musicBrainzTrackId": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": null,
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"moods": [
|
||||
{
|
||||
"name": "dramatic"
|
||||
@@ -325,12 +325,12 @@ PUT api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"title": "Bohemian Rhapsody",
|
||||
"originalTitle": "Bohemian Rhapsody",
|
||||
"description": "A song by the British rock band Queen. It was written by Freddie Mercury and originally released on the album A Night at the Opera in 1975.",
|
||||
"disambiguation": null,
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": {
|
||||
"originalReleaseDate": "1975-10-31",
|
||||
"originalReleaseYear": 1975,
|
||||
"reReleaseDate": null,
|
||||
"reReleaseYear": null,
|
||||
"reReleaseDate": "2011-11-21",
|
||||
"reReleaseYear": 2011,
|
||||
"releaseCountry": "GB",
|
||||
"releaseVersion": "Original"
|
||||
},
|
||||
@@ -377,7 +377,7 @@ PUT api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": []
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
|
||||
"musicBrainzTrackId": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
|
||||
@@ -425,8 +425,8 @@ PUT api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"title": "Bohemian Rhapsody",
|
||||
"originalTitle": "Bohemian Rhapsody",
|
||||
"description": "A song by the British rock band Queen. It was written by Freddie Mercury and originally released on the album A Night at the Opera in 1975.",
|
||||
"disambiguation": null,
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": null, "reReleaseYear": null, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"disambiguation": "album version",
|
||||
"releaseInfo": { "originalReleaseDate": "1975-10-31", "originalReleaseYear": 1975, "reReleaseDate": "2011-11-21", "reReleaseYear": 2011, "releaseCountry": "GB", "releaseVersion": "Original" },
|
||||
"language": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"originalLanguage": { "languageCode": "en", "languageName": "English", "nativeName": "English" },
|
||||
"tags": [ { "name": "classic" }, { "name": "epic" } ],
|
||||
@@ -456,12 +456,12 @@ PUT api/v1/libraries/3b3a19f3-1f5a-4d5a-9a3a-5c5a4a3a2a1a/artists/d7c41e6a-9f2b-
|
||||
"languages": [
|
||||
{ "languageCode": "en", "languageName": "English", "nativeName": "English" }
|
||||
],
|
||||
"iswcs": []
|
||||
"iswcs": ["T-010489707-6"]
|
||||
},
|
||||
"musicBrainzRecordingId": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
|
||||
"musicBrainzTrackId": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
|
||||
"createdOnUtc": "2025-01-01T12:00:00.0000000Z",
|
||||
"updatedOnUtc": null,
|
||||
"updatedOnUtc": "2025-01-20T14:45:00.0000000Z",
|
||||
"moods": [
|
||||
{
|
||||
"name": "dramatic"
|
||||
|
||||
Reference in new issue
Block a user