mirror of https://github.com/lidarr/Lidarr
Updated TrackFile (markdown)
parent
b1402fc808
commit
617397ee46
65
TrackFile.md
65
TrackFile.md
|
@ -15,6 +15,8 @@ Optional:
|
|||
|
||||
`albumId (int)`
|
||||
|
||||
`trackFileIds` - Usage `trackFileIds=1234,1236,1235`
|
||||
|
||||
##### Returns JsonArray ######
|
||||
|
||||
```JSON
|
||||
|
@ -81,3 +83,66 @@ Optional:
|
|||
}
|
||||
]
|
||||
```
|
||||
|
||||
## GET/{id} ##
|
||||
|
||||
##### Summary #####
|
||||
Returns the track file with a given id
|
||||
|
||||
##### Parameters ######
|
||||
|
||||
Required:
|
||||
|
||||
`id (int)`
|
||||
|
||||
##### Returns JsonArray ######
|
||||
|
||||
```JSON
|
||||
{
|
||||
"artistId": 517,
|
||||
"albumId": 6472,
|
||||
"relativePath": "High Hopes (2013)\\01 Bruce Springsteen - High Hopes [2014] - High Hopes.mp3",
|
||||
"path": "C:\\Test2\\Bruce Springsteen\\High Hopes (2013)\\01 Bruce Springsteen - High Hopes [2014] - High Hopes.mp3",
|
||||
"size": 10520492,
|
||||
"dateAdded": "2018-04-15T02:47:27.2630697Z",
|
||||
"language": {
|
||||
"id": 1,
|
||||
"name": "English"
|
||||
},
|
||||
"quality": {
|
||||
"quality": {
|
||||
"id": 2,
|
||||
"name": "MP3-VBR-V0"
|
||||
},
|
||||
"revision": {
|
||||
"version": 1,
|
||||
"real": 0
|
||||
}
|
||||
},
|
||||
"mediaInfo": {
|
||||
"audioChannels": 2.0,
|
||||
"audioBitRate": "282 kbps",
|
||||
"audioCodec": "MP3"
|
||||
},
|
||||
"qualityCutoffNotMet": true,
|
||||
"languageCutoffNotMet": false,
|
||||
"id": 5422
|
||||
}
|
||||
```
|
||||
|
||||
## DELETE/{id} ##
|
||||
|
||||
##### Summary #####
|
||||
Delete the given track file
|
||||
|
||||
##### Parameters ######
|
||||
|
||||
Required:
|
||||
|
||||
`id (int)`
|
||||
|
||||
##### Returns ######
|
||||
|
||||
````JSON
|
||||
{}
|
||||
````
|
Loading…
Reference in New Issue