public interface BuckoVidLib
Modifier and Type | Method and Description |
---|---|
java.util.List<RestVideo> |
findVideosAndThings(java.lang.String key,
boolean allowRestricted,
int maxReturned) |
java.util.List<VideoBase> |
getActorVideos(int key) |
int |
getBackgroundFit(javax.servlet.http.HttpServletRequest request,
boolean artShow)
Get the background fit style.
|
java.util.List<VideoBase> |
getDirectorVideos(int key) |
java.util.List<FailedToRip> |
getFailedToRip() |
int |
getFindMaxResults(javax.servlet.http.HttpServletRequest request) |
long |
getLastUpdateTime() |
java.util.List<VideoBase> |
getLibraryListVideos(int key) |
int |
getMovieCount(boolean allowRestricted) |
java.lang.String |
getPlexUrl()
Get the base url for our plex server from the properties file.
|
RestVideo |
getRandomMovie(boolean allowRestricted) |
java.util.List<VideoBase> |
getRecentlyAdded(int count,
boolean allowRestricted) |
RestRefreshStatus |
getRefreshLibraryFromPlexStatus() |
java.util.List<LibrarySection> |
getSectionList() |
java.util.List<LibrarySection> |
getSectionList(boolean allowRestricted) |
int |
getTVEpisodeCount(boolean allowRestricted) |
TVSeason |
getTVSeasonFromHashKey(int key) |
int |
getTVShowCount(boolean allowRestricted) |
java.util.List<UserAttribute> |
getUserAttributes(int userId) |
VideoBase |
getVideoBaseFromKey(int key,
boolean allowRestricted) |
Video |
getVideoFromKey(int key,
boolean allowRestricted) |
java.util.List<WishList> |
getWishList() |
java.util.List<VideoBase> |
getWriterVideos(int key) |
boolean |
isAdmin(javax.servlet.http.HttpServletRequest request)
Is this user an Admin?
|
boolean |
isAllowRestricted(javax.servlet.http.HttpServletRequest request)
Is this user allowed access to the restricted sections, and does he want to see them?
|
boolean |
isHideRestricted(javax.servlet.http.HttpServletRequest request) |
void |
saveUserAttributes(java.util.List<UserAttribute> list) |
void |
setBackgroundDelays(javax.servlet.http.HttpServletRequest request,
int backgroundDelay,
int artShowDelay) |
void |
setBackgroundFit(javax.servlet.http.HttpServletRequest request,
int backgroundFit) |
void |
setFindMaxResults(javax.servlet.http.HttpServletRequest request,
int findMaxResults) |
void |
setHideRestricted(javax.servlet.http.HttpServletRequest request,
boolean hideRestricted) |
void |
startRefreshLibraryFromPlex() |
java.util.List<LibrarySection> getSectionList()
java.util.List<LibrarySection> getSectionList(boolean allowRestricted)
RestVideo getRandomMovie(boolean allowRestricted)
Video getVideoFromKey(int key, boolean allowRestricted)
VideoBase getVideoBaseFromKey(int key, boolean allowRestricted)
java.util.List<FailedToRip> getFailedToRip()
java.util.List<WishList> getWishList()
java.util.List<VideoBase> getRecentlyAdded(int count, boolean allowRestricted)
java.util.List<VideoBase> getLibraryListVideos(int key)
java.util.List<VideoBase> getDirectorVideos(int key)
java.util.List<VideoBase> getWriterVideos(int key)
java.util.List<VideoBase> getActorVideos(int key)
java.util.List<RestVideo> findVideosAndThings(java.lang.String key, boolean allowRestricted, int maxReturned)
TVSeason getTVSeasonFromHashKey(int key)
long getLastUpdateTime()
int getMovieCount(boolean allowRestricted)
int getTVShowCount(boolean allowRestricted)
int getTVEpisodeCount(boolean allowRestricted)
java.util.List<UserAttribute> getUserAttributes(int userId)
void saveUserAttributes(java.util.List<UserAttribute> list)
boolean isAllowRestricted(javax.servlet.http.HttpServletRequest request)
request
- The request containing the session containing the Userboolean isHideRestricted(javax.servlet.http.HttpServletRequest request)
void setHideRestricted(javax.servlet.http.HttpServletRequest request, boolean hideRestricted)
boolean isAdmin(javax.servlet.http.HttpServletRequest request)
request
- The request containing the session containing the Userint getBackgroundFit(javax.servlet.http.HttpServletRequest request, boolean artShow)
request
- The request containing the session containing the UserartShow
- Maybe we are running the ArtShow and want the override. Grey background needs a real style for the ArtShow.void setBackgroundFit(javax.servlet.http.HttpServletRequest request, int backgroundFit)
void setBackgroundDelays(javax.servlet.http.HttpServletRequest request, int backgroundDelay, int artShowDelay)
int getFindMaxResults(javax.servlet.http.HttpServletRequest request)
void setFindMaxResults(javax.servlet.http.HttpServletRequest request, int findMaxResults)
void startRefreshLibraryFromPlex()
RestRefreshStatus getRefreshLibraryFromPlexStatus()
java.lang.String getPlexUrl()