seperate routes, provide robust handler types, use mux

This commit is contained in:
sentriz
2019-07-14 19:32:36 +01:00
parent cbe709025e
commit 5444b328fd
77 changed files with 11880 additions and 1011 deletions

BIN
server/ctrlsubsonic/testdata/db vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,100 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"albumList": {
"album": [
{
"id": 8,
"coverArt": 8,
"artist": "13th Floor Lowervators",
"title": "(1967) Easter Nowhere",
"parent": 7,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 9,
"coverArt": 9,
"artist": "13th Floor Lowervators",
"title": "(1966) The Psychedelic Sounds of the 13th Floor Elevators",
"parent": 7,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 5,
"coverArt": 5,
"artist": "A Certain Ratio",
"title": "(1994) The Graveyard and the Ballroom",
"parent": 4,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 6,
"coverArt": 6,
"artist": "A Certain Ratio",
"title": "(1981) To EachOTHER.",
"parent": 4,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 21,
"coverArt": 21,
"artist": "Captain Beefheart",
"title": "(1970) Lick My Decals Off, Bitch",
"parent": 20,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 3,
"coverArt": 3,
"artist": "Jah Wobble, The Edge, Holger Czukay",
"title": "(1983) Snake Charmer",
"parent": 2,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 16,
"coverArt": 16,
"artist": "Swell Maps",
"title": "(1980) Jane From Occupied Europe",
"parent": 15,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 17,
"coverArt": 17,
"artist": "Swell Maps",
"title": "(1979) A Trip to Marineville",
"parent": 15,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 19,
"coverArt": 19,
"artist": "Ten Years After",
"title": "(1967) Ten Years After",
"parent": 18,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 13,
"coverArt": 13,
"artist": "There",
"title": "(2010) Anika",
"parent": 12,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
}
]
}
}
}

View File

@@ -0,0 +1,100 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"albumList": {
"album": [
{
"id": 9,
"coverArt": 9,
"artist": "13th Floor Lowervators",
"title": "(1966) The Psychedelic Sounds of the 13th Floor Elevators",
"parent": 7,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 8,
"coverArt": 8,
"artist": "13th Floor Lowervators",
"title": "(1967) Easter Nowhere",
"parent": 7,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 19,
"coverArt": 19,
"artist": "Ten Years After",
"title": "(1967) Ten Years After",
"parent": 18,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 21,
"coverArt": 21,
"artist": "Captain Beefheart",
"title": "(1970) Lick My Decals Off, Bitch",
"parent": 20,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 17,
"coverArt": 17,
"artist": "Swell Maps",
"title": "(1979) A Trip to Marineville",
"parent": 15,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 16,
"coverArt": 16,
"artist": "Swell Maps",
"title": "(1980) Jane From Occupied Europe",
"parent": 15,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 6,
"coverArt": 6,
"artist": "A Certain Ratio",
"title": "(1981) To EachOTHER.",
"parent": 4,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 3,
"coverArt": 3,
"artist": "Jah Wobble, The Edge, Holger Czukay",
"title": "(1983) Snake Charmer",
"parent": 2,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 5,
"coverArt": 5,
"artist": "A Certain Ratio",
"title": "(1994) The Graveyard and the Ballroom",
"parent": 4,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 13,
"coverArt": 13,
"artist": "There",
"title": "(2010) Anika",
"parent": 12,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
}
]
}
}
}

View File

@@ -0,0 +1,100 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"albumList": {
"album": [
{
"id": 8,
"coverArt": 8,
"artist": "13th Floor Lowervators",
"title": "(1967) Easter Nowhere",
"parent": 7,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 9,
"coverArt": 9,
"artist": "13th Floor Lowervators",
"title": "(1966) The Psychedelic Sounds of the 13th Floor Elevators",
"parent": 7,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 21,
"coverArt": 21,
"artist": "Captain Beefheart",
"title": "(1970) Lick My Decals Off, Bitch",
"parent": 20,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 5,
"coverArt": 5,
"artist": "A Certain Ratio",
"title": "(1994) The Graveyard and the Ballroom",
"parent": 4,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 6,
"coverArt": 6,
"artist": "A Certain Ratio",
"title": "(1981) To EachOTHER.",
"parent": 4,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 13,
"coverArt": 13,
"artist": "There",
"title": "(2010) Anika",
"parent": 12,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 3,
"coverArt": 3,
"artist": "Jah Wobble, The Edge, Holger Czukay",
"title": "(1983) Snake Charmer",
"parent": 2,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 16,
"coverArt": 16,
"artist": "Swell Maps",
"title": "(1980) Jane From Occupied Europe",
"parent": 15,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 17,
"coverArt": 17,
"artist": "Swell Maps",
"title": "(1979) A Trip to Marineville",
"parent": 15,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 19,
"coverArt": 19,
"artist": "Ten Years After",
"title": "(1967) Ten Years After",
"parent": 18,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
}
]
}
}
}

View File

@@ -0,0 +1,100 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"albumList": {
"album": [
{
"id": 17,
"coverArt": 17,
"artist": "Swell Maps",
"title": "(1979) A Trip to Marineville",
"parent": 15,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 5,
"coverArt": 5,
"artist": "A Certain Ratio",
"title": "(1994) The Graveyard and the Ballroom",
"parent": 4,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 8,
"coverArt": 8,
"artist": "13th Floor Lowervators",
"title": "(1967) Easter Nowhere",
"parent": 7,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 19,
"coverArt": 19,
"artist": "Ten Years After",
"title": "(1967) Ten Years After",
"parent": 18,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 3,
"coverArt": 3,
"artist": "Jah Wobble, The Edge, Holger Czukay",
"title": "(1983) Snake Charmer",
"parent": 2,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 16,
"coverArt": 16,
"artist": "Swell Maps",
"title": "(1980) Jane From Occupied Europe",
"parent": 15,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 21,
"coverArt": 21,
"artist": "Captain Beefheart",
"title": "(1970) Lick My Decals Off, Bitch",
"parent": 20,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 13,
"coverArt": 13,
"artist": "There",
"title": "(2010) Anika",
"parent": 12,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 6,
"coverArt": 6,
"artist": "A Certain Ratio",
"title": "(1981) To EachOTHER.",
"parent": 4,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
},
{
"id": 9,
"coverArt": 9,
"artist": "13th Floor Lowervators",
"title": "(1966) The Psychedelic Sounds of the 13th Floor Elevators",
"parent": 7,
"isDir": true,
"created": "0001-01-01T00:00:00Z"
}
]
}
}
}

View File

@@ -0,0 +1,89 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"albumList2": {
"album": [
{
"id": 8,
"coverArt": 8,
"artistId": 3,
"artist": "13th Floor Elevators",
"name": "Easter Everywhere",
"created": "2019-06-13T12:57:28.850090338+01:00"
},
{
"id": 9,
"coverArt": 9,
"artistId": 3,
"artist": "13th Floor Elevators",
"name": "The Psychedelic Sounds of the 13th Floor Elevators",
"created": "2019-06-13T12:57:24.306717554+01:00"
},
{
"id": 5,
"coverArt": 5,
"artistId": 2,
"artist": "A Certain Ratio",
"name": "The Graveyard and the Ballroom",
"created": "2019-06-05T17:46:37.675917974+01:00"
},
{
"id": 6,
"artistId": 2,
"artist": "A Certain Ratio",
"name": "To Each...",
"created": "2019-05-23T15:12:02.921473302+01:00"
},
{
"id": 13,
"coverArt": 13,
"artistId": 4,
"artist": "Anikas",
"name": "Anika",
"created": "2019-05-23T15:12:02.921473302+01:00"
},
{
"id": 21,
"coverArt": 21,
"artistId": 7,
"artist": "Captain Beefheart & His Magic Band",
"name": "Lick My Decals Off, Baby",
"created": "2019-06-10T19:26:30.944742894+01:00"
},
{
"id": 3,
"coverArt": 3,
"artistId": 1,
"artist": "Jah Wobble, The Edge & Holger Czukay",
"name": "Snake Charmer",
"created": "2019-05-16T22:10:52+01:00"
},
{
"id": 16,
"coverArt": 16,
"artistId": 5,
"artist": "Swell Maps",
"name": "Jane From Occupied Europe",
"created": "2019-04-30T16:48:48+01:00"
},
{
"id": 17,
"coverArt": 17,
"artistId": 5,
"artist": "Swell Maps",
"name": "A Trip to Marineville",
"created": "2019-04-30T16:48:48+01:00"
},
{
"id": 19,
"coverArt": 19,
"artistId": 6,
"artist": "Ten Years After",
"name": "Ten Years After",
"created": "2019-04-30T16:48:30+01:00"
}
]
}
}
}

View File

@@ -0,0 +1,89 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"albumList2": {
"album": [
{
"id": 17,
"coverArt": 17,
"artistId": 5,
"artist": "Swell Maps",
"name": "A Trip to Marineville",
"created": "2019-04-30T16:48:48+01:00"
},
{
"id": 13,
"coverArt": 13,
"artistId": 4,
"artist": "Anikas",
"name": "Anika",
"created": "2019-05-23T15:12:02.921473302+01:00"
},
{
"id": 8,
"coverArt": 8,
"artistId": 3,
"artist": "13th Floor Elevators",
"name": "Easter Everywhere",
"created": "2019-06-13T12:57:28.850090338+01:00"
},
{
"id": 16,
"coverArt": 16,
"artistId": 5,
"artist": "Swell Maps",
"name": "Jane From Occupied Europe",
"created": "2019-04-30T16:48:48+01:00"
},
{
"id": 21,
"coverArt": 21,
"artistId": 7,
"artist": "Captain Beefheart & His Magic Band",
"name": "Lick My Decals Off, Baby",
"created": "2019-06-10T19:26:30.944742894+01:00"
},
{
"id": 3,
"coverArt": 3,
"artistId": 1,
"artist": "Jah Wobble, The Edge & Holger Czukay",
"name": "Snake Charmer",
"created": "2019-05-16T22:10:52+01:00"
},
{
"id": 19,
"coverArt": 19,
"artistId": 6,
"artist": "Ten Years After",
"name": "Ten Years After",
"created": "2019-04-30T16:48:30+01:00"
},
{
"id": 5,
"coverArt": 5,
"artistId": 2,
"artist": "A Certain Ratio",
"name": "The Graveyard and the Ballroom",
"created": "2019-06-05T17:46:37.675917974+01:00"
},
{
"id": 9,
"coverArt": 9,
"artistId": 3,
"artist": "13th Floor Elevators",
"name": "The Psychedelic Sounds of the 13th Floor Elevators",
"created": "2019-06-13T12:57:24.306717554+01:00"
},
{
"id": 6,
"artistId": 2,
"artist": "A Certain Ratio",
"name": "To Each...",
"created": "2019-05-23T15:12:02.921473302+01:00"
}
]
}
}
}

View File

@@ -0,0 +1,89 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"albumList2": {
"album": [
{
"id": 8,
"coverArt": 8,
"artistId": 3,
"artist": "13th Floor Elevators",
"name": "Easter Everywhere",
"created": "2019-06-13T12:57:28.850090338+01:00"
},
{
"id": 9,
"coverArt": 9,
"artistId": 3,
"artist": "13th Floor Elevators",
"name": "The Psychedelic Sounds of the 13th Floor Elevators",
"created": "2019-06-13T12:57:24.306717554+01:00"
},
{
"id": 21,
"coverArt": 21,
"artistId": 7,
"artist": "Captain Beefheart & His Magic Band",
"name": "Lick My Decals Off, Baby",
"created": "2019-06-10T19:26:30.944742894+01:00"
},
{
"id": 5,
"coverArt": 5,
"artistId": 2,
"artist": "A Certain Ratio",
"name": "The Graveyard and the Ballroom",
"created": "2019-06-05T17:46:37.675917974+01:00"
},
{
"id": 6,
"artistId": 2,
"artist": "A Certain Ratio",
"name": "To Each...",
"created": "2019-05-23T15:12:02.921473302+01:00"
},
{
"id": 13,
"coverArt": 13,
"artistId": 4,
"artist": "Anikas",
"name": "Anika",
"created": "2019-05-23T15:12:02.921473302+01:00"
},
{
"id": 3,
"coverArt": 3,
"artistId": 1,
"artist": "Jah Wobble, The Edge & Holger Czukay",
"name": "Snake Charmer",
"created": "2019-05-16T22:10:52+01:00"
},
{
"id": 16,
"coverArt": 16,
"artistId": 5,
"artist": "Swell Maps",
"name": "Jane From Occupied Europe",
"created": "2019-04-30T16:48:48+01:00"
},
{
"id": 17,
"coverArt": 17,
"artistId": 5,
"artist": "Swell Maps",
"name": "A Trip to Marineville",
"created": "2019-04-30T16:48:48+01:00"
},
{
"id": 19,
"coverArt": 19,
"artistId": 6,
"artist": "Ten Years After",
"name": "Ten Years After",
"created": "2019-04-30T16:48:30+01:00"
}
]
}
}
}

View File

@@ -0,0 +1,89 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"albumList2": {
"album": [
{
"id": 3,
"coverArt": 3,
"artistId": 1,
"artist": "Jah Wobble, The Edge & Holger Czukay",
"name": "Snake Charmer",
"created": "2019-05-16T22:10:52+01:00"
},
{
"id": 13,
"coverArt": 13,
"artistId": 4,
"artist": "Anikas",
"name": "Anika",
"created": "2019-05-23T15:12:02.921473302+01:00"
},
{
"id": 8,
"coverArt": 8,
"artistId": 3,
"artist": "13th Floor Elevators",
"name": "Easter Everywhere",
"created": "2019-06-13T12:57:28.850090338+01:00"
},
{
"id": 9,
"coverArt": 9,
"artistId": 3,
"artist": "13th Floor Elevators",
"name": "The Psychedelic Sounds of the 13th Floor Elevators",
"created": "2019-06-13T12:57:24.306717554+01:00"
},
{
"id": 19,
"coverArt": 19,
"artistId": 6,
"artist": "Ten Years After",
"name": "Ten Years After",
"created": "2019-04-30T16:48:30+01:00"
},
{
"id": 17,
"coverArt": 17,
"artistId": 5,
"artist": "Swell Maps",
"name": "A Trip to Marineville",
"created": "2019-04-30T16:48:48+01:00"
},
{
"id": 5,
"coverArt": 5,
"artistId": 2,
"artist": "A Certain Ratio",
"name": "The Graveyard and the Ballroom",
"created": "2019-06-05T17:46:37.675917974+01:00"
},
{
"id": 6,
"artistId": 2,
"artist": "A Certain Ratio",
"name": "To Each...",
"created": "2019-05-23T15:12:02.921473302+01:00"
},
{
"id": 16,
"coverArt": 16,
"artistId": 5,
"artist": "Swell Maps",
"name": "Jane From Occupied Europe",
"created": "2019-04-30T16:48:48+01:00"
},
{
"id": 21,
"coverArt": 21,
"artistId": 7,
"artist": "Captain Beefheart & His Magic Band",
"name": "Lick My Decals Off, Baby",
"created": "2019-06-10T19:26:30.944742894+01:00"
}
]
}
}
}

View File

@@ -0,0 +1,116 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"album": {
"id": 3,
"coverArt": 3,
"artistId": 1,
"artist": "Jah Wobble, The Edge & Holger Czukay",
"name": "Snake Charmer",
"created": "2019-05-16T22:10:52+01:00",
"song": [
{
"album": "Snake Charmer",
"albumId": 3,
"artist": "Jah Wobble, The Edge & Holger Czukay",
"artistId": 1,
"bitRate": 882,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-07-08T21:49:40.978045401+01:00",
"duration": 372,
"id": 1,
"parent": 3,
"path": "Jah Wobble, The Edge, Holger Czukay/(1983) Snake Charmer/01.05 Snake Charmer.flac",
"size": 41274185,
"suffix": "flac",
"title": "Snake Charmer",
"track": 1,
"discNumber": 1,
"type": "music"
},
{
"album": "Snake Charmer",
"albumId": 3,
"artist": "Jah Wobble, The Edge & Holger Czukay",
"artistId": 1,
"bitRate": 814,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-07-08T21:49:40.981605306+01:00",
"duration": 523,
"id": 3,
"parent": 3,
"path": "Jah Wobble, The Edge, Holger Czukay/(1983) Snake Charmer/02.05 Hold On to Your Dreams.flac",
"size": 53447545,
"suffix": "flac",
"title": "Hold On to Your Dreams",
"track": 2,
"discNumber": 1,
"type": "music"
},
{
"album": "Snake Charmer",
"albumId": 3,
"artist": "Jah Wobble, The Edge & Holger Czukay",
"artistId": 1,
"bitRate": 745,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-07-08T21:49:40.979981084+01:00",
"duration": 331,
"id": 2,
"parent": 3,
"path": "Jah Wobble, The Edge, Holger Czukay/(1983) Snake Charmer/03.05 It Was a Camel.flac",
"size": 31080508,
"suffix": "flac",
"title": "It Was a Camel",
"track": 3,
"discNumber": 1,
"type": "music"
},
{
"album": "Snake Charmer",
"albumId": 3,
"artist": "Jah Wobble, The Edge & Holger Czukay",
"artistId": 1,
"bitRate": 976,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-07-08T21:49:40.984853203+01:00",
"duration": 227,
"id": 5,
"parent": 3,
"path": "Jah Wobble, The Edge, Holger Czukay/(1983) Snake Charmer/04.05 Sleazy.flac",
"size": 27938750,
"suffix": "flac",
"title": "Sleazy",
"track": 4,
"discNumber": 1,
"type": "music"
},
{
"album": "Snake Charmer",
"albumId": 3,
"artist": "Jah Wobble, The Edge & Holger Czukay",
"artistId": 1,
"bitRate": 884,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "2019-07-08T21:49:40.983301328+01:00",
"duration": 418,
"id": 4,
"parent": 3,
"path": "Jah Wobble, The Edge, Holger Czukay/(1983) Snake Charmer/05.05 Snake Charmer (reprise).flac",
"size": 46427922,
"suffix": "flac",
"title": "Snake Charmer (reprise)",
"track": 5,
"discNumber": 1,
"type": "music"
}
]
}
}
}

View File

@@ -0,0 +1,10 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"album": {
"id": 2,
"created": "2019-05-16T22:10:21+01:00"
}
}
}

View File

@@ -0,0 +1,20 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"artist": {
"id": 1,
"name": "Jah Wobble, The Edge & Holger Czukay",
"album": [
{
"id": 3,
"coverArt": 3,
"artistId": 1,
"artist": "Jah Wobble, The Edge & Holger Czukay",
"name": "Snake Charmer",
"created": "2019-05-16T22:10:52+01:00"
}
]
}
}
}

View File

@@ -0,0 +1,28 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"artist": {
"id": 3,
"name": "13th Floor Elevators",
"album": [
{
"id": 8,
"coverArt": 8,
"artistId": 3,
"artist": "13th Floor Elevators",
"name": "Easter Everywhere",
"created": "2019-06-13T12:57:28.850090338+01:00"
},
{
"id": 9,
"coverArt": 9,
"artistId": 3,
"artist": "13th Floor Elevators",
"name": "The Psychedelic Sounds of the 13th Floor Elevators",
"created": "2019-06-13T12:57:24.306717554+01:00"
}
]
}
}
}

View File

@@ -0,0 +1,27 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"artist": {
"id": 2,
"name": "A Certain Ratio",
"album": [
{
"id": 5,
"coverArt": 5,
"artistId": 2,
"artist": "A Certain Ratio",
"name": "The Graveyard and the Ballroom",
"created": "2019-06-05T17:46:37.675917974+01:00"
},
{
"id": 6,
"artistId": 2,
"artist": "A Certain Ratio",
"name": "To Each...",
"created": "2019-05-23T15:12:02.921473302+01:00"
}
]
}
}
}

View File

@@ -0,0 +1,75 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"artists": {
"index": [
{
"name": "#",
"artist": [
{
"id": 3,
"name": "13th Floor Elevators",
"albumCount": 2
}
]
},
{
"name": "a",
"artist": [
{
"id": 2,
"name": "A Certain Ratio",
"albumCount": 2
},
{
"id": 4,
"name": "Anikas",
"albumCount": 1
}
]
},
{
"name": "c",
"artist": [
{
"id": 7,
"name": "Captain Beefheart & His Magic Band",
"albumCount": 1
}
]
},
{
"name": "j",
"artist": [
{
"id": 1,
"name": "Jah Wobble, The Edge & Holger Czukay",
"albumCount": 1
}
]
},
{
"name": "s",
"artist": [
{
"id": 5,
"name": "Swell Maps",
"albumCount": 2
}
]
},
{
"name": "t",
"artist": [
{
"id": 6,
"name": "Ten Years After",
"albumCount": 1
}
]
}
]
}
}
}

View File

@@ -0,0 +1,76 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"indexes": {
"lastModified": 0,
"index": [
{
"name": "#",
"artist": [
{
"id": 7,
"name": "13th Floor Lowervators",
"albumCount": 2
},
{
"id": 10,
"name": "___Anika",
"albumCount": 2
}
]
},
{
"name": "a",
"artist": [
{
"id": 4,
"name": "A Certain Ratio",
"albumCount": 2
}
]
},
{
"name": "c",
"artist": [
{
"id": 20,
"name": "Captain Beefheart",
"albumCount": 1
}
]
},
{
"name": "j",
"artist": [
{
"id": 2,
"name": "Jah Wobble, The Edge, Holger Czukay",
"albumCount": 1
}
]
},
{
"name": "s",
"artist": [
{
"id": 15,
"name": "Swell Maps",
"albumCount": 2
}
]
},
{
"name": "t",
"artist": [
{
"id": 18,
"name": "Ten Years After",
"albumCount": 1
}
]
}
]
}
}
}

View File

@@ -0,0 +1,103 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"directory": {
"id": 3,
"parent": 2,
"name": "(1983) Snake Charmer",
"child": [
{
"album": "(1983) Snake Charmer",
"artist": "Jah Wobble, The Edge & Holger Czukay",
"bitRate": 882,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "0001-01-01T00:00:00Z",
"duration": 372,
"id": 1,
"parent": 3,
"path": "Jah Wobble, The Edge, Holger Czukay/(1983) Snake Charmer/01.05 Snake Charmer.flac",
"size": 41274185,
"suffix": "flac",
"title": "Snake Charmer",
"track": 1,
"discNumber": 1,
"type": "music"
},
{
"album": "(1983) Snake Charmer",
"artist": "Jah Wobble, The Edge & Holger Czukay",
"bitRate": 814,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "0001-01-01T00:00:00Z",
"duration": 523,
"id": 3,
"parent": 3,
"path": "Jah Wobble, The Edge, Holger Czukay/(1983) Snake Charmer/02.05 Hold On to Your Dreams.flac",
"size": 53447545,
"suffix": "flac",
"title": "Hold On to Your Dreams",
"track": 2,
"discNumber": 1,
"type": "music"
},
{
"album": "(1983) Snake Charmer",
"artist": "Jah Wobble, The Edge & Holger Czukay",
"bitRate": 745,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "0001-01-01T00:00:00Z",
"duration": 331,
"id": 2,
"parent": 3,
"path": "Jah Wobble, The Edge, Holger Czukay/(1983) Snake Charmer/03.05 It Was a Camel.flac",
"size": 31080508,
"suffix": "flac",
"title": "It Was a Camel",
"track": 3,
"discNumber": 1,
"type": "music"
},
{
"album": "(1983) Snake Charmer",
"artist": "Jah Wobble, The Edge & Holger Czukay",
"bitRate": 976,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "0001-01-01T00:00:00Z",
"duration": 227,
"id": 5,
"parent": 3,
"path": "Jah Wobble, The Edge, Holger Czukay/(1983) Snake Charmer/04.05 Sleazy.flac",
"size": 27938750,
"suffix": "flac",
"title": "Sleazy",
"track": 4,
"discNumber": 1,
"type": "music"
},
{
"album": "(1983) Snake Charmer",
"artist": "Jah Wobble, The Edge & Holger Czukay",
"bitRate": 884,
"contentType": "audio/x-flac",
"coverArt": 3,
"created": "0001-01-01T00:00:00Z",
"duration": 418,
"id": 4,
"parent": 3,
"path": "Jah Wobble, The Edge, Holger Czukay/(1983) Snake Charmer/05.05 Snake Charmer (reprise).flac",
"size": 46427922,
"suffix": "flac",
"title": "Snake Charmer (reprise)",
"track": 5,
"discNumber": 1,
"type": "music"
}
]
}
}
}

View File

@@ -0,0 +1,21 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"directory": {
"id": 2,
"parent": 1,
"name": "Jah Wobble, The Edge, Holger Czukay",
"child": [
{
"coverArt": 3,
"created": "0001-01-01T00:00:00Z",
"id": 3,
"isDir": true,
"parent": 2,
"title": "(1983) Snake Charmer"
}
]
}
}
}

View File

@@ -0,0 +1,24 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"searchResult3": {
"artist": [
{
"id": 3,
"name": "13th Floor Elevators"
}
],
"album": [
{
"id": 9,
"coverArt": 9,
"artistId": 3,
"artist": "13th Floor Elevators",
"name": "The Psychedelic Sounds of the 13th Floor Elevators",
"created": "2019-06-13T12:57:24.306717554+01:00"
}
]
}
}
}

View File

@@ -0,0 +1,24 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"searchResult3": {
"artist": [
{
"id": 4,
"name": "Anikas"
}
],
"album": [
{
"id": 13,
"coverArt": 13,
"artistId": 4,
"artist": "Anikas",
"name": "Anika",
"created": "2019-05-23T15:12:02.921473302+01:00"
}
]
}
}
}

View File

@@ -0,0 +1,14 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"searchResult3": {
"artist": [
{
"id": 2,
"name": "A Certain Ratio"
}
]
}
}
}

View File

@@ -0,0 +1,135 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"searchResult2": {
"artist": [
{
"id": 7,
"parent": 1,
"name": "13th Floor Lowervators"
}
],
"album": [
{
"coverArt": 9,
"created": "0001-01-01T00:00:00Z",
"id": 9,
"isDir": true,
"parent": 7,
"title": "(1966) The Psychedelic Sounds of the 13th Floor Elevators"
}
],
"song": [
{
"album": "(1994) The Graveyard and the Ballroom",
"artist": "A Certain Ratio",
"bitRate": 894,
"contentType": "audio/x-flac",
"coverArt": 5,
"created": "0001-01-01T00:00:00Z",
"duration": 332,
"id": 6,
"parent": 5,
"path": "A Certain Ratio/(1994) The Graveyard and the Ballroom/13.14 Flight.flac",
"size": 37302417,
"suffix": "flac",
"title": "Flight",
"track": 13,
"discNumber": 1,
"type": "music"
},
{
"album": "(1966) The Psychedelic Sounds of the 13th Floor Elevators",
"artist": "13th Floor Elevators",
"bitRate": 244,
"contentType": "audio/mpeg",
"coverArt": 9,
"created": "0001-01-01T00:00:00Z",
"duration": 154,
"id": 40,
"parent": 9,
"path": "13th Floor Lowervators/(1966) The Psychedelic Sounds of the 13th Floor Elevators/13.21 Before You Accuse Me.mp3",
"size": 4722688,
"suffix": "mp3",
"title": "Before You Accuse Me",
"track": 13,
"discNumber": 1,
"type": "music"
},
{
"album": "(1980) Jane From Occupied Europe",
"artist": "Swell Maps",
"bitRate": 1204,
"contentType": "audio/x-flac",
"coverArt": 16,
"created": "0001-01-01T00:00:00Z",
"duration": 220,
"id": 76,
"parent": 16,
"path": "Swell Maps/(1980) Jane From Occupied Europe/13.16 Blenheim Shots.flac",
"size": 33140852,
"suffix": "flac",
"title": "Blenheim Shots",
"track": 13,
"discNumber": 1,
"type": "music"
},
{
"album": "(1979) A Trip to Marineville",
"artist": "Swell Maps",
"bitRate": 295,
"contentType": "audio/mpeg",
"coverArt": 17,
"created": "0001-01-01T00:00:00Z",
"duration": 463,
"id": 93,
"parent": 17,
"path": "Swell Maps/(1979) A Trip to Marineville/d01 13.14 Adventuring Into Basketry.mp3",
"size": 17119309,
"suffix": "mp3",
"title": "Adventuring Into Basketry",
"track": 13,
"discNumber": 1,
"type": "music"
},
{
"album": "(1967) Ten Years After",
"artist": "Ten Years After",
"bitRate": 192,
"contentType": "audio/ogg",
"coverArt": 19,
"created": "0001-01-01T00:00:00Z",
"duration": 433,
"id": 107,
"parent": 19,
"path": "Ten Years After/(1967) Ten Years After/13.15 Spider in My Web.ogg",
"size": 10400948,
"suffix": "ogg",
"title": "Spider in My Web",
"track": 13,
"discNumber": 1,
"type": "music"
},
{
"album": "(1970) Lick My Decals Off, Bitch",
"artist": "Captain Beefheart & His Magic Band",
"bitRate": 160,
"contentType": "audio/mpeg",
"coverArt": 21,
"created": "0001-01-01T00:00:00Z",
"duration": 152,
"id": 129,
"parent": 21,
"path": "Captain Beefheart/(1970) Lick My Decals Off, Bitch/13.15 Space-Age Couple.mp3",
"size": 3054515,
"suffix": "mp3",
"title": "Space-Age Couple",
"track": 13,
"discNumber": 1,
"type": "music"
}
]
}
}
}

View File

@@ -0,0 +1,25 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"searchResult2": {
"artist": [
{
"id": 10,
"parent": 1,
"name": "___Anika"
}
],
"album": [
{
"coverArt": 13,
"created": "0001-01-01T00:00:00Z",
"id": 13,
"isDir": true,
"parent": 12,
"title": "(2010) Anika"
}
]
}
}
}

View File

@@ -0,0 +1,15 @@
{
"subsonic-response": {
"status": "ok",
"version": "1.9.0",
"searchResult2": {
"artist": [
{
"id": 4,
"parent": 1,
"name": "A Certain Ratio"
}
]
}
}
}