diff options
Diffstat (limited to 'xbmc/addons')
7 files changed, 57 insertions, 20 deletions
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/Inputstream.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/Inputstream.h index 23a91e7..252edbf 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/Inputstream.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/Inputstream.h | |||
| @@ -120,6 +120,31 @@ extern "C" { | |||
| 120 | FLAG_HEARING_IMPAIRED = 0x0080, | 120 | FLAG_HEARING_IMPAIRED = 0x0080, |
| 121 | FLAG_VISUAL_IMPAIRED = 0x0100 | 121 | FLAG_VISUAL_IMPAIRED = 0x0100 |
| 122 | }; | 122 | }; |
| 123 | |||
| 124 | enum INPUTSTREAM_COLORSPACE | ||
| 125 | { | ||
| 126 | COLORSPACE_UNKNOWN, | ||
| 127 | COLORSPACE_BT709, | ||
| 128 | COLORSPACE_BT470M, | ||
| 129 | COLORSPACE_BT470BG, | ||
| 130 | COLORSPACE_SMPTE170M, | ||
| 131 | COLORSPACE_SMPTE240M, | ||
| 132 | COLORSPACE_FILM, | ||
| 133 | COLORSPACE_BT2020, | ||
| 134 | COLORSPACE_SMPTE428, | ||
| 135 | COLORSPACE_SMPTEST428_1, | ||
| 136 | COLORSPACE_SMPTE431, | ||
| 137 | COLORSPACE_SMPTE432, | ||
| 138 | COLORSPACE_JEDEC_P22 | ||
| 139 | }; | ||
| 140 | |||
| 141 | enum INPUTSTREAM_COLORRANGE | ||
| 142 | { | ||
| 143 | COLORRANGE_UNKNOWN, | ||
| 144 | COLORRANGE_LIMITED, | ||
| 145 | COLORRANGE_FULLRANGE | ||
| 146 | }; | ||
| 147 | |||
| 123 | uint32_t m_flags; | 148 | uint32_t m_flags; |
| 124 | 149 | ||
| 125 | char m_name[256]; /*!< @brief (optinal) name of the stream, \0 for default handling */ | 150 | char m_name[256]; /*!< @brief (optinal) name of the stream, \0 for default handling */ |
| @@ -139,6 +164,7 @@ extern "C" { | |||
| 139 | unsigned int m_Width; /*!< @brief width of the stream reported by the demuxer */ | 164 | unsigned int m_Width; /*!< @brief width of the stream reported by the demuxer */ |
| 140 | float m_Aspect; /*!< @brief display aspect of stream */ | 165 | float m_Aspect; /*!< @brief display aspect of stream */ |
| 141 | 166 | ||
| 167 | |||
| 142 | unsigned int m_Channels; /*!< @brief (required) amount of channels */ | 168 | unsigned int m_Channels; /*!< @brief (required) amount of channels */ |
| 143 | unsigned int m_SampleRate; /*!< @brief (required) sample rate */ | 169 | unsigned int m_SampleRate; /*!< @brief (required) sample rate */ |
| 144 | unsigned int m_BitRate; /*!< @brief (required) bit rate */ | 170 | unsigned int m_BitRate; /*!< @brief (required) bit rate */ |
| @@ -146,6 +172,11 @@ extern "C" { | |||
| 146 | unsigned int m_BlockAlign; | 172 | unsigned int m_BlockAlign; |
| 147 | 173 | ||
| 148 | CRYPTO_INFO m_cryptoInfo; | 174 | CRYPTO_INFO m_cryptoInfo; |
| 175 | |||
| 176 | // new in API version 2.0.8 | ||
| 177 | unsigned int m_codecFourCC; /*!< @brief Codec If available, the fourcc code codec */ | ||
| 178 | INPUTSTREAM_COLORSPACE m_colorSpace; /*!< @brief definition of colorspace */ | ||
| 179 | INPUTSTREAM_COLORRANGE m_colorRange; /*!< @brief color range if available */ | ||
| 149 | }; | 180 | }; |
| 150 | 181 | ||
| 151 | struct INPUTSTREAM_TIMES | 182 | struct INPUTSTREAM_TIMES |
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/Peripheral.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/Peripheral.h index 78e572b..2df8a36 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/Peripheral.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/addon-instance/Peripheral.h | |||
| @@ -531,8 +531,7 @@ namespace addon | |||
| 531 | virtual void FreeEvents(unsigned int event_count, PERIPHERAL_EVENT* events) { } | 531 | virtual void FreeEvents(unsigned int event_count, PERIPHERAL_EVENT* events) { } |
| 532 | 532 | ||
| 533 | /*! | 533 | /*! |
| 534 | * @brief Send an input event to the specified peripheral | 534 | * @brief Send an input event to the peripheral |
| 535 | * @param peripheralIndex The index of the device receiving the input event | ||
| 536 | * @param event The input event | 535 | * @param event The input event |
| 537 | * @return true if the event was handled, false otherwise | 536 | * @return true if the event was handled, false otherwise |
| 538 | */ | 537 | */ |
| @@ -677,9 +676,9 @@ namespace addon | |||
| 677 | * @param[optional] deviceName The name of the device to refresh, or empty/null for all devices | 676 | * @param[optional] deviceName The name of the device to refresh, or empty/null for all devices |
| 678 | * @param[optional] controllerId The controller ID to refresh, or empty/null for all controllers | 677 | * @param[optional] controllerId The controller ID to refresh, or empty/null for all controllers |
| 679 | */ | 678 | */ |
| 680 | void RefreshButtonMaps(const std::string& strDeviceName = "", const std::string& strControllerId = "") | 679 | void RefreshButtonMaps(const std::string& deviceName = "", const std::string& controllerId = "") |
| 681 | { | 680 | { |
| 682 | return m_instanceData->toKodi.refresh_button_maps(m_instanceData->toKodi.kodiInstance, strDeviceName.c_str(), strControllerId.c_str()); | 681 | return m_instanceData->toKodi.refresh_button_maps(m_instanceData->toKodi.kodiInstance, deviceName.c_str(), controllerId.c_str()); |
| 683 | } | 682 | } |
| 684 | 683 | ||
| 685 | /*! | 684 | /*! |
| @@ -690,9 +689,9 @@ namespace addon | |||
| 690 | * | 689 | * |
| 691 | * @return The number of features matching the request parameters | 690 | * @return The number of features matching the request parameters |
| 692 | */ | 691 | */ |
| 693 | unsigned int FeatureCount(const std::string& strControllerId, JOYSTICK_FEATURE_TYPE type = JOYSTICK_FEATURE_TYPE_UNKNOWN) | 692 | unsigned int FeatureCount(const std::string& controllerId, JOYSTICK_FEATURE_TYPE type = JOYSTICK_FEATURE_TYPE_UNKNOWN) |
| 694 | { | 693 | { |
| 695 | return m_instanceData->toKodi.feature_count(m_instanceData->toKodi.kodiInstance, strControllerId.c_str(), type); | 694 | return m_instanceData->toKodi.feature_count(m_instanceData->toKodi.kodiInstance, controllerId.c_str(), type); |
| 696 | } | 695 | } |
| 697 | 696 | ||
| 698 | /*! | 697 | /*! |
| @@ -704,9 +703,9 @@ namespace addon | |||
| 704 | * @return The type of the specified feature, or JOYSTICK_FEATURE_TYPE_UNKNOWN | 703 | * @return The type of the specified feature, or JOYSTICK_FEATURE_TYPE_UNKNOWN |
| 705 | * if unknown | 704 | * if unknown |
| 706 | */ | 705 | */ |
| 707 | JOYSTICK_FEATURE_TYPE FeatureType(const std::string& strControllerId, const std::string &featureName) | 706 | JOYSTICK_FEATURE_TYPE FeatureType(const std::string& controllerId, const std::string &featureName) |
| 708 | { | 707 | { |
| 709 | return m_instanceData->toKodi.feature_type(m_instanceData->toKodi.kodiInstance, strControllerId.c_str(), featureName.c_str()); | 708 | return m_instanceData->toKodi.feature_type(m_instanceData->toKodi.kodiInstance, controllerId.c_str(), featureName.c_str()); |
| 710 | } | 709 | } |
| 711 | 710 | ||
| 712 | private: | 711 | private: |
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_game_dll.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_game_dll.h index 40979e5..478f81b 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_game_dll.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_game_dll.h | |||
| @@ -59,7 +59,7 @@ GAME_ERROR UnloadGame(void); | |||
| 59 | /*! | 59 | /*! |
| 60 | * \brief Get timing information about the loaded game | 60 | * \brief Get timing information about the loaded game |
| 61 | * | 61 | * |
| 62 | * \param info The info structure to fill | 62 | * \param[out] timing_info The info structure to fill |
| 63 | * | 63 | * |
| 64 | * \return the error, or GAME_ERROR_NO_ERROR if info was filled | 64 | * \return the error, or GAME_ERROR_NO_ERROR if info was filled |
| 65 | */ | 65 | */ |
| @@ -176,8 +176,9 @@ bool EnableMouse(bool enable, const game_controller* controller); | |||
| 176 | * \brief Connect/disconnect a controller to a port on the virtual game console | 176 | * \brief Connect/disconnect a controller to a port on the virtual game console |
| 177 | * | 177 | * |
| 178 | * \param connect True to connect a controller, false to disconnect | 178 | * \param connect True to connect a controller, false to disconnect |
| 179 | * \param address The address of the port | 179 | * \param port_address The address of the port |
| 180 | * \param controller The controller info if connecting, or unused if disconnecting | 180 | * \param controller The controller info if connecting, or unused if disconnecting |
| 181 | * \return True if the \p controller was (dis-)connected to the port, false otherwise | ||
| 181 | * | 182 | * |
| 182 | * The address is a string that allows traversal of the controller topology. | 183 | * The address is a string that allows traversal of the controller topology. |
| 183 | * It is formed by alternating port IDs and controller IDs separated by "/". | 184 | * It is formed by alternating port IDs and controller IDs separated by "/". |
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/libKODI_game.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/libKODI_game.h index ca8cba9..b518c28 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/libKODI_game.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/libKODI_game.h | |||
| @@ -123,7 +123,7 @@ public: | |||
| 123 | /*! | 123 | /*! |
| 124 | * \brief Get a symbol from the hardware context | 124 | * \brief Get a symbol from the hardware context |
| 125 | * | 125 | * |
| 126 | * \param symbol The symbol's name | 126 | * \param sym The symbol's name |
| 127 | * | 127 | * |
| 128 | * \return A function pointer for the specified symbol | 128 | * \return A function pointer for the specified symbol |
| 129 | */ | 129 | */ |
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/versions.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/versions.h index 227717c..5127f7e 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/versions.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/versions.h | |||
| @@ -87,7 +87,7 @@ | |||
| 87 | #define ADDON_INSTANCE_VERSION_IMAGEDECODER_XML_ID "kodi.binary.instance.imagedecoder" | 87 | #define ADDON_INSTANCE_VERSION_IMAGEDECODER_XML_ID "kodi.binary.instance.imagedecoder" |
| 88 | #define ADDON_INSTANCE_VERSION_IMAGEDECODER_DEPENDS "addon-instance/ImageDecoder.h" | 88 | #define ADDON_INSTANCE_VERSION_IMAGEDECODER_DEPENDS "addon-instance/ImageDecoder.h" |
| 89 | 89 | ||
| 90 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM "2.0.7" | 90 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM "2.0.8" |
| 91 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM_MIN "2.0.7" | 91 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM_MIN "2.0.7" |
| 92 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM_XML_ID "kodi.binary.instance.inputstream" | 92 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM_XML_ID "kodi.binary.instance.inputstream" |
| 93 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM_DEPENDS "addon-instance/Inputstream.h" | 93 | #define ADDON_INSTANCE_VERSION_INPUTSTREAM_DEPENDS "addon-instance/Inputstream.h" |
| @@ -98,7 +98,7 @@ | |||
| 98 | #define ADDON_INSTANCE_VERSION_PERIPHERAL_DEPENDS "addon-instance/Peripheral.h" \ | 98 | #define ADDON_INSTANCE_VERSION_PERIPHERAL_DEPENDS "addon-instance/Peripheral.h" \ |
| 99 | "addon-instance/PeripheralUtils.h" | 99 | "addon-instance/PeripheralUtils.h" |
| 100 | 100 | ||
| 101 | #define ADDON_INSTANCE_VERSION_PVR "5.10.1" | 101 | #define ADDON_INSTANCE_VERSION_PVR "5.10.3" |
| 102 | #define ADDON_INSTANCE_VERSION_PVR_MIN "5.10.0" | 102 | #define ADDON_INSTANCE_VERSION_PVR_MIN "5.10.0" |
| 103 | #define ADDON_INSTANCE_VERSION_PVR_XML_ID "kodi.binary.instance.pvr" | 103 | #define ADDON_INSTANCE_VERSION_PVR_XML_ID "kodi.binary.instance.pvr" |
| 104 | #define ADDON_INSTANCE_VERSION_PVR_DEPENDS "xbmc_pvr_dll.h" \ | 104 | #define ADDON_INSTANCE_VERSION_PVR_DEPENDS "xbmc_pvr_dll.h" \ |
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h index 8c509ac..27fa800 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_dll.h | |||
| @@ -316,7 +316,7 @@ extern "C" | |||
| 316 | /*! | 316 | /*! |
| 317 | * Set the last watched position of a recording on the backend. | 317 | * Set the last watched position of a recording on the backend. |
| 318 | * @param recording The recording. | 318 | * @param recording The recording. |
| 319 | * @param position The last watched position in seconds | 319 | * @param lastplayedposition The last watched position in seconds |
| 320 | * @return PVR_ERROR_NO_ERROR if the position has been stored successfully. | 320 | * @return PVR_ERROR_NO_ERROR if the position has been stored successfully. |
| 321 | * @remarks Required if bSupportsLastPlayedPosition is set to true. | 321 | * @remarks Required if bSupportsLastPlayedPosition is set to true. |
| 322 | * Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function. | 322 | * Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function. |
| @@ -483,7 +483,7 @@ extern "C" | |||
| 483 | 483 | ||
| 484 | /*! | 484 | /*! |
| 485 | * Get the stream properties for a recording from the backend. | 485 | * Get the stream properties for a recording from the backend. |
| 486 | * @param[in] channel The recording to get the stream properties for. | 486 | * @param[in] recording The recording to get the stream properties for. |
| 487 | * @param[inout] properties in: an array for the properties to return, out: the properties required to play the stream. | 487 | * @param[inout] properties in: an array for the properties to return, out: the properties required to play the stream. |
| 488 | * @param[inout] iPropertiesCount in: the size of the properties array, out: the number of properties returned. | 488 | * @param[inout] iPropertiesCount in: the size of the properties array, out: the number of properties returned. |
| 489 | * @return PVR_ERROR_NO_ERROR if the stream is available. | 489 | * @return PVR_ERROR_NO_ERROR if the stream is available. |
| @@ -676,7 +676,9 @@ extern "C" | |||
| 676 | void OnPowerSavingDeactivated(); | 676 | void OnPowerSavingDeactivated(); |
| 677 | 677 | ||
| 678 | /*! | 678 | /*! |
| 679 | * Get stream times. Intermediate, will be moved to inputstream | 679 | * Get stream times. |
| 680 | * @param times A pointer to the data to be filled by the implementation. | ||
| 681 | * @return PVR_ERROR_NO_ERROR on success. | ||
| 680 | */ | 682 | */ |
| 681 | PVR_ERROR GetStreamTimes(PVR_STREAM_TIMES *times); | 683 | PVR_ERROR GetStreamTimes(PVR_STREAM_TIMES *times); |
| 682 | 684 | ||
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_types.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_types.h index 2a89fef..f1562b6 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_types.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_pvr_types.h | |||
| @@ -153,6 +153,7 @@ extern "C" { | |||
| 153 | const unsigned int PVR_TIMER_TYPE_REQUIRES_EPG_SERIES_ON_CREATE = 0x00800000; /*!< @brief this type should not appear on any create menus unless associated with an EPG tag with 'series' attributes (EPG_TAG.iFlags & EPG_TAG_FLAG_IS_SERIES || EPG_TAG.iSeriesNumber > 0 || EPG_TAG.iEpisodeNumber > 0 || EPG_TAG.iEpisodePartNumber > 0). Implies PVR_TIMER_TYPE_REQUIRES_EPG_TAG_ON_CREATE */ | 153 | const unsigned int PVR_TIMER_TYPE_REQUIRES_EPG_SERIES_ON_CREATE = 0x00800000; /*!< @brief this type should not appear on any create menus unless associated with an EPG tag with 'series' attributes (EPG_TAG.iFlags & EPG_TAG_FLAG_IS_SERIES || EPG_TAG.iSeriesNumber > 0 || EPG_TAG.iEpisodeNumber > 0 || EPG_TAG.iEpisodePartNumber > 0). Implies PVR_TIMER_TYPE_REQUIRES_EPG_TAG_ON_CREATE */ |
| 154 | const unsigned int PVR_TIMER_TYPE_SUPPORTS_ANY_CHANNEL = 0x01000000; /*!< @brief this type supports 'any channel', for example when defining a timer rule that should match any channel instaed of a particular channel */ | 154 | const unsigned int PVR_TIMER_TYPE_SUPPORTS_ANY_CHANNEL = 0x01000000; /*!< @brief this type supports 'any channel', for example when defining a timer rule that should match any channel instaed of a particular channel */ |
| 155 | const unsigned int PVR_TIMER_TYPE_REQUIRES_EPG_SERIESLINK_ON_CREATE = 0x02000000; /*!< @brief this type should not appear on any create menus which don't provide an associated EPG tag with a series link */ | 155 | const unsigned int PVR_TIMER_TYPE_REQUIRES_EPG_SERIESLINK_ON_CREATE = 0x02000000; /*!< @brief this type should not appear on any create menus which don't provide an associated EPG tag with a series link */ |
| 156 | const unsigned int PVR_TIMER_TYPE_SUPPORTS_READONLY_DELETE = 0x04000000; /*!< @brief this type allows deletion of an otherwise read-only timer */ | ||
| 156 | 157 | ||
| 157 | /*! | 158 | /*! |
| 158 | * @brief PVR timer weekdays (PVR_TIMER.iWeekdays values) | 159 | * @brief PVR timer weekdays (PVR_TIMER.iWeekdays values) |
| @@ -312,6 +313,9 @@ extern "C" { | |||
| 312 | 313 | ||
| 313 | unsigned int iRecordingsLifetimesSize; /*!< @brief (required) Count of possible values for PVR_RECORDING.iLifetime. 0 means lifetime is not supported for recordings or no own value definition wanted, but to use Kodi defaults of 1..365. */ | 314 | unsigned int iRecordingsLifetimesSize; /*!< @brief (required) Count of possible values for PVR_RECORDING.iLifetime. 0 means lifetime is not supported for recordings or no own value definition wanted, but to use Kodi defaults of 1..365. */ |
| 314 | PVR_ATTRIBUTE_INT_VALUE recordingsLifetimeValues[PVR_ADDON_ATTRIBUTE_VALUES_ARRAY_SIZE]; /*!< @brief (optional) Array containing the possible values for PVR_RECORDING.iLifetime. Must be filled if iLifetimesSize > 0 */ | 315 | PVR_ATTRIBUTE_INT_VALUE recordingsLifetimeValues[PVR_ADDON_ATTRIBUTE_VALUES_ARRAY_SIZE]; /*!< @brief (optional) Array containing the possible values for PVR_RECORDING.iLifetime. Must be filled if iLifetimesSize > 0 */ |
| 316 | |||
| 317 | // TODO: cleanup: move this member up after the other bools with the next incompatible pvr addon api change. | ||
| 318 | bool bSupportsAsyncEPGTransfer; /*!< @brief true if this addon-on supports asynchronous transfer of epg events to Kodi using the callback function EpgEventStateChange. */ | ||
| 315 | } ATTRIBUTE_PACKED PVR_ADDON_CAPABILITIES; | 319 | } ATTRIBUTE_PACKED PVR_ADDON_CAPABILITIES; |
| 316 | 320 | ||
| 317 | /*! | 321 | /*! |
| @@ -501,7 +505,7 @@ extern "C" { | |||
| 501 | int iMaxRecordings; /*!< @brief (optional) maximum number of recordings this timer shall create. > 0 number of recordings, < 0 addon defined integer list reference, == 0 disabled */ | 505 | int iMaxRecordings; /*!< @brief (optional) maximum number of recordings this timer shall create. > 0 number of recordings, < 0 addon defined integer list reference, == 0 disabled */ |
| 502 | unsigned int iRecordingGroup; /*!< @brief (optional) integer ref to addon/backend defined list of recording groups*/ | 506 | unsigned int iRecordingGroup; /*!< @brief (optional) integer ref to addon/backend defined list of recording groups*/ |
| 503 | time_t firstDay; /*!< @brief (optional) the first day this timer is active, for repeating timers */ | 507 | time_t firstDay; /*!< @brief (optional) the first day this timer is active, for repeating timers */ |
| 504 | unsigned int iWeekdays; /*!< @brief (optional) week days, for repeating timers */ | 508 | unsigned int iWeekdays; /*!< @brief (optional) week days, for repeating timers (see PVR_WEEKDAY_* constant values) */ |
| 505 | unsigned int iPreventDuplicateEpisodes; /*!< @brief (optional) 1 if backend should only record new episodes in case of a repeating epg-based timer, 0 if all episodes shall be recorded (no duplicate detection). Actual algorithm for | 509 | unsigned int iPreventDuplicateEpisodes; /*!< @brief (optional) 1 if backend should only record new episodes in case of a repeating epg-based timer, 0 if all episodes shall be recorded (no duplicate detection). Actual algorithm for |
| 506 | duplicate detection is defined by the backend. Addons may define own values for different duplicate detection algorithms, thus this is not just a bool.*/ | 510 | duplicate detection is defined by the backend. Addons may define own values for different duplicate detection algorithms, thus this is not just a bool.*/ |
| 507 | unsigned int iEpgUid; /*!< @brief (optional) EPG event id associated with this timer. Event ids must be unique for a channel. Valid ids must be greater than EPG_TAG_INVALID_UID. */ | 511 | unsigned int iEpgUid; /*!< @brief (optional) EPG event id associated with this timer. Event ids must be unique for a channel. Valid ids must be greater than EPG_TAG_INVALID_UID. */ |
| @@ -528,7 +532,7 @@ extern "C" { | |||
| 528 | char strPlot[PVR_ADDON_DESC_STRING_LENGTH]; /*!< @brief (optional) plot */ | 532 | char strPlot[PVR_ADDON_DESC_STRING_LENGTH]; /*!< @brief (optional) plot */ |
| 529 | char strGenreDescription[PVR_ADDON_DESC_STRING_LENGTH]; /*!< @brief (optional) genre. Will be used only when iGenreType = EPG_GENRE_USE_STRING */ | 533 | char strGenreDescription[PVR_ADDON_DESC_STRING_LENGTH]; /*!< @brief (optional) genre. Will be used only when iGenreType = EPG_GENRE_USE_STRING */ |
| 530 | char strChannelName[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (optional) channel name */ | 534 | char strChannelName[PVR_ADDON_NAME_STRING_LENGTH]; /*!< @brief (optional) channel name */ |
| 531 | char strIconPath[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) icon path */ | 535 | char strIconPath[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) channel logo (icon) path */ |
| 532 | char strThumbnailPath[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) thumbnail path */ | 536 | char strThumbnailPath[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) thumbnail path */ |
| 533 | char strFanartPath[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) fanart path */ | 537 | char strFanartPath[PVR_ADDON_URL_STRING_LENGTH]; /*!< @brief (optional) fanart path */ |
| 534 | time_t recordingTime; /*!< @brief (optional) start time of the recording */ | 538 | time_t recordingTime; /*!< @brief (optional) start time of the recording */ |
| @@ -584,8 +588,8 @@ extern "C" { | |||
| 584 | { | 588 | { |
| 585 | time_t startTime; /*!< @brief For recordings, this must be zero. For Live TV, this is a reference time in units of time_t (UTC) from which time elapsed starts. Ideally start of tv show, but can be any other value. */ | 589 | time_t startTime; /*!< @brief For recordings, this must be zero. For Live TV, this is a reference time in units of time_t (UTC) from which time elapsed starts. Ideally start of tv show, but can be any other value. */ |
| 586 | int64_t ptsStart; /*!< @brief the pts of startTime */ | 590 | int64_t ptsStart; /*!< @brief the pts of startTime */ |
| 587 | int64_t ptsBegin; /*!< @brief earliest pts player can seek back. Value is seconds, relative to ptsStart. For recordings, this must be zero. For Live TV, this must be zero if not timeshifting and must point to begin of the timeshift buffer, otherwise. */ | 591 | int64_t ptsBegin; /*!< @brief earliest pts player can seek back. Value is in micro seconds, relative to ptsStart. For recordings, this must be zero. For Live TV, this must be zero if not timeshifting and must point to begin of the timeshift buffer, otherwise. */ |
| 588 | int64_t ptsEnd; /*!< @brief latest pts player can seek forward. Value is seconds, relative to ptsStart. For recordings, this must be the total length in seconds. For Live TV, this must be zero if not timeshifting and must point to end of the timeshift buffer, otherwise. */ | 592 | int64_t ptsEnd; /*!< @brief latest pts player can seek forward. Value is in micro seconds, relative to ptsStart. For recordings, this must be the total length. For Live TV, this must be zero if not timeshifting and must point to end of the timeshift buffer, otherwise. */ |
| 589 | } ATTRIBUTE_PACKED PVR_STREAM_TIMES; | 593 | } ATTRIBUTE_PACKED PVR_STREAM_TIMES; |
| 590 | 594 | ||
| 591 | typedef struct AddonToKodiFuncTable_PVR | 595 | typedef struct AddonToKodiFuncTable_PVR |
