|
SageTV Platform V7.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsage.api.ShowAPI
public class ShowAPI
Show represents detailed information about content. This is where the actual metadata information is stored. Show is separated from Airing because there can be multiple Airings of the same Show.
SageTV will automatically convert the following types to Show if used for a parameter that requires the Show type:
Airing - every Airing corresponds to a single Show which describes the Airing's content in more detail, so the Airing's Show is used
MediaFile - this is resolved to an Airing by the 1:1 relationship between MediaFiles and Airings, and then the Airing is resolved to a Show
| Method Summary | |
|---|---|
sage.Show |
AddShow(java.lang.String Title,
boolean IsFirstRun,
java.lang.String Episode,
java.lang.String Description,
long Duration,
java.lang.String Category,
java.lang.String SubCategory,
java.lang.String[] PeopleList,
java.lang.String[] RolesListForPeopleList,
java.lang.String Rated,
java.lang.String[] ExpandedRatingsList,
java.lang.String Year,
java.lang.String ParentalRating,
java.lang.String[] MiscList,
java.lang.String ExternalID,
java.lang.String Language,
long OriginalAirDate)
Adds a new Show to the database. |
sage.Airing[] |
GetAiringsForShow(sage.Show Show,
long StartingAfterTime)
Returns a list of all of the Airings for the specified Show starting after the specified time. |
long |
GetOriginalAiringDate(sage.Show Show)
Gets the date that this Show was originally aired at. |
java.lang.String |
GetPeopleAndCharacterInShowInRole(sage.Show Show,
java.lang.String Role)
Gets the people in the specified Show in the specified Role. |
java.lang.String |
GetPeopleAndCharacterInShowInRoles(sage.Show Show,
java.lang.String[] RoleList)
Gets the people in the specified Show in the specified Roles. |
java.lang.String[] |
GetPeopleAndCharacterListInShow(sage.Show Show)
Gets a list of all of the people involved in this Show and the character each of them plays if known. |
java.lang.String[] |
GetPeopleAndCharacterListInShowInRole(sage.Show Show,
java.lang.String Role)
Gets the people in the specified Show in the specified Role. |
java.lang.String[] |
GetPeopleAndCharacterListInShowInRoles(sage.Show Show,
java.lang.String[] RoleList)
Gets the people in the specified Show in the specified Roles. |
java.lang.String |
GetPeopleInShow(sage.Show Show)
Gets a list of all of the people involved in this Show. |
java.lang.String |
GetPeopleInShowInRole(sage.Show Show,
java.lang.String Role)
Gets the people in the specified Show in the specified Role. |
java.lang.String |
GetPeopleInShowInRoles(sage.Show Show,
java.lang.String[] RoleList)
Gets the people in the specified Show in the specified Roles. |
java.lang.String[] |
GetPeopleListInShow(sage.Show Show)
Gets a list of all of the people involved in this Show. |
java.lang.String[] |
GetPeopleListInShowInRole(sage.Show Show,
java.lang.String Role)
Gets the people in the specified Show in the specified Role. |
java.lang.String[] |
GetPeopleListInShowInRoles(sage.Show Show,
java.lang.String[] RoleList)
Gets the people in the specified Show in the specified Roles. |
java.lang.String[] |
GetRolesInShow(sage.Show Show)
Gets a list of the roles for each of the people in the specified Show. |
java.lang.String[] |
GetRoleTypes()
Gets a list of all of the valid roles that people can have in a Show |
java.lang.String |
GetShowCategory(sage.Show Show)
Returns the category for the specified Show. |
java.lang.String |
GetShowDescription(sage.Show Show)
Returns the description for the specified Show |
long |
GetShowDuration(sage.Show Show)
Returns the duration of the specified Show. |
java.lang.String |
GetShowEpisode(sage.Show Show)
Returns the episode name for the specified Show. |
java.lang.String |
GetShowExpandedRatings(sage.Show Show)
Returns the epxanded ratings information for the specified Show. |
java.lang.String |
GetShowExternalID(sage.Show Show)
Gets the global unique ID which is used to identify Shows. |
sage.Show |
GetShowForExternalID(java.lang.String ExternalID)
Gets a Show based on the global unique ID which is used to identify Shows. |
java.lang.String |
GetShowLanguage(sage.Show Show)
Returns the language that the specified Show is in. |
java.lang.String |
GetShowMisc(sage.Show Show)
Returns the miscellaneous metadata for this Show. |
java.lang.String |
GetShowParentalRating(sage.Show Show)
Deprecated. |
java.lang.String |
GetShowRated(sage.Show Show)
Returns the MPAA rating for the specified Show (only used for movies). |
sage.SeriesInfo |
GetShowSeriesInfo(sage.Show Show)
Gets the SeriesInfo object for a specified Show if that Show is for a television series and there is information on that series. |
java.lang.String |
GetShowSubCategory(sage.Show Show)
Returns the subcategory for the specified Show |
java.lang.String |
GetShowTitle(sage.Show Show)
Returns the title of the specified Show. |
java.lang.String |
GetShowYear(sage.Show Show)
Gets the year of the specified Show. |
boolean |
IsShowEPGDataUnique(sage.Show Show)
If this is true, then two Airings that both represent this Show will contain the same content. |
boolean |
IsShowFirstRun(sage.Airing Airing)
Returns true if the specified Airing represents the first run of the Show content. |
boolean |
IsShowObject(java.lang.Object Show)
Returns true if the passed in argument is a Show object. |
boolean |
IsShowReRun(sage.Airing Airing)
Returns true if the specified Airing represents a rerun of the Show content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean IsShowEPGDataUnique(sage.Show Show)
Show - the Show object
public java.lang.String GetShowMisc(sage.Show Show)
Show - the Show object
public java.lang.String GetShowCategory(sage.Show Show)
Show - the Show object
public java.lang.String GetShowSubCategory(sage.Show Show)
Show - the Show object
public java.lang.String GetShowDescription(sage.Show Show)
Show - the Show object
public java.lang.String GetShowEpisode(sage.Show Show)
Show - the Show object
public java.lang.String GetShowExpandedRatings(sage.Show Show)
Show - the Show object
public java.lang.String GetShowParentalRating(sage.Show Show)
Show - the Show object
public java.lang.String GetShowRated(sage.Show Show)
Show - the Show object
public long GetShowDuration(sage.Show Show)
Show - the Show object
public java.lang.String GetShowTitle(sage.Show Show)
Show - the Show object
public java.lang.String GetShowYear(sage.Show Show)
Show - the Show object
public java.lang.String GetShowExternalID(sage.Show Show)
Show - the Show object
public long GetOriginalAiringDate(sage.Show Show)
Show - the Show object
public java.lang.String[] GetRoleTypes()
public java.lang.String GetPeopleInShow(sage.Show Show)
GetRolesInShow.
Show - the Show object
public java.lang.String[] GetPeopleListInShow(sage.Show Show)
GetRolesInShow.
Show - the Show object
public java.lang.String[] GetPeopleAndCharacterListInShow(sage.Show Show)
GetRolesInShow.
Show - the Show object
public java.lang.String[] GetRolesInShow(sage.Show Show)
GetPeopleInShow
Show - the Show object
public java.lang.String GetPeopleInShowInRole(sage.Show Show,
java.lang.String Role)
Show - the Show objectRole - the role to get the people for
public java.lang.String GetPeopleInShowInRoles(sage.Show Show,
java.lang.String[] RoleList)
Show - the Show objectRoleList - the roles to get the people for
public java.lang.String GetPeopleAndCharacterInShowInRole(sage.Show Show,
java.lang.String Role)
Show - the Show objectRole - the role to get the people for
public java.lang.String GetPeopleAndCharacterInShowInRoles(sage.Show Show,
java.lang.String[] RoleList)
Show - the Show objectRoleList - the roles to get the people for
public java.lang.String[] GetPeopleListInShowInRole(sage.Show Show,
java.lang.String Role)
Show - the Show objectRole - the role to get the people for
public java.lang.String[] GetPeopleListInShowInRoles(sage.Show Show,
java.lang.String[] RoleList)
Show - the Show objectRoleList - the roles to get the people for
public java.lang.String[] GetPeopleAndCharacterListInShowInRole(sage.Show Show,
java.lang.String Role)
Show - the Show objectRole - the role to get the people for
public java.lang.String[] GetPeopleAndCharacterListInShowInRoles(sage.Show Show,
java.lang.String[] RoleList)
Show - the Show objectRoleList - the roles to get the people for
public boolean IsShowObject(java.lang.Object Show)
Show - the object to test to see if its a Show
public boolean IsShowFirstRun(sage.Airing Airing)
Airing - the Airing object
public boolean IsShowReRun(sage.Airing Airing)
Airing - the Airing object
public java.lang.String GetShowLanguage(sage.Show Show)
Show - the Show object
public sage.Show AddShow(java.lang.String Title,
boolean IsFirstRun,
java.lang.String Episode,
java.lang.String Description,
long Duration,
java.lang.String Category,
java.lang.String SubCategory,
java.lang.String[] PeopleList,
java.lang.String[] RolesListForPeopleList,
java.lang.String Rated,
java.lang.String[] ExpandedRatingsList,
java.lang.String Year,
java.lang.String ParentalRating,
java.lang.String[] MiscList,
java.lang.String ExternalID,
java.lang.String Language,
long OriginalAirDate)
Title - the title of the Show (for music this should be album name)IsFirstRun - true if this Show is a first run, false otherwise (this parameter has no effect anymore since Airings determine first/rerun status)Episode - the episode name for this Show (for music this should be the song title)Description - the description of the ShowDuration - the duration of the Show, not necessary and can be zero; this is only used for indicating differences between Airing duration and the actual content durationCategory - the category of the Show (should be genre for music)SubCategory - the subcategory of the ShowPeopleList - a list of all of the people in the Show, the roles of the people should correspond to the RolesListForPeopleList argumentRolesListForPeopleList - a list of the roles for the people in the Show, this should correspond to the PeopleList argumentRated - the rating for the Show see GetShowRated()ExpandedRatingsList - the expanded ratings list for the show, see GetShowExpandedRatings()Year - the year of the ShowParentalRating - the parental rating for the Show (this is no longer used since Airing contains the parental rating)MiscList - miscellaneous metadata for the ShowExternalID - the global ID which should be used to uniquely identify this ShowLanguage - the language for the ShowOriginalAirDate - the original airing date of the Show
public sage.Airing[] GetAiringsForShow(sage.Show Show,
long StartingAfterTime)
Show - the Show objectStartingAfterTime - the time that all returned Airings should start after
public sage.Show GetShowForExternalID(java.lang.String ExternalID)
GetShowExternalID()
ExternalID - the external ID to find the corresponding Show for
public sage.SeriesInfo GetShowSeriesInfo(sage.Show Show)
Show - the Show object
|
SageTV Platform V7.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||