|
|
@ -62,7 +62,7 @@ public class RandomPlayQueueController { |
|
|
|
ModelMap model, |
|
|
|
ModelMap model, |
|
|
|
HttpServletRequest request, |
|
|
|
HttpServletRequest request, |
|
|
|
HttpServletResponse response, |
|
|
|
HttpServletResponse response, |
|
|
|
@RequestParam(value = "size") int size, |
|
|
|
@RequestParam(value = "size") Integer size, |
|
|
|
@RequestParam(value = "genre", required = false) String genre, |
|
|
|
@RequestParam(value = "genre", required = false) String genre, |
|
|
|
@RequestParam(value = "year", required = false) String year, |
|
|
|
@RequestParam(value = "year", required = false) String year, |
|
|
|
@RequestParam(value = "songRating", required = false) String songRating, |
|
|
|
@RequestParam(value = "songRating", required = false) String songRating, |
|
|
@ -87,6 +87,10 @@ public class RandomPlayQueueController { |
|
|
|
boolean doesShowStarredSongs = false; |
|
|
|
boolean doesShowStarredSongs = false; |
|
|
|
boolean doesShowUnstarredSongs = false; |
|
|
|
boolean doesShowUnstarredSongs = false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (size == null) { |
|
|
|
|
|
|
|
size = 24; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Handle the genre filter
|
|
|
|
// Handle the genre filter
|
|
|
|
if (StringUtils.equalsIgnoreCase("any", genre)) { |
|
|
|
if (StringUtils.equalsIgnoreCase("any", genre)) { |
|
|
|
genre = null; |
|
|
|
genre = null; |
|
|
|