Skip to content

Commit 0a4697c

Browse files
committed
smartlists
1 parent a21bfb8 commit 0a4697c

8 files changed

Lines changed: 680 additions & 0 deletions

File tree

docs/json-responses/smartlist.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"id": "155",
3+
"name": "renamejson",
4+
"owner": "user",
5+
"user": {
6+
"id": "smart_4",
7+
"username": "user"
8+
},
9+
"items": 0,
10+
"type": "private",
11+
"art": "https:\/\/music.com.au\/image.php?object_id=155&object_type=search",
12+
"has_access": true,
13+
"has_collaborate": true,
14+
"has_art": false,
15+
"flag": false,
16+
"rating": null,
17+
"averagerating": null,
18+
"md5": null,
19+
"last_update": 1751350647
20+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"success": "playlist deleted"
3+
}
Lines changed: 322 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,322 @@
1+
{
2+
"total_count": 11,
3+
"md5": "b6d12c071f022b176a4c2496e2e533ce",
4+
"song": [
5+
{
6+
"id": "95",
7+
"title": "Spirus Falls",
8+
"name": "Spirus Falls",
9+
"artist": {
10+
"id": "14",
11+
"name": "Nofi\/found.",
12+
"prefix": null,
13+
"basename": "Nofi\/found."
14+
},
15+
"artists": [
16+
{
17+
"id": "14",
18+
"name": "Nofi\/found.",
19+
"prefix": null,
20+
"basename": "Nofi\/found."
21+
}
22+
],
23+
"album": {
24+
"id": "8",
25+
"name": "Nofi Devices",
26+
"prefix": null,
27+
"basename": "Nofi Devices"
28+
},
29+
"albumartist": {
30+
"id": "14",
31+
"name": "Nofi\/found.",
32+
"prefix": null,
33+
"basename": "Nofi\/found."
34+
},
35+
"disk": 1,
36+
"disksubtitle": null,
37+
"track": 2,
38+
"filename": "\/mnt\/files-music\/ampache-test\/music\/Nofi_found\/Nofi Devices LP\/02_Spirus_Falls.mp3",
39+
"genre": [
40+
{
41+
"id": "5",
42+
"name": "Electronica"
43+
},
44+
{
45+
"id": "6",
46+
"name": "Dance"
47+
}
48+
],
49+
"playlisttrack": 1,
50+
"time": 327,
51+
"year": 0,
52+
"format": "mp3",
53+
"stream_format": "mp3",
54+
"bitrate": 192000,
55+
"stream_bitrate": 32000,
56+
"rate": 44100,
57+
"mode": "cbr",
58+
"mime": "audio\/mpeg",
59+
"stream_mime": "audio\/mpeg",
60+
"url": "https:\/\/music.com.au\/play\/index.php?ssid=cfj3f237d563f479f5223k23189dbb34&type=song&oid=95&uid=4&transcode_to=mp3&bitrate=32000&player=api&name=Nofi-found.%20-%20Spirus%20Falls.mp3",
61+
"size": 7875775,
62+
"mbid": null,
63+
"art": "https:\/\/music.com.au\/image.php?object_id=8&object_type=album&name=art.jpg",
64+
"has_art": true,
65+
"flag": false,
66+
"rating": 5,
67+
"averagerating": null,
68+
"playcount": 1,
69+
"catalog": 1,
70+
"composer": "Jeffrey Melton",
71+
"channels": 2,
72+
"comment": "8A114B0B+332232+11+150+3703+28283+76364+107382+132131+156082+177051+217892+239975+285087",
73+
"license": null,
74+
"publisher": "archive.org",
75+
"language": null,
76+
"lyrics": null,
77+
"replaygain_album_gain": null,
78+
"replaygain_album_peak": null,
79+
"replaygain_track_gain": -1.53,
80+
"replaygain_track_peak": 1,
81+
"r128_album_gain": null,
82+
"r128_track_gain": null
83+
},
84+
{
85+
"id": "93",
86+
"title": "Scribnus 3",
87+
"name": "Scribnus 3",
88+
"artist": {
89+
"id": "14",
90+
"name": "Nofi\/found.",
91+
"prefix": null,
92+
"basename": "Nofi\/found."
93+
},
94+
"artists": [
95+
{
96+
"id": "14",
97+
"name": "Nofi\/found.",
98+
"prefix": null,
99+
"basename": "Nofi\/found."
100+
}
101+
],
102+
"album": {
103+
"id": "8",
104+
"name": "Nofi Devices",
105+
"prefix": null,
106+
"basename": "Nofi Devices"
107+
},
108+
"albumartist": {
109+
"id": "14",
110+
"name": "Nofi\/found.",
111+
"prefix": null,
112+
"basename": "Nofi\/found."
113+
},
114+
"disk": 1,
115+
"disksubtitle": null,
116+
"track": 3,
117+
"filename": "\/mnt\/files-music\/ampache-test\/music\/Nofi_found\/Nofi Devices LP\/03_Scribnus_3.mp3",
118+
"genre": [
119+
{
120+
"id": "5",
121+
"name": "Electronica"
122+
},
123+
{
124+
"id": "6",
125+
"name": "Dance"
126+
}
127+
],
128+
"playlisttrack": 2,
129+
"time": 641,
130+
"year": 0,
131+
"format": "mp3",
132+
"stream_format": "mp3",
133+
"bitrate": 192000,
134+
"stream_bitrate": 32000,
135+
"rate": 44100,
136+
"mode": "cbr",
137+
"mime": "audio\/mpeg",
138+
"stream_mime": "audio\/mpeg",
139+
"url": "https:\/\/music.com.au\/play\/index.php?ssid=cfj3f237d563f479f5223k23189dbb34&type=song&oid=93&uid=4&transcode_to=mp3&bitrate=32000&player=api&name=Nofi-found.%20-%20Scribnus%203.mp3",
140+
"size": 15400002,
141+
"mbid": null,
142+
"art": "https:\/\/music.com.au\/image.php?object_id=8&object_type=album&name=art.jpg",
143+
"has_art": true,
144+
"flag": false,
145+
"rating": null,
146+
"averagerating": null,
147+
"playcount": 4,
148+
"catalog": 1,
149+
"composer": "Jeffrey Melton",
150+
"channels": 2,
151+
"comment": "8A114B0B+332232+11+150+3703+28283+76364+107382+132131+156082+177051+217892+239975+285087",
152+
"license": null,
153+
"publisher": "archive.org",
154+
"language": null,
155+
"lyrics": null,
156+
"replaygain_album_gain": null,
157+
"replaygain_album_peak": null,
158+
"replaygain_track_gain": 1.53,
159+
"replaygain_track_peak": 0.989,
160+
"r128_album_gain": null,
161+
"r128_track_gain": null
162+
},
163+
{
164+
"id": "85",
165+
"title": "Beq Ultra Fat",
166+
"name": "Beq Ultra Fat",
167+
"artist": {
168+
"id": "14",
169+
"name": "Nofi\/found.",
170+
"prefix": null,
171+
"basename": "Nofi\/found."
172+
},
173+
"artists": [
174+
{
175+
"id": "14",
176+
"name": "Nofi\/found.",
177+
"prefix": null,
178+
"basename": "Nofi\/found."
179+
}
180+
],
181+
"album": {
182+
"id": "8",
183+
"name": "Nofi Devices",
184+
"prefix": null,
185+
"basename": "Nofi Devices"
186+
},
187+
"albumartist": {
188+
"id": "14",
189+
"name": "Nofi\/found.",
190+
"prefix": null,
191+
"basename": "Nofi\/found."
192+
},
193+
"disk": 1,
194+
"disksubtitle": null,
195+
"track": 4,
196+
"filename": "\/mnt\/files-music\/ampache-test\/music\/Nofi_found\/Nofi Devices LP\/04_Beq_Ultra_Fat.mp3",
197+
"genre": [
198+
{
199+
"id": "5",
200+
"name": "Electronica"
201+
},
202+
{
203+
"id": "6",
204+
"name": "Dance"
205+
}
206+
],
207+
"playlisttrack": 3,
208+
"time": 413,
209+
"year": 0,
210+
"format": "mp3",
211+
"stream_format": "mp3",
212+
"bitrate": 192000,
213+
"stream_bitrate": 32000,
214+
"rate": 44100,
215+
"mode": "cbr",
216+
"mime": "audio\/mpeg",
217+
"stream_mime": "audio\/mpeg",
218+
"url": "https:\/\/music.com.au\/play\/index.php?ssid=cfj3f237d563f479f5223k23189dbb34&type=song&oid=85&uid=4&transcode_to=mp3&bitrate=32000&player=api&name=Nofi-found.%20-%20Beq%20Ultra%20Fat.mp3",
219+
"size": 9935896,
220+
"mbid": null,
221+
"art": "https:\/\/music.com.au\/image.php?object_id=8&object_type=album&name=art.jpg",
222+
"has_art": true,
223+
"flag": false,
224+
"rating": null,
225+
"averagerating": null,
226+
"playcount": 0,
227+
"catalog": 1,
228+
"composer": "Jeffrey Melton",
229+
"channels": 2,
230+
"comment": "8A114B0B+332232+11+150+3703+28283+76364+107382+132131+156082+177051+217892+239975+285087",
231+
"license": null,
232+
"publisher": "archive.org",
233+
"language": null,
234+
"lyrics": null,
235+
"replaygain_album_gain": null,
236+
"replaygain_album_peak": null,
237+
"replaygain_track_gain": 0.94,
238+
"replaygain_track_peak": 0.989,
239+
"r128_album_gain": null,
240+
"r128_track_gain": null
241+
},
242+
{
243+
"id": "86",
244+
"title": "Caloonashine",
245+
"name": "Caloonashine",
246+
"artist": {
247+
"id": "14",
248+
"name": "Nofi\/found.",
249+
"prefix": null,
250+
"basename": "Nofi\/found."
251+
},
252+
"artists": [
253+
{
254+
"id": "14",
255+
"name": "Nofi\/found.",
256+
"prefix": null,
257+
"basename": "Nofi\/found."
258+
}
259+
],
260+
"album": {
261+
"id": "8",
262+
"name": "Nofi Devices",
263+
"prefix": null,
264+
"basename": "Nofi Devices"
265+
},
266+
"albumartist": {
267+
"id": "14",
268+
"name": "Nofi\/found.",
269+
"prefix": null,
270+
"basename": "Nofi\/found."
271+
},
272+
"disk": 1,
273+
"disksubtitle": null,
274+
"track": 5,
275+
"filename": "\/mnt\/files-music\/ampache-test\/music\/Nofi_found\/Nofi Devices LP\/05_Caloonashine.mp3",
276+
"genre": [
277+
{
278+
"id": "5",
279+
"name": "Electronica"
280+
},
281+
{
282+
"id": "6",
283+
"name": "Dance"
284+
}
285+
],
286+
"playlisttrack": 4,
287+
"time": 330,
288+
"year": 0,
289+
"format": "mp3",
290+
"stream_format": "mp3",
291+
"bitrate": 192000,
292+
"stream_bitrate": 32000,
293+
"rate": 44100,
294+
"mode": "cbr",
295+
"mime": "audio\/mpeg",
296+
"stream_mime": "audio\/mpeg",
297+
"url": "https:\/\/music.com.au\/play\/index.php?ssid=cfj3f237d563f479f5223k23189dbb34&type=song&oid=86&uid=4&transcode_to=mp3&bitrate=32000&player=api&name=Nofi-found.%20-%20Caloonashine.mp3",
298+
"size": 7929692,
299+
"mbid": null,
300+
"art": "https:\/\/music.com.au\/image.php?object_id=8&object_type=album&name=art.jpg",
301+
"has_art": true,
302+
"flag": false,
303+
"rating": 5,
304+
"averagerating": null,
305+
"playcount": 2,
306+
"catalog": 1,
307+
"composer": "Jeffrey Melton",
308+
"channels": 2,
309+
"comment": "8A114B0B+332232+11+150+3703+28283+76364+107382+132131+156082+177051+217892+239975+285087",
310+
"license": null,
311+
"publisher": "archive.org",
312+
"language": null,
313+
"lyrics": null,
314+
"replaygain_album_gain": null,
315+
"replaygain_album_peak": null,
316+
"replaygain_track_gain": -0.35,
317+
"replaygain_track_peak": 0.955,
318+
"r128_album_gain": null,
319+
"r128_track_gain": null
320+
}
321+
]
322+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"total_count": 1,
3+
"md5": "944a9f4dea178d87e8cc3bd19b9fecc6",
4+
"playlist": [
5+
{
6+
"id": "smart_4",
7+
"name": "random - user - private",
8+
"owner": "user",
9+
"user": {
10+
"id": "4",
11+
"username": "user"
12+
},
13+
"items": 43,
14+
"type": "private",
15+
"art": "https:\/\/music.com.au\/image.php?object_id=4&object_type=search",
16+
"has_access": true,
17+
"has_collaborate": true,
18+
"has_art": false,
19+
"flag": false,
20+
"rating": null,
21+
"averagerating": null,
22+
"md5": null,
23+
"last_update": 1614054938
24+
}
25+
]
26+
}

0 commit comments

Comments
 (0)