PlayList |
MediaLibrary.createFolder() |
Creates a new folder under the Music playlist/folder.
|
PlayList |
MediaLibrary.createFolder(Long parentId) |
Creates a new folder at a specific location.
|
PlayList |
MediaLibrary.createPlayList(Long id,
Long parentId,
String name,
boolean folder) |
Creates a new PlayList object with the given name and id.
|
PlayList |
MediaLibrary.createPlayList(Long parentId,
String name) |
Creates a new PlayList at a specific location.
|
PlayList |
MediaLibrary.createPlayList(String name) |
Creates a new PlayList under the Music playlist/folder.
|
AudioSong |
MediaLibrary.fetchCollections(AudioSong song) |
Loads dependent collections that otherwise wouldn't have been loaded.
|
List<AudioSong> |
MediaLibrary.getAlbumSongs(String album,
String artist) |
Returns a list of songs specified by the given album and artist.
|
PlayList |
MediaLibrary.getLibrary() |
Returns the master playlist that contains all library objects.
|
PlayList |
MediaLibrary.getPlayList(long playListPersistentId) |
|
List<PlayList> |
MediaLibrary.getPlayLists() |
List of all playlists.
|
AudioSong |
MediaLibrary.getSong(Long id) |
|
Iterable<AudioSong> |
MediaLibrary.getSongs() |
Returns an Iterable that can be used to iterate over all songs.
|
Iterable<AudioSong> |
MediaLibrary.getSongs(Collection<Long> ids) |
Returns an Iterable that can be used to iterate over the specified songs.
|
default Iterable<AudioSong> |
MediaLibrary.getSongsOrderedBy(String sortProperty) |
Returns an Iterable that can be used to iterate over all songs.
|
Iterable<AudioSong> |
MediaLibrary.getSongsOrderedBy(String sortProperty,
PlayList.SortDirection direction) |
Returns an Iterable that can be used to iterate over all songs.
|
Iterable<AudioSong> |
MediaLibrary.getSongsOrderedBy(String sortProperty,
PlayList.SortDirection direction,
int limit) |
Returns an Iterable that can be used to iterate over all songs.
|
List<AudioSong> |
MediaLibrary.getSongsWithFileAndSize(String filename,
int size) |
Deprecated.
|
List<AudioSong> |
MediaLibrary.getSongsWithNameArtistAlbumTotalTime(String name,
String artist,
String album,
int time) |
Deprecated.
|
List<AudioSong> |
MediaLibrary.getSongsWithoutProperties(Map<String,Object> properties) |
Get all songs without properties equal to the given value.
|
List<AudioSong> |
MediaLibrary.getSongsWithProperties(Map<String,Object> properties) |
Get all song ids for songs that match all given properties.
|
List<AudioSong> |
MediaLibrary.getSongsWithPropertiesLike(Map<String,Object> properties) |
Get all songs with a properties that are like the given properties.
|
Set<AudioSong> |
MediaLibrary.getSongsWithTrackIdTotalTime(Set<AudioId> ids,
int time) |
Deprecated.
|
List<AudioSong> |
MediaLibrary.getUnprotectedSongsAddedAfter(Date time) |
Return unprotected songs added after a certain date.
|