From bdabe3272f50324fd8d96252711f02ad1fb03861 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sat, 14 Apr 2018 23:44:20 -0400 Subject: [PATCH] Updated TrackFile (markdown) --- TrackFile.md | 68 +++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 62 insertions(+), 6 deletions(-) diff --git a/TrackFile.md b/TrackFile.md index 51a9a42..75e6b8c 100644 --- a/TrackFile.md +++ b/TrackFile.md @@ -3,21 +3,77 @@ ## GET ## ##### Summary ##### -Gets information about Track Files +Returns all track files for the given artist or album ##### Parameters ###### -*None* +Required: + +`artistId (int)` ##### Returns JsonArray ###### ```JSON [ { - "path": "C:\\", - "label": "", - "freeSpace": 282500067328, - "totalSpace": 499738734592 + "artistId": 517, + "albumId": 6462, + "relativePath": "We Shall Overcome- The Seeger Sessions (2006)\\Bruce Springsteen - 01 - Old Dan Tucker.flac", + "path": "C:\\Test2\\Bruce Springsteen\\We Shall Overcome- The Seeger Sessions (2006)\\Bruce Springsteen - 01 - Old Dan Tucker.flac", + "size": 17755366, + "dateAdded": "2018-04-15T02:47:26.391487Z", + "language": { + "id": 1, + "name": "English" + }, + "quality": { + "quality": { + "id": 6, + "name": "FLAC" + }, + "revision": { + "version": 1, + "real": 0 + } + }, + "mediaInfo": { + "audioChannels": 2.0, + "audioBitRate": "927 kbps", + "audioCodec": "FLAC" + }, + "qualityCutoffNotMet": false, + "languageCutoffNotMet": false, + "id": 5421 + }, + { + "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 } ] ``` \ No newline at end of file