mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-21 23:32:27 +00:00
Page:
Track
Pages
API
Album Lookup
Album
AppData Directory
Artist Lookup
Artist
Autostart on Linux
Calendar
Command
Connections
Custom Post Processing Scripts
Disable Authentication
Diskspace
Docker
FAQ
Forgot my Password
Health Checks
History
Home
Images
Indexer Seed Ratio
Installation (FreeBSD FreeNAS)
Installation
Issue Labeling Scheme
Log Files
Metadata Source
Naming
Parse
Profile
Profiles
Queue
Release Branches
Release Push
Release
Rootfolder
Setup Development Environment
Supported DownloadClients
Supported ImportLists
Supported Indexers
Supported Notifications
System Backup
System Status
Tags
Track
TrackFile
Wanted Cutoff
Wanted Missing
Write Tags
No results
4
Track
Qstick edited this page 2018-04-15 00:33:18 -04:00
Table of Contents
Endpoint: "/track"
GET
Summary
Gets all track for an artist or album
Parameters
Required:
artistId (int)
or albumId (int)
Returns JsonArray
[
{
"artistId": 495,
"trackFileId": 0,
"albumId": 6126,
"explicit": false,
"absoluteTrackNumber": 1,
"trackNumber": "1",
"title": "Radioactive",
"duration": 186813,
"mediumNumber": 1,
"hasFile": false,
"monitored": true,
"id": 77644
},
{
"artistId": 495,
"trackFileId": 0,
"albumId": 6126,
"explicit": false,
"absoluteTrackNumber": 10,
"trackNumber": "10",
"title": "Underdog",
"duration": 209440,
"mediumNumber": 1,
"hasFile": false,
"monitored": true,
"id": 77645
}
]
GET/{id}
Summary
Gets a track by id
Parameters
Required:
id (int)
Returns JsonArray
{
"artistId": 495,
"trackFileId": 0,
"albumId": 6126,
"explicit": false,
"absoluteTrackNumber": 10,
"trackNumber": "10",
"title": "Underdog",
"duration": 209440,
"mediumNumber": 1,
"hasFile": false,
"monitored": true,
"artist": {
"status": "continuing",
"ended": false,
"lastInfoSync": "2018-04-15T01:01:12.9741129Z",
"artistName": "Imagine Dragons",
"foreignArtistId": "012151a8-0f9a-44c9-997f-ebd68b5389f9",
"tadbId": 0,
"discogsId": 0,
"overview": "Imagine Dragons is an American rock band from Las Vegas, Nevada, consisting of lead vocalist Dan Reynolds, lead guitarist Wayne Sermon, bassist and keyboardist Ben McKee, and drummer Daniel Platzman. The band first gained exposure with the release of single \"It's Time\", followed by their award-winning debut studio album Night Visions (2012), which resulted in the chart topping singles \"Radioactive\" and \"Demons\". Billboard placed them at the top of their \"Year In Rock\" rankings for 2013 and 2017 and named them their \"Breakthrough Band of 2013\". and \"Biggest Band of 2017.\" Rolling Stone named their single \"Radioactive\", which holds the record for most weeks on the Hot 100, from Night Visions the \"biggest rock hit of the year\", and MTV called them \"the year's biggest breakout band\". The band's second studio album Smoke + Mirrors (2015) reached number one in the US, Canada and the UK. After a brief hiatus, the band released their third studio album, Evolve (2017) which resulted in the chart-topping singles, \"Believer\" and \"Thunder\". While all three albums were commercially successful, critical reception was mixed.\nImagine Dragons has won three American Music Awards, five Billboard Music Awards, one Grammy Award, and one World Music Award. In May 2014, the band was nominated for fourteen Billboard Music Awards, including Top Artist of the Year and a Milestone Award, which recognizes innovation and creativity of artists across different genres. Imagine Dragons have sold 12 million albums and 35 million singles worldwide.",
"artistType": "Group",
"disambiguation": "",
"links": [
{
"url": "https://twitter.com/Imaginedragons",
"name": "twitter"
},
{
"url": "https://www.youtube.com/user/ImagineDragonsVEVO",
"name": "youtube"
},
{
"url": "https://en.wikipedia.org/wiki/Imagine_Dragons",
"name": "wikipedia"
}
],
"images": [
{
"coverType": "fanart",
"url": "http://assets.fanart.tv/fanart/music/012151a8-0f9a-44c9-997f-ebd68b5389f9/artistbackground/imagine-dragons-4fe4c62e40616.jpg"
},
{
"coverType": "logo",
"url": "http://assets.fanart.tv/fanart/music/012151a8-0f9a-44c9-997f-ebd68b5389f9/hdmusiclogo/imagine-dragons-508ad5d9139b8.png"
},
{
"coverType": "banner",
"url": "http://assets.fanart.tv/fanart/music/012151a8-0f9a-44c9-997f-ebd68b5389f9/musicbanner/imagine-dragons-54c8d693524c8.jpg"
},
{
"coverType": "poster",
"url": "http://assets.fanart.tv/fanart/music/012151a8-0f9a-44c9-997f-ebd68b5389f9/artistthumb/imagine-dragons-525cf251c2972.jpg"
}
],
"path": "C:\\Test2\\Imagine Dragons",
"qualityProfileId": 4,
"languageProfileId": 1,
"metadataProfileId": 1,
"albumFolder": true,
"monitored": true,
"genres": [],
"cleanName": "imaginedragons",
"sortName": "imagine dragons",
"tags": [],
"added": "2018-04-09T03:10:55.1418572Z",
"ratings": {
"votes": 3,
"value": 10.0
},
"statistics": {
"albumCount": 0,
"trackFileCount": 0,
"trackCount": 0,
"totalTrackCount": 0,
"sizeOnDisk": 0,
"percentOfTracks": 0.0
},
"id": 495
},
"id": 77645
}