|
|
@ -1138,9 +1138,9 @@ public class SubsonicRESTController { |
|
|
|
} else if ("newest".equals(type)) { |
|
|
|
} else if ("newest".equals(type)) { |
|
|
|
albums = albumDao.getNewestAlbums(offset, size, musicFolders); |
|
|
|
albums = albumDao.getNewestAlbums(offset, size, musicFolders); |
|
|
|
} else if ("alphabeticalByArtist".equals(type)) { |
|
|
|
} else if ("alphabeticalByArtist".equals(type)) { |
|
|
|
albums = albumDao.getAlphabetialAlbums(offset, size, true, musicFolders); |
|
|
|
albums = albumDao.getAlphabeticalAlbums(offset, size, true, false, musicFolders); |
|
|
|
} else if ("alphabeticalByName".equals(type)) { |
|
|
|
} else if ("alphabeticalByName".equals(type)) { |
|
|
|
albums = albumDao.getAlphabetialAlbums(offset, size, false, musicFolders); |
|
|
|
albums = albumDao.getAlphabeticalAlbums(offset, size, false, false, musicFolders); |
|
|
|
} else if ("byGenre".equals(type)) { |
|
|
|
} else if ("byGenre".equals(type)) { |
|
|
|
albums = albumDao.getAlbumsByGenre(offset, size, getRequiredStringParameter(request, "genre"), musicFolders); |
|
|
|
albums = albumDao.getAlbumsByGenre(offset, size, getRequiredStringParameter(request, "genre"), musicFolders); |
|
|
|
} else if ("byYear".equals(type)) { |
|
|
|
} else if ("byYear".equals(type)) { |
|
|
|