|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<IProgramInfo.Props> org.jmythapi.protocol.response.IProgramInfo.Props
public static enum IProgramInfo.Props
The properties of an IProgramInfo
response.
MythTV Protocol Version Matrix | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Protocol | |||||||||||||||||||||||
Name | Type | Range | 00 | 02 | 03 | 06 | 08 | 11 | 12 | 15 | 18 | 22 | 23 | 25 | 31 | 32 | 35 | 41 | 23056 | 57 | 67 | 76 | -1 |
TITLE | String | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
SUBTITLE | String | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
DESCRIPTION | String | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
SEASON | Integer | [67,-1) | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | X | X | X |
EPISODE | Integer | [67,-1) | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | X | X | X |
SYNDICATED_EPISODE | String | [76,-1) | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | X | X |
CATEGORY | String | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
CHANNEL_ID | Integer | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
CHANNEL_NUMBER | String | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
CHANNEL_SIGN | String | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
CHANNEL_NAME | String | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
PATH_NAME | String | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
FILESIZE_HIGH | Long | [00,57) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | - | - | - | - |
FILESIZE_LOW | Long | [00,57) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | - | - | - | - |
FILESIZE | Long | [57,-1) | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | X | X | X | X |
START_DATE_TIME | Date | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
END_DATE_TIME | Date | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
DUPLICATE | Boolean | [00,57) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | - | - | - | - |
SHAREABLE | Boolean | [00,57) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | - | - | - | - |
FIND_ID | Integer | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
HOSTNAME | String | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
SOURCE_ID | Integer | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
CARD_ID | Integer | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
INPUT_ID | Integer | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
REC_PRIORITY | Integer | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
REC_STATUS | IProgramRecordingStatus | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
REC_ID | Integer | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
REC_TYPE | IProgramRecordingType | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
REC_DUPS | Integer | [00,03) | X | X | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - |
DUP_IN | IProgramRecordingDupInType | [03,-1) | - | - | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
DUP_METHOD | IProgramRecordingDupMethodType | [03,-1) | - | - | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
REC_START_TIME | Date | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
REC_END_TIME | Date | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
REPEAT | Boolean | [00,57) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | - | - | - | - |
PROGRAM_FLAGS | IProgramFlags | [00,-1) | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
REC_GROUP | String | [03,-1) | - | - | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
CHAN_COMM_FREE | Boolean | [03,57) | - | - | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | - | - | - | - |
CHANNEL_OUTPUT_FILTERS | String | [06,-1) | - | - | - | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
SERIES_ID | String | [08,-1) | - | - | - | - | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
PROGRAM_ID | String | [08,-1) | - | - | - | - | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
INETREF | String | [67,-1) | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | X | X | X |
LAST_MODIFIED | Date | [11,-1) | - | - | - | - | - | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
STARS | Float | [12,-1) | - | - | - | - | - | - | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
ORIGINAL_AIRDATE | Date | [12,-1) | - | - | - | - | - | - | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X |
HAS_AIRDATE | Boolean | [15,57) | - | - | - | - | - | - | - | X | X | X | X | X | X | X | X | X | X | - | - | - | - |
TIMESTRETCH | Float | [18,23) | - | - | - | - | - | - | - | - | X | X | - | - | - | - | - | - | - | - | - | - | - |
PLAY_GROUP | String | [23,-1) | - | - | - | - | - | - | - | - | - | - | X | X | X | X | X | X | X | X | X | X | X |
REC_PRIORITY2 | Integer | [25,-1) | - | - | - | - | - | - | - | - | - | - | - | X | X | X | X | X | X | X | X | X | X |
PARENT_ID | Integer | [31,-1) | - | - | - | - | - | - | - | - | - | - | - | - | X | X | X | X | X | X | X | X | X |
STORAGE_GROUP | String | [32,-1) | - | - | - | - | - | - | - | - | - | - | - | - | - | X | X | X | X | X | X | X | X |
AUDIO_PROPERTIES | IProgramAudioProperties | [35,-1) | - | - | - | - | - | - | - | - | - | - | - | - | - | - | X | X | X | X | X | X | X |
VIDEO_PROPERTIES | IProgramVideoProperties | [35,-1) | - | - | - | - | - | - | - | - | - | - | - | - | - | - | X | X | X | X | X | X | X |
SUBTITLE_TYPE | IProgramSubtitleType | [35,-1) | - | - | - | - | - | - | - | - | - | - | - | - | - | - | X | X | X | X | X | X | X |
YEAR | Integer | [41,-1) | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | X | X | X | X | X | X |
PART_NUMBER | Integer | [76,-1) | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | X | X |
PART_TOTAL | Integer | [76,-1) | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | X | X |
Enum Constant Summary | |
---|---|
AUDIO_PROPERTIES
Audio properties. |
|
CARD_ID
The ID of a physical capture card. |
|
CATEGORY
The category of the recording. |
|
CHAN_COMM_FREE
Deprecated. 57, replaced by IProgramFlags.Flags.FL_CHANCOMMFREE |
|
CHANNEL_ID
The channel ID. |
|
CHANNEL_NAME
The channel name. |
|
CHANNEL_NUMBER
The channel number. |
|
CHANNEL_OUTPUT_FILTERS
Output filters. |
|
CHANNEL_SIGN
The channel abbreviation. |
|
DESCRIPTION
A description about the recording. |
|
DUP_IN
The duplication type of the recording. |
|
DUP_METHOD
The duplication mode to use for the recording. |
|
DUPLICATE
Deprecated. 57, replaced by IProgramFlags.Flags.FL_DUPLICATE |
|
END_DATE_TIME
The scheduled end of the program. |
|
EPISODE
The episode number of the recording. |
|
FILESIZE
The recording file size. |
|
FILESIZE_HIGH
Deprecated. 57, replaced by FILESIZE |
|
FILESIZE_LOW
Deprecated. 57, replaced by FILESIZE |
|
FIND_ID
The find-id. |
|
HAS_AIRDATE
Deprecated. 57 |
|
HOSTNAME
The recording host. |
|
INETREF
An identification string used by metadata grabbers. |
|
INPUT_ID
The ID of a specific input. |
|
LAST_MODIFIED
Last modification time. |
|
ORIGINAL_AIRDATE
The original airdate. |
|
PARENT_ID
Parent ID. |
|
PART_NUMBER
Part Number. |
|
PART_TOTAL
Part Total. |
|
PATH_NAME
The recording file. |
|
PLAY_GROUP
The play group. |
|
PROGRAM_FLAGS
Program flags. |
|
PROGRAM_ID
Program ID. |
|
REC_DUPS
Deprecated. 03, replaced by DUP_IN and DUP_METHOD |
|
REC_END_TIME
End of actual recording. |
|
REC_GROUP
Recording Groups. |
|
REC_ID
The recording ID. |
|
REC_PRIORITY
The recording priority. |
|
REC_PRIORITY2
Recording Priority 2. |
|
REC_START_TIME
Beginning of actual recording. |
|
REC_STATUS
The current recording status of the encoder . |
|
REC_TYPE
The recording type. |
|
REPEAT
Deprecated. 57, replaced by IProgramFlags.Flags.FL_REPEAT |
|
SEASON
The season number of the recording. |
|
SERIES_ID
Series ID. |
|
SHAREABLE
Deprecated. 57 |
|
SOURCE_ID
The source ID. |
|
STARS
Rating. |
|
START_DATE_TIME
The scheduled start of the program. |
|
STORAGE_GROUP
Storage group. |
|
SUBTITLE
The recording sub-title. |
|
SUBTITLE_TYPE
Subtitle type. |
|
SYNDICATED_EPISODE
The syndicated episode of the recording. |
|
TIMESTRETCH
Deprecated. 23, replaced by PLAY_GROUP . |
|
TITLE
The recording title. |
|
VIDEO_PROPERTIES
Video Properties. |
|
YEAR
Production year. |
Method Summary | |
---|---|
static IProgramInfo.Props |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IProgramInfo.Props[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IProgramInfo.Props TITLE
E.g. Malcolm mittendrin
IProgramInfo.getTitle()
public static final IProgramInfo.Props SUBTITLE
E.g. Victors zweite Familie
For a manually scheduled recording the subtitle is always set to the program-start-time by the MythTV scheduler.
IProgramInfo.getSubtitle()
public static final IProgramInfo.Props DESCRIPTION
E.g. Als Lois erfährt, dass ihr Vater eine zweite Familie hatte, beschließt sie kurzerhand...
IProgramInfo.getDescription()
public static final IProgramInfo.Props SEASON
IProgramInfo.getSeason()
public static final IProgramInfo.Props EPISODE
IProgramInfo.getEpisode()
public static final IProgramInfo.Props SYNDICATED_EPISODE
IProgramInfo.getSyndicatedEpisode()
public static final IProgramInfo.Props CATEGORY
E.g. comedy
IProgramInfo.getCategory()
public static final IProgramInfo.Props CHANNEL_ID
The unique id of the channel: e.g. 1001
.
This is similar to IRecorderChannelInfo.Props#CHANNEL_ID
.
IProgramInfo.getChannelID()
public static final IProgramInfo.Props CHANNEL_NUMBER
The user defined number of the channel: e.g. 2
This is similar to IRecorderChannelInfo.Props#CHANNEL_NUMBER
.
IProgramInfo.getChannelNumber()
public static final IProgramInfo.Props CHANNEL_SIGN
E.g. ORF1
This is similar to IRecorderChannelInfo.Props#CHANNEL_SIGN
.
IProgramInfo.getChannelSign()
public static final IProgramInfo.Props CHANNEL_NAME
The full name of the channel: e.g. ORF 1
This is similar to IRecorderChannelInfo.Props#CHANNEL_NAME
.
IProgramInfo.getChannelName()
public static final IProgramInfo.Props PATH_NAME
E.g. myth://127.0.0.1:6543/1000_20100512085000.mpg
or
E.g. /var/lib/mythtv/livetv/1004_20120113085933.mpg
IProgramInfo.getPathName()
public static final IProgramInfo.Props FILESIZE_HIGH
FILESIZE
High 32bit of the file-size.
IProgramInfo.getFileSize()
public static final IProgramInfo.Props FILESIZE_LOW
FILESIZE
Low 32bit of the file-size.
IProgramInfo.getFileSize()
public static final IProgramInfo.Props FILESIZE
This is a replacement for FILESIZE_LOW
and FILESIZE_HIGH
.
IProgramInfo.getFileSize()
public static final IProgramInfo.Props START_DATE_TIME
IProgramInfo.getStartDateTime()
public static final IProgramInfo.Props END_DATE_TIME
IProgramInfo.getEndDateTime()
public static final IProgramInfo.Props DUPLICATE
IProgramFlags.Flags.FL_DUPLICATE
Note:
In protocol 04 this was the conflicting
property?
IProgramInfo.isDuplicate()
public static final IProgramInfo.Props SHAREABLE
Signals that the used card input can be shared, e.g. on DVB cards. Till protocol version 57 this information was used by the scheduler.
Note:
In protocol 04 this was the recording
.
IProgramInfo.isShareable()
public static final IProgramInfo.Props FIND_ID
Note:
According to the MythTV wiki,
this is calculated like this:
(UNIX_TIMESTAMP(program.starttime)/60/60/24)+719528
Note:
In protocol 04, this was the override
property.
IProgramInfo.getFindID()
public static final IProgramInfo.Props HOSTNAME
IProgramInfo.getHostName()
public static final IProgramInfo.Props SOURCE_ID
This is usually the first digit of the channel ID.
IProgramInfo.getSourceID()
public static final IProgramInfo.Props CARD_ID
This is the ID of the recorder that will record a scheduled program.
The card-is is 0
for an already recorded program.
IProgramInfo.getCardID()
public static final IProgramInfo.Props INPUT_ID
0
for an already recorded program.
IProgramInfo.getInputID()
public static final IProgramInfo.Props REC_PRIORITY
Values are between -20
and 20
.
IProgramInfo.getRecordingPriority()
public static final IProgramInfo.Props REC_STATUS
encoder
.
This is similar to IRemoteEncoder.getRecordingStatus()
.
See here
for all available status types.
IProgramRecordingStatus
,
IProgramInfo.getRecordingStatus()
,
IRemoteEncoder.getRecordingStatus()
public static final IProgramInfo.Props REC_ID
ATTENTION: This is the ID of the mythtv scheduling rule,
stored in the database. Therefore multiple recordings may have the same
recording id!
If you require a unique id for a recording, use IProgramInfo.getUniqueRecordingId()
instead.
IProgramInfo.getRecordingId()
public static final IProgramInfo.Props REC_TYPE
E.g. if the program is recorded a single time or using a weekly time-slot, etc.
See here
for all available types.
IProgramRecordingType
,
IProgramInfo.getRecordingType()
public static final IProgramInfo.Props REC_DUPS
DUP_IN
and DUP_METHOD
public static final IProgramInfo.Props DUP_IN
Specifies how to handle duplicates.
See here
for all available types.
IProgramRecordingDupInType
,
IProgramInfo.getRecordingDuplicationType()
public static final IProgramInfo.Props DUP_METHOD
Specifies how a check for duplicates is done.
See here
for all available types.
public static final IProgramInfo.Props REC_START_TIME
IProgramInfo.getRecordingStartTime()
public static final IProgramInfo.Props REC_END_TIME
IProgramInfo.getRecordingEndTime()
public static final IProgramInfo.Props REPEAT
IProgramFlags.Flags.FL_REPEAT
Specifies if this is a duplicate to a previously recorded program.
IProgramInfo.isRepeat()
public static final IProgramInfo.Props PROGRAM_FLAGS
Additional information about the current state of the recording.
See here
for all available flags}.
IProgramInfo.getProgramFlags()
,
IProgramFlags
public static final IProgramInfo.Props REC_GROUP
A scheduled recording can have a group assigned.
IProgramInfo.getRecordingGroup()
public static final IProgramInfo.Props CHAN_COMM_FREE
IProgramFlags.Flags.FL_CHANCOMMFREE
Indicates if the channel is commercial free.
IProgramInfo.isChannelCommFree()
public static final IProgramInfo.Props CHANNEL_OUTPUT_FILTERS
Allows to specify a set of filters to be used when playing back recordings from a given channel. This is useful for those with hardware encoders and more than one source, since filters are rarely a one-size-fits-all thing.
IProgramInfo.getChannelOuputFilters()
public static final IProgramInfo.Props SERIES_ID
Is used for dup checks.
IProgramInfo.getSeriesID()
public static final IProgramInfo.Props PROGRAM_ID
Is used for dup checks.
IProgramInfo.getProgramID()
public static final IProgramInfo.Props INETREF
IProgramInfo.getInetRef()
public static final IProgramInfo.Props LAST_MODIFIED
Keeps track of the last time the entry was updated.
IProgramInfo.getLastModified()
public static final IProgramInfo.Props STARS
The "stars" rating of the program.
IProgramInfo.getStars()
public static final IProgramInfo.Props ORIGINAL_AIRDATE
IProgramInfo.getOriginalAirdate()
public static final IProgramInfo.Props HAS_AIRDATE
Specifies if an original air date is available.
IProgramInfo.hasAirDate()
public static final IProgramInfo.Props TIMESTRETCH
PLAY_GROUP
.
IProgramInfo.getTimeStretch()
public static final IProgramInfo.Props PLAY_GROUP
The play group of the recording.
Like recording groups (aka recgroups), each recording is put into a playgroup when it is recorded as specified in its recording rule. When that recording is watched, selected playback options are set based on the playgroup instead of using system or host specific settings.
IProgramInfo.getPlayGroup()
public static final IProgramInfo.Props REC_PRIORITY2
An additional priority value.
TODO: This priority value seems to be specified via programinfo.h/WatchListStatus, if
the value is lower -1
. Otherwise it is interpreted as "watchListScore".
IProgramInfo.getRecordingPriority2()
public static final IProgramInfo.Props PARENT_ID
If this recording is a duplicate, the ID of the parent is specified here.
This is used in combination with IProgramRecordingType.Type.OVERRIDE_RECORD
.
IProgramInfo.getParentID()
,
ISchedule.Props#PARENT_ID
public static final IProgramInfo.Props STORAGE_GROUP
The storage group of the recording.
IProgramInfo.getStorageGroup()
public static final IProgramInfo.Props AUDIO_PROPERTIES
Audio properties of the recording.
See here
for all available properties.
IProgramInfo.getAudioProperties()
,
IProgramAudioProperties
public static final IProgramInfo.Props VIDEO_PROPERTIES
Video properties of the recording.
See here
for all available properties.
IProgramInfo.getVideoProperties()
,
IProgramVideoProperties
public static final IProgramInfo.Props SUBTITLE_TYPE
The subtitle type of the recording.
See here
for all available types.
IProgramInfo.getSubtitleType()
,
IProgramSubtitleType
public static final IProgramInfo.Props YEAR
IProgramInfo.getYear()
public static final IProgramInfo.Props PART_NUMBER
public static final IProgramInfo.Props PART_TOTAL
Method Detail |
---|
public static IProgramInfo.Props[] values()
for (IProgramInfo.Props c : IProgramInfo.Props.values()) System.out.println(c);
public static IProgramInfo.Props valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |