feat(lidarr): LookupArtistByMBID, LookupAlbumByMBID, DeleteAlbum
This commit is contained in:
@@ -58,3 +58,21 @@ type AddAlbumParams struct {
|
||||
type PingResult struct {
|
||||
Version string
|
||||
}
|
||||
|
||||
// LidarrArtist is the subset of Lidarr's artist resource used by M5b
|
||||
// admin actions. The "id" field is Lidarr's internal numeric ID — needed
|
||||
// for DELETE /api/v1/artist/{id} calls.
|
||||
type LidarrArtist struct {
|
||||
ID int `json:"id"`
|
||||
ForeignArtistID string `json:"foreignArtistId"` // MBID
|
||||
ArtistName string `json:"artistName"`
|
||||
}
|
||||
|
||||
// LidarrAlbum is the subset of Lidarr's album resource used by M5b
|
||||
// admin actions.
|
||||
type LidarrAlbum struct {
|
||||
ID int `json:"id"`
|
||||
ForeignAlbumID string `json:"foreignAlbumId"` // MBID
|
||||
Title string `json:"title"`
|
||||
ArtistID int `json:"artistId"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user