seperate routes, provide robust handler types, use mux
This commit is contained in:
135
server/ctrlsubsonic/testdata/test_search_two_q_13
vendored
Normal file
135
server/ctrlsubsonic/testdata/test_search_two_q_13
vendored
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user