Module tvbrowser
Package devplugin

Class ProgramFieldType

    • Field Detail

      • FORMAT_UNKNOWN

        public static final int FORMAT_UNKNOWN
        unknown field format, should not occur
        See Also:
        Constant Field Values
      • FORMAT_BINARY

        public static final int FORMAT_BINARY
        program field format for binary fields (like pictures)
        See Also:
        Constant Field Values
      • FORMAT_TEXT

        public static final int FORMAT_TEXT
        program field format for strings
        See Also:
        Constant Field Values
      • FORMAT_INT

        public static final int FORMAT_INT
        program field format for numbers
        See Also:
        Constant Field Values
      • FORMAT_TIME

        public static final int FORMAT_TIME
        program field format for times (in numbers after midnight)
        See Also:
        Constant Field Values
      • UNKNOWN_FORMAT

        @Deprecated(since="3.4.5")
        public static final int UNKNOWN_FORMAT
        Deprecated.
        since 3.4.5, use FORMAT_UNKNOWN
        unknown field format, should not occur
        See Also:
        Constant Field Values
      • BINARY_FORMAT

        @Deprecated(since="3.4.5")
        public static final int BINARY_FORMAT
        Deprecated.
        since 3.4.5, use FORMAT_BINARY
        program field format for binary fields (like pictures)
        See Also:
        Constant Field Values
      • TEXT_FORMAT

        @Deprecated(since="3.4.5")
        public static final int TEXT_FORMAT
        Deprecated.
        since 3.4.5, use FORMAT_TEXT
        program field format for strings
        See Also:
        Constant Field Values
      • INT_FORMAT

        @Deprecated(since="3.4.5")
        public static final int INT_FORMAT
        Deprecated.
        since 3.4.5, use FORMAT_INT
        program field format for numbers
        See Also:
        Constant Field Values
      • TIME_FORMAT

        @Deprecated(since="3.4.5")
        public static final int TIME_FORMAT
        Deprecated.
        since 3.4.5, use FORMAT_TIME
        program field format for times (in numbers after midnight)
        See Also:
        Constant Field Values
      • ORIGINAL_TITLE_TYPE

        public static final ProgramFieldType ORIGINAL_TITLE_TYPE
        original language title
      • ORIGINAL_EPISODE_TYPE

        public static final ProgramFieldType ORIGINAL_EPISODE_TYPE
        original language episode title
      • SHORT_DESCRIPTION_TYPE

        public static final ProgramFieldType SHORT_DESCRIPTION_TYPE
      • ACTOR_LIST_TYPE

        public static final ProgramFieldType ACTOR_LIST_TYPE
        Actor-List. Should be in this Format: ActorName\t\t-\t\tRole,\n ActorName2\t\t-\t\tRole2\n
      • NET_PLAYING_TIME_TYPE

        public static final ProgramFieldType NET_PLAYING_TIME_TYPE
        net playing time in minutes (may be shorter than end time-start time due to commercials in between)
      • REPETITION_OF_TYPE

        public static final ProgramFieldType REPETITION_OF_TYPE
        program is a repetition of this past date/time
      • PRODUCTION_YEAR_TYPE

        public static final ProgramFieldType PRODUCTION_YEAR_TYPE
      • REPETITION_ON_TYPE

        public static final ProgramFieldType REPETITION_ON_TYPE
        program will be repeated at this future date/time
      • PICTURE_COPYRIGHT_TYPE

        public static final ProgramFieldType PICTURE_COPYRIGHT_TYPE
      • PICTURE_DESCRIPTION_TYPE

        public static final ProgramFieldType PICTURE_DESCRIPTION_TYPE
      • EPISODE_NUMBER_TYPE

        public static final ProgramFieldType EPISODE_NUMBER_TYPE
        number of this episode
        Since:
        2.6/2.2.4
      • EPISODE_TOTAL_NUMBER_TYPE

        public static final ProgramFieldType EPISODE_TOTAL_NUMBER_TYPE
        total number of episodes
        Since:
        2.6/2.2.4
      • SEASON_NUMBER_TYPE

        public static final ProgramFieldType SEASON_NUMBER_TYPE
        number of season
        Since:
        2.6/2.2.4
      • CAMERA_TYPE

        public static final ProgramFieldType CAMERA_TYPE
        Camera
        Since:
        2.6/2.2.4
      • CUTTER_TYPE

        public static final ProgramFieldType CUTTER_TYPE
        Cutter
        Since:
        2.6/2.2.4
      • ADDITIONAL_PERSONS_TYPE

        public static final ProgramFieldType ADDITIONAL_PERSONS_TYPE
        Additional persons (Stunt men etc.) Should be in this format: Person\t(Role),\n Person2\t(Role)
        Since:
        2.6/2.2.4
      • RATING_TYPE

        public static final ProgramFieldType RATING_TYPE
        Rating for program. Must be between 0-100
        Since:
        2.7
      • PRODUCTION_COMPANY_TYPE

        public static final ProgramFieldType PRODUCTION_COMPANY_TYPE
        Production Company, this is not the producer name
        Since:
        2.7
        See Also:
        PRODUCER_TYPE
      • AGE_RATING_TYPE

        public static final ProgramFieldType AGE_RATING_TYPE
        Age rating. This is the text version, whereas "age limit" should contain the age in years.
        Since:
        3.0
        See Also:
        AGE_LIMIT_TYPE
      • ADDITIONAL_INFORMATION_TYPE

        public static final ProgramFieldType ADDITIONAL_INFORMATION_TYPE
        Background information that does not belong into the description of the program. E.g. star portraits, awards, reception.
        Since:
        3.0
      • SERIES_TYPE

        public static final ProgramFieldType SERIES_TYPE
        Title of the series (German: Reihe), if the program belongs to one
        Since:
        3.2
      • PART_NUMBER_TOTAL_TYPE

        public static final ProgramFieldType PART_NUMBER_TOTAL_TYPE
      • ORIGINAL_DURATION

        public static final ProgramFieldType ORIGINAL_DURATION
        An entry with the original duration and the type of the original of the program
        Since:
        3.4.5
      • KEYWORD_LIST

        public static final ProgramFieldType KEYWORD_LIST
        List with keywords for program
        Since:
        3.4.5
      • VOD_INFO

        public static final ProgramFieldType VOD_INFO
        Info about VOD availability
        Since:
        3.4.5
      • VOD_LINK

        public static final ProgramFieldType VOD_LINK
        Link to VOD entry
        Since:
        3.4.5
      • GENRE_SUB_LIST

        public static final ProgramFieldType GENRE_SUB_LIST
        List with sub genres.
        Since:
        3.4.5
    • Method Detail

      • getComparatorLocalizedNames

        public static final java.util.Comparator<ProgramFieldType> getComparatorLocalizedNames()
      • getFormatName

        public static java.lang.String getFormatName​(int format)
      • getTypeIterator

        public static java.util.Iterator<ProgramFieldType> getTypeIterator()
      • getTypeId

        public int getTypeId()
      • getName

        public java.lang.String getName()
      • getLocalizedName

        public java.lang.String getLocalizedName()
      • getFormat

        public int getFormat()
      • isRightFormat

        public boolean isRightFormat​(int format)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getStorageIndex

        public int getStorageIndex()
        get the index of this field type in the MutablePrograms field storage
        Returns:
        index
      • getIntFieldCount

        public static int getIntFieldCount()
        for use by MutableProgram implementation only
        Returns:
        field count for int fields
      • getObjectFieldCount

        public static int getObjectFieldCount()
        for use by MutableProgram implementation only
        Returns:
        field count for Object fields
      • resetLocalizer

        public static void resetLocalizer()
      • setLocalizedCustomFieldName

        public static boolean setLocalizedCustomFieldName​(java.lang.String name)
        Sets the name of the custom field type
        Parameters:
        name - The name of the free field type
        Returns:
        If the name could be set (the name can only be set once).
        Since:
        3.3.3