Skip to content

Commit

Permalink
add contributors to albumid3
Browse files Browse the repository at this point in the history
  • Loading branch information
kgarner7 committed Feb 4, 2025
1 parent a963d04 commit ffe488f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions content/en/docs/Responses/AlbumID3.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@ description: >
"disc": 2,
"title": "Disc 1 title"
}
],
"contributors": [
{
"role": "composer",
"artist": {
"id": "ar-3",
"name": "Artist 3"
}
}
]
}
{{< /tab >}}
Expand Down Expand Up @@ -130,6 +139,8 @@ description: >
| `isCompilation` | `boolean` | No | **Yes** | True if the album is a compilation. |
| `explicitStatus` | `string` | No | **Yes** | Returns "explicit" if at least one song is explicit, "clean" if no song is explicit and at least one is "clean" else "". |
| `discTitles` | Array of [`DiscTitle`](../disctitle) | No | **Yes** | The list of all disc titles of the album. |
| `contributors` | Array of [`Contributor`](../contributor) | No | **Yes** | The list of all contributor artists of the album. |


{{< alert color="warning" title="OpenSubsonic" >}}
New fields are added:
Expand All @@ -148,6 +159,7 @@ New fields are added:
- `isCompilation`
- `discTitles`
- `explicitStatus`
- `contributors`

**Note**: All OpenSubsonic added fields are **optionals**. But if a server support a field it **must** return it with an empty / default value when not present in it's database so that clients knows what the server supports.

Expand Down
11 changes: 11 additions & 0 deletions content/en/docs/Responses/AlbumID3WithSongs.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ description: >
"title": "Disc 1 title"
}
],
"contributors": [
{
"role": "composer",
"artist": {
"id": "ar-3",
"name": "Artist 3"
}
}
],
"song": [
{
"id": "300000116",
Expand Down Expand Up @@ -243,6 +252,7 @@ description: >
| `isCompilation` | `boolean` | No | **Yes** | True if the album is a compilation.|
| `explicitStatus` | `string` | No | **Yes** | Returns "explicit" if at least one song is explicit, "clean" if no song is explicit and at least one is "clean" else "". |
| `discTitles` | Array of [`DiscTitle`](../disctitle) | No | **Yes** | The list of all disc titles of the album. |
| `contributors` | Array of [`Contributor`](../contributor) | No | **Yes** | The list of all contributor artists of the album. |
| `song` | Array of [`Child`](../child) | No | | The list of songs |

{{< alert color="warning" title="OpenSubsonic" >}}
Expand All @@ -262,6 +272,7 @@ New fields are added:
- `isCompilation`
- `discTitles`
- `explicitStatus`
- `contributors`

**Note**: All OpenSubsonic added fields are **optionals**. But if a server support a field it **must** return it with an empty / default value when not present in it's database so that clients knows what the server supports.

Expand Down

0 comments on commit ffe488f

Please sign in to comment.