Skip to content

Commit

Permalink
ampache-subsonic docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlan-00 committed Mar 22, 2023
1 parent 4f2be07 commit e65a0f2
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"type": "ampache",
"serverVersion": "6.0.0"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"type": "ampache",
"serverVersion": "6.0.0"
}
}
}
2 changes: 1 addition & 1 deletion docs/ampache-subsonic/json-responses/getArtist.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"songCount": 12,
"created": "2021-02-23T04:24:48+00:00",
"duration": 4568,
"playCount": 3,
"playCount": 1,
"artistId": "100000002",
"artist": "Synthetic",
"year": 2007,
Expand Down
4 changes: 1 addition & 3 deletions docs/ampache-subsonic/json-responses/getLicense.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"serverVersion": "6.0.0",
"license": {
"valid": true,
"email": "webmaster@ampache.org",
"key": "ABC123DEF",
"date": "2009-09-03T14:46:43"
"email": "webmaster@ampache.org"
}
}
}
2 changes: 1 addition & 1 deletion docs/ampache-subsonic/json-responses/jukeboxControl.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"jukeboxPlaylist": {
"currentIndex": 0,
"playing": false,
"gain": "35",
"gain": "100",
"position": 0
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/ampache-subsonic/json-responses/setRating.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"type": "ampache",
"serverVersion": "6.0.0"
}
}
}
2 changes: 1 addition & 1 deletion docs/ampache-subsonic/json-responses/startScan.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"serverVersion": "6.0.0",
"scanStatus": {
"scanning": false,
"count": 124
"count": 114
}
}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.1"/>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.1" type="ampache" serverVersion="6.0.0"/>
4 changes: 2 additions & 2 deletions docs/ampache-subsonic/xml-responses/createPlaylist.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.1" type="ampache" serverVersion="6.0.0">
<playlist id="800000076" name="testcreate" owner="admin" public="true" created="2023-03-16T03:18:50+00:00" changed="2023-03-16T03:18:50+00:00" songCount="1" duration="304">
<entry id="300000060" parent="200000002" title="BrownSmoke" isDir="false" isVideo="false" type="music" albumId="200000002" album="Colorsmoke EP" artistId="100000002" artist="Synthetic" coverArt="300000060" duration="304" bitRate="20" userRating="5" averageRating="5" track="4" year="2007" genre="Electronic" size="792375" discNumber="1" suffix="wma" contentType="audio/x-ms-wma" path="Synthetic/Synthetic_-_Colorsmoke_EP-20k217-2007/04-Synthetic_-_BrownSmokeYSBM20k22khS.wma"/>
<playlist id="800000066" name="testcreate" owner="user" public="true" songCount="1" duration="304" created="2023-03-22T23:27:03+00:00" changed="2023-03-22T23:27:03+00:00">
<entry id="300000060" parent="200000002" title="BrownSmoke" isDir="false" isVideo="false" type="music" albumId="200000002" album="Colorsmoke EP" artistId="100000002" artist="Synthetic" coverArt="300000060" duration="304" bitRate="20" userRating="5" track="4" year="2007" genre="Electronic" size="792375" discNumber="1" suffix="wma" contentType="audio/x-ms-wma" path="Synthetic/Synthetic_-_Colorsmoke_EP-20k217-2007/04-Synthetic_-_BrownSmokeYSBM20k22khS.wma"/>
</playlist>
</subsonic-response>
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.1"/>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.1" type="ampache" serverVersion="6.0.0"/>
2 changes: 1 addition & 1 deletion docs/ampache-subsonic/xml-responses/getLicense.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.1" type="ampache" serverVersion="6.0.0">
<license valid="true" email="webmaster@ampache.org" key="ABC123DEF" date="2009-09-03T14:46:43"/>
<license valid="true" email="webmaster@ampache.org"/>
</subsonic-response>
2 changes: 1 addition & 1 deletion docs/ampache-subsonic/xml-responses/getPlaylist.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.1" type="ampache" serverVersion="6.0.0">
<playlist id="800000000" name=" ()" owner="" public="true" created="1970-01-01T00:00:00+00:00" changed="1970-01-01T00:00:00+00:00" songCount="0" duration="0"/>
<playlist id="800000000" name=" ()" owner="" public="true" songCount="0" duration="0" created="1970-01-01T00:00:00+00:00" changed="1970-01-01T00:00:00+00:00"/>
</subsonic-response>
2 changes: 1 addition & 1 deletion docs/ampache-subsonic/xml-responses/getScanStatus.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.1" type="ampache" serverVersion="6.0.0">
<scanStatus scanning="false" count="124"/>
<scanStatus scanning="false" count="114"/>
</subsonic-response>
2 changes: 1 addition & 1 deletion docs/ampache-subsonic/xml-responses/startScan.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.16.1" type="ampache" serverVersion="6.0.0">
<scanStatus scanning="false" count="124"/>
<scanStatus scanning="false" count="114"/>
</subsonic-response>

0 comments on commit e65a0f2

Please sign in to comment.