public interface LibraryManager
Modifier and Type | Method and Description |
---|---|
java.util.List<Actor> |
findActors(java.lang.String key,
int maxReturned) |
java.util.List<Director> |
findDirectors(java.lang.String key,
int maxReturned) |
java.util.List<VideoBase> |
findVideos(java.util.regex.Pattern pattern,
boolean allowRestricted,
int maxReturned) |
java.util.List<Writer> |
findWriters(java.lang.String key,
int maxReturned) |
java.util.List<VideoBase> |
getActorVideos(int key) |
java.util.List<VideoBase> |
getDirectorVideos(int key) |
long |
getLastUpdateTime() |
java.util.List<VideoBase> |
getLibrarySectionVideos(int key) |
int |
getMovieCount(boolean allowRestricted) |
java.util.List<VideoBase> |
getNewestVideos(int count,
boolean allowRestricted) |
VideoBase |
getRandomMovie(boolean allowRestricted) |
RestRefreshStatus |
getRefreshLibraryFromPlexStatus()
Fetch a status about how the RefreshLibraryFromPlex thread is doing.
|
java.util.List<LibrarySection> |
getSectionList() |
java.util.List<LibrarySection> |
getSectionList(boolean allowRestricted) |
int |
getTVEpisodeCount(boolean allowRestricted)
Return the number of TV episodes we have
|
TVSeason |
getTVSeasonFromHashKey(int key) |
int |
getTVShowCount(boolean allowRestricted) |
VideoBase |
getVideoBaseFromKey(int key,
boolean allowRestricted) |
Video |
getVideoFromKey(int key,
boolean allowRestricted) |
java.util.List<VideoBase> |
getWriterVideos(int key) |
void |
startRefreshLibraryFromPlex()
Start the slow background thread that refreshes our database from plex.
|
java.util.List<LibrarySection> getSectionList()
java.util.List<LibrarySection> getSectionList(boolean allowRestricted)
VideoBase getRandomMovie(boolean allowRestricted)
Video getVideoFromKey(int key, boolean allowRestricted)
VideoBase getVideoBaseFromKey(int key, boolean allowRestricted)
java.util.List<VideoBase> getNewestVideos(int count, boolean allowRestricted)
java.util.List<VideoBase> findVideos(java.util.regex.Pattern pattern, boolean allowRestricted, int maxReturned)
java.util.List<Actor> findActors(java.lang.String key, int maxReturned)
java.util.List<Director> findDirectors(java.lang.String key, int maxReturned)
java.util.List<Writer> findWriters(java.lang.String key, int maxReturned)
TVSeason getTVSeasonFromHashKey(int key)
int getMovieCount(boolean allowRestricted)
int getTVShowCount(boolean allowRestricted)
int getTVEpisodeCount(boolean allowRestricted)
allowRestricted
- Note: allowRestricted is ignoredjava.util.List<VideoBase> getLibrarySectionVideos(int key)
java.util.List<VideoBase> getDirectorVideos(int key)
java.util.List<VideoBase> getWriterVideos(int key)
java.util.List<VideoBase> getActorVideos(int key)
long getLastUpdateTime()
void startRefreshLibraryFromPlex()
RestRefreshStatus getRefreshLibraryFromPlexStatus()