From a1a18f77a50804e0127dfa4b0f5240c49c541184 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Mon, 2 Jul 2012 21:24:02 -0700 Subject: Initial Commit --- .../src/main/webapp/api-getRandomSongs.jsp | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 subsonic-site/src/main/webapp/api-getRandomSongs.jsp (limited to 'subsonic-site/src/main/webapp/api-getRandomSongs.jsp') diff --git a/subsonic-site/src/main/webapp/api-getRandomSongs.jsp b/subsonic-site/src/main/webapp/api-getRandomSongs.jsp new file mode 100644 index 00000000..bba4fccb --- /dev/null +++ b/subsonic-site/src/main/webapp/api-getRandomSongs.jsp @@ -0,0 +1,52 @@ +

getRandomSongs

+ +

+ http://your-server/rest/getRandomSongs.view +
Since 1.2.0 +

+ +

+ Returns random songs matching the given criteria. +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterRequiredDefaultComment
sizeNo10The maximum number of songs to return. Max 500.
genreNoOnly returns songs belonging to this genre.
fromYearNoOnly return songs published after or in this year.
toYearNoOnly return songs published before or in this year.
musicFolderIdNoOnly return songs in the music folder with the given ID. See getMusicFolders.
+

+ Returns a <subsonic-response> element with a nested <randomSongs> + element on success. Example. +

-- cgit v1.2.3