diff options
| -rw-r--r-- | addons/library.kodi.guilib/libKODI_guilib.h (renamed from addons/library.xbmc.gui/libXBMC_gui.h) | 128 | ||||
| -rw-r--r-- | project/cmake/addons/addons/pvr.demo/pvr.demo.txt | 2 | ||||
| -rw-r--r-- | project/cmake/addons/addons/pvr.filmon/platforms.txt | 1 | ||||
| -rw-r--r-- | project/cmake/addons/addons/pvr.filmon/pvr.filmon.txt | 1 | ||||
| -rw-r--r-- | project/cmake/addons/addons/pvr.hts/pvr.hts.txt | 2 | ||||
| -rw-r--r-- | project/cmake/addons/addons/pvr.iptvsimple/pvr.iptvsimple.txt | 2 | ||||
| -rw-r--r-- | project/cmake/addons/addons/pvr.vdr.vnsi/pvr.vdr.vnsi.txt | 2 | ||||
| -rw-r--r-- | project/cmake/addons/addons/pvr.vuplus/pvr.vuplus.txt | 2 | ||||
| -rw-r--r-- | xbmc/addons/addon-bindings.mk | 2 | ||||
| -rw-r--r-- | xbmc/addons/include/xbmc_epg_types.h | 1 | ||||
| -rw-r--r-- | xbmc/addons/include/xbmc_pvr_dll.h | 6 | ||||
| -rw-r--r-- | xbmc/addons/include/xbmc_pvr_types.h | 5 |
12 files changed, 78 insertions, 76 deletions
diff --git a/addons/library.xbmc.gui/libXBMC_gui.h b/addons/library.kodi.guilib/libKODI_guilib.h index 8dbc38b..26be664 100644 --- a/addons/library.xbmc.gui/libXBMC_gui.h +++ b/addons/library.kodi.guilib/libKODI_guilib.h | |||
| @@ -29,17 +29,17 @@ | |||
| 29 | typedef void* GUIHANDLE; | 29 | typedef void* GUIHANDLE; |
| 30 | 30 | ||
| 31 | #ifdef _WIN32 | 31 | #ifdef _WIN32 |
| 32 | #define GUI_HELPER_DLL "\\library.xbmc.gui\\libXBMC_gui" ADDON_HELPER_EXT | 32 | #define GUI_HELPER_DLL "\\library.kodi.guilib\\libKODI_guilib" ADDON_HELPER_EXT |
| 33 | #else | 33 | #else |
| 34 | #define GUI_HELPER_DLL_NAME "libXBMC_gui-" ADDON_HELPER_ARCH ADDON_HELPER_EXT | 34 | #define GUI_HELPER_DLL_NAME "libKODI_guilib-" ADDON_HELPER_ARCH ADDON_HELPER_EXT |
| 35 | #define GUI_HELPER_DLL "/library.xbmc.gui/" GUI_HELPER_DLL_NAME | 35 | #define GUI_HELPER_DLL "/library.kodi.guilib/" GUI_HELPER_DLL_NAME |
| 36 | #endif | 36 | #endif |
| 37 | 37 | ||
| 38 | /* current ADDONGUI API version */ | 38 | /* current ADDONGUI API version */ |
| 39 | #define XBMC_GUI_API_VERSION "5.8.0" | 39 | #define KODI_GUILIB_API_VERSION "5.8.0" |
| 40 | 40 | ||
| 41 | /* min. ADDONGUI API version */ | 41 | /* min. ADDONGUI API version */ |
| 42 | #define XBMC_GUI_MIN_API_VERSION "5.8.0" | 42 | #define KODI_GUILIB_MIN_API_VERSION "5.8.0" |
| 43 | 43 | ||
| 44 | #define ADDON_ACTION_PREVIOUS_MENU 10 | 44 | #define ADDON_ACTION_PREVIOUS_MENU 10 |
| 45 | #define ADDON_ACTION_CLOSE_DIALOG 51 | 45 | #define ADDON_ACTION_CLOSE_DIALOG 51 |
| @@ -54,21 +54,21 @@ class CAddonGUIRenderingControl; | |||
| 54 | class CAddonGUISliderControl; | 54 | class CAddonGUISliderControl; |
| 55 | class CAddonGUISettingsSliderControl; | 55 | class CAddonGUISettingsSliderControl; |
| 56 | 56 | ||
| 57 | class CHelper_libXBMC_gui | 57 | class CHelper_libKODI_guilib |
| 58 | { | 58 | { |
| 59 | public: | 59 | public: |
| 60 | CHelper_libXBMC_gui() | 60 | CHelper_libKODI_guilib() |
| 61 | { | 61 | { |
| 62 | m_libXBMC_gui = NULL; | 62 | m_libKODI_guilib = NULL; |
| 63 | m_Handle = NULL; | 63 | m_Handle = NULL; |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | ~CHelper_libXBMC_gui() | 66 | ~CHelper_libKODI_guilib() |
| 67 | { | 67 | { |
| 68 | if (m_libXBMC_gui) | 68 | if (m_libKODI_guilib) |
| 69 | { | 69 | { |
| 70 | GUI_unregister_me(m_Handle, m_Callbacks); | 70 | GUI_unregister_me(m_Handle, m_Callbacks); |
| 71 | dlclose(m_libXBMC_gui); | 71 | dlclose(m_libKODI_guilib); |
| 72 | } | 72 | } |
| 73 | } | 73 | } |
| 74 | 74 | ||
| @@ -89,207 +89,207 @@ public: | |||
| 89 | } | 89 | } |
| 90 | #endif | 90 | #endif |
| 91 | 91 | ||
| 92 | m_libXBMC_gui = dlopen(libBasePath.c_str(), RTLD_LAZY); | 92 | m_libKODI_guilib = dlopen(libBasePath.c_str(), RTLD_LAZY); |
| 93 | if (m_libXBMC_gui == NULL) | 93 | if (m_libKODI_guilib == NULL) |
| 94 | { | 94 | { |
| 95 | fprintf(stderr, "Unable to load %s\n", dlerror()); | 95 | fprintf(stderr, "Unable to load %s\n", dlerror()); |
| 96 | return false; | 96 | return false; |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | GUI_register_me = (void* (*)(void *HANDLE)) | 99 | GUI_register_me = (void* (*)(void *HANDLE)) |
| 100 | dlsym(m_libXBMC_gui, "GUI_register_me"); | 100 | dlsym(m_libKODI_guilib, "GUI_register_me"); |
| 101 | if (GUI_register_me == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 101 | if (GUI_register_me == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 102 | 102 | ||
| 103 | GUI_unregister_me = (void (*)(void *HANDLE, void *CB)) | 103 | GUI_unregister_me = (void (*)(void *HANDLE, void *CB)) |
| 104 | dlsym(m_libXBMC_gui, "GUI_unregister_me"); | 104 | dlsym(m_libKODI_guilib, "GUI_unregister_me"); |
| 105 | if (GUI_unregister_me == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 105 | if (GUI_unregister_me == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 106 | 106 | ||
| 107 | GUI_lock = (void (*)(void *HANDLE, void *CB)) | 107 | GUI_lock = (void (*)(void *HANDLE, void *CB)) |
| 108 | dlsym(m_libXBMC_gui, "GUI_lock"); | 108 | dlsym(m_libKODI_guilib, "GUI_lock"); |
| 109 | if (GUI_lock == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 109 | if (GUI_lock == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 110 | 110 | ||
| 111 | GUI_unlock = (void (*)(void *HANDLE, void *CB)) | 111 | GUI_unlock = (void (*)(void *HANDLE, void *CB)) |
| 112 | dlsym(m_libXBMC_gui, "GUI_unlock"); | 112 | dlsym(m_libKODI_guilib, "GUI_unlock"); |
| 113 | if (GUI_unlock == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 113 | if (GUI_unlock == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 114 | 114 | ||
| 115 | GUI_get_screen_height = (int (*)(void *HANDLE, void *CB)) | 115 | GUI_get_screen_height = (int (*)(void *HANDLE, void *CB)) |
| 116 | dlsym(m_libXBMC_gui, "GUI_get_screen_height"); | 116 | dlsym(m_libKODI_guilib, "GUI_get_screen_height"); |
| 117 | if (GUI_get_screen_height == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 117 | if (GUI_get_screen_height == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 118 | 118 | ||
| 119 | GUI_get_screen_width = (int (*)(void *HANDLE, void *CB)) | 119 | GUI_get_screen_width = (int (*)(void *HANDLE, void *CB)) |
| 120 | dlsym(m_libXBMC_gui, "GUI_get_screen_width"); | 120 | dlsym(m_libKODI_guilib, "GUI_get_screen_width"); |
| 121 | if (GUI_get_screen_width == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 121 | if (GUI_get_screen_width == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 122 | 122 | ||
| 123 | GUI_get_video_resolution = (int (*)(void *HANDLE, void *CB)) | 123 | GUI_get_video_resolution = (int (*)(void *HANDLE, void *CB)) |
| 124 | dlsym(m_libXBMC_gui, "GUI_get_video_resolution"); | 124 | dlsym(m_libKODI_guilib, "GUI_get_video_resolution"); |
| 125 | if (GUI_get_video_resolution == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 125 | if (GUI_get_video_resolution == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 126 | 126 | ||
| 127 | GUI_Window_create = (CAddonGUIWindow* (*)(void *HANDLE, void *CB, const char *xmlFilename, const char *defaultSkin, bool forceFallback, bool asDialog)) | 127 | GUI_Window_create = (CAddonGUIWindow* (*)(void *HANDLE, void *CB, const char *xmlFilename, const char *defaultSkin, bool forceFallback, bool asDialog)) |
| 128 | dlsym(m_libXBMC_gui, "GUI_Window_create"); | 128 | dlsym(m_libKODI_guilib, "GUI_Window_create"); |
| 129 | if (GUI_Window_create == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 129 | if (GUI_Window_create == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 130 | 130 | ||
| 131 | GUI_Window_destroy = (void (*)(CAddonGUIWindow* p)) | 131 | GUI_Window_destroy = (void (*)(CAddonGUIWindow* p)) |
| 132 | dlsym(m_libXBMC_gui, "GUI_Window_destroy"); | 132 | dlsym(m_libKODI_guilib, "GUI_Window_destroy"); |
| 133 | if (GUI_Window_destroy == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 133 | if (GUI_Window_destroy == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 134 | 134 | ||
| 135 | GUI_control_get_spin = (CAddonGUISpinControl* (*)(void *HANDLE, void *CB, CAddonGUIWindow *window, int controlId)) | 135 | GUI_control_get_spin = (CAddonGUISpinControl* (*)(void *HANDLE, void *CB, CAddonGUIWindow *window, int controlId)) |
| 136 | dlsym(m_libXBMC_gui, "GUI_control_get_spin"); | 136 | dlsym(m_libKODI_guilib, "GUI_control_get_spin"); |
| 137 | if (GUI_control_get_spin == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 137 | if (GUI_control_get_spin == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 138 | 138 | ||
| 139 | GUI_control_release_spin = (void (*)(CAddonGUISpinControl* p)) | 139 | GUI_control_release_spin = (void (*)(CAddonGUISpinControl* p)) |
| 140 | dlsym(m_libXBMC_gui, "GUI_control_release_spin"); | 140 | dlsym(m_libKODI_guilib, "GUI_control_release_spin"); |
| 141 | if (GUI_control_release_spin == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 141 | if (GUI_control_release_spin == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 142 | 142 | ||
| 143 | GUI_control_get_radiobutton = (CAddonGUIRadioButton* (*)(void *HANDLE, void *CB, CAddonGUIWindow *window, int controlId)) | 143 | GUI_control_get_radiobutton = (CAddonGUIRadioButton* (*)(void *HANDLE, void *CB, CAddonGUIWindow *window, int controlId)) |
| 144 | dlsym(m_libXBMC_gui, "GUI_control_get_radiobutton"); | 144 | dlsym(m_libKODI_guilib, "GUI_control_get_radiobutton"); |
| 145 | if (GUI_control_get_radiobutton == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 145 | if (GUI_control_get_radiobutton == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 146 | 146 | ||
| 147 | GUI_control_release_radiobutton = (void (*)(CAddonGUIRadioButton* p)) | 147 | GUI_control_release_radiobutton = (void (*)(CAddonGUIRadioButton* p)) |
| 148 | dlsym(m_libXBMC_gui, "GUI_control_release_radiobutton"); | 148 | dlsym(m_libKODI_guilib, "GUI_control_release_radiobutton"); |
| 149 | if (GUI_control_release_radiobutton == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 149 | if (GUI_control_release_radiobutton == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 150 | 150 | ||
| 151 | GUI_control_get_progress = (CAddonGUIProgressControl* (*)(void *HANDLE, void *CB, CAddonGUIWindow *window, int controlId)) | 151 | GUI_control_get_progress = (CAddonGUIProgressControl* (*)(void *HANDLE, void *CB, CAddonGUIWindow *window, int controlId)) |
| 152 | dlsym(m_libXBMC_gui, "GUI_control_get_progress"); | 152 | dlsym(m_libKODI_guilib, "GUI_control_get_progress"); |
| 153 | if (GUI_control_get_progress == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 153 | if (GUI_control_get_progress == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 154 | 154 | ||
| 155 | GUI_control_release_progress = (void (*)(CAddonGUIProgressControl* p)) | 155 | GUI_control_release_progress = (void (*)(CAddonGUIProgressControl* p)) |
| 156 | dlsym(m_libXBMC_gui, "GUI_control_release_progress"); | 156 | dlsym(m_libKODI_guilib, "GUI_control_release_progress"); |
| 157 | if (GUI_control_release_progress == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 157 | if (GUI_control_release_progress == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 158 | 158 | ||
| 159 | GUI_ListItem_create = (CAddonListItem* (*)(void *HANDLE, void *CB, const char *label, const char *label2, const char *iconImage, const char *thumbnailImage, const char *path)) | 159 | GUI_ListItem_create = (CAddonListItem* (*)(void *HANDLE, void *CB, const char *label, const char *label2, const char *iconImage, const char *thumbnailImage, const char *path)) |
| 160 | dlsym(m_libXBMC_gui, "GUI_ListItem_create"); | 160 | dlsym(m_libKODI_guilib, "GUI_ListItem_create"); |
| 161 | if (GUI_ListItem_create == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 161 | if (GUI_ListItem_create == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 162 | 162 | ||
| 163 | GUI_ListItem_destroy = (void (*)(CAddonListItem* p)) | 163 | GUI_ListItem_destroy = (void (*)(CAddonListItem* p)) |
| 164 | dlsym(m_libXBMC_gui, "GUI_ListItem_destroy"); | 164 | dlsym(m_libKODI_guilib, "GUI_ListItem_destroy"); |
| 165 | if (GUI_ListItem_destroy == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 165 | if (GUI_ListItem_destroy == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 166 | 166 | ||
| 167 | GUI_control_get_rendering = (CAddonGUIRenderingControl* (*)(void *HANDLE, void *CB, CAddonGUIWindow *window, int controlId)) | 167 | GUI_control_get_rendering = (CAddonGUIRenderingControl* (*)(void *HANDLE, void *CB, CAddonGUIWindow *window, int controlId)) |
| 168 | dlsym(m_libXBMC_gui, "GUI_control_get_rendering"); | 168 | dlsym(m_libKODI_guilib, "GUI_control_get_rendering"); |
| 169 | if (GUI_control_get_rendering == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 169 | if (GUI_control_get_rendering == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 170 | 170 | ||
| 171 | GUI_control_release_rendering = (void (*)(CAddonGUIRenderingControl* p)) | 171 | GUI_control_release_rendering = (void (*)(CAddonGUIRenderingControl* p)) |
| 172 | dlsym(m_libXBMC_gui, "GUI_control_release_rendering"); | 172 | dlsym(m_libKODI_guilib, "GUI_control_release_rendering"); |
| 173 | if (GUI_control_release_rendering == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 173 | if (GUI_control_release_rendering == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 174 | 174 | ||
| 175 | GUI_control_get_slider = (CAddonGUISliderControl* (*)(void *HANDLE, void *CB, CAddonGUIWindow *window, int controlId)) | 175 | GUI_control_get_slider = (CAddonGUISliderControl* (*)(void *HANDLE, void *CB, CAddonGUIWindow *window, int controlId)) |
| 176 | dlsym(m_libXBMC_gui, "GUI_control_get_slider"); | 176 | dlsym(m_libKODI_guilib, "GUI_control_get_slider"); |
| 177 | if (GUI_control_get_slider == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 177 | if (GUI_control_get_slider == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 178 | 178 | ||
| 179 | GUI_control_release_slider = (void (*)(CAddonGUISliderControl* p)) | 179 | GUI_control_release_slider = (void (*)(CAddonGUISliderControl* p)) |
| 180 | dlsym(m_libXBMC_gui, "GUI_control_release_slider"); | 180 | dlsym(m_libKODI_guilib, "GUI_control_release_slider"); |
| 181 | if (GUI_control_release_slider == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 181 | if (GUI_control_release_slider == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 182 | 182 | ||
| 183 | GUI_control_get_settings_slider = (CAddonGUISettingsSliderControl* (*)(void *HANDLE, void *CB, CAddonGUIWindow *window, int controlId)) | 183 | GUI_control_get_settings_slider = (CAddonGUISettingsSliderControl* (*)(void *HANDLE, void *CB, CAddonGUIWindow *window, int controlId)) |
| 184 | dlsym(m_libXBMC_gui, "GUI_control_get_settings_slider"); | 184 | dlsym(m_libKODI_guilib, "GUI_control_get_settings_slider"); |
| 185 | if (GUI_control_get_settings_slider == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 185 | if (GUI_control_get_settings_slider == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 186 | 186 | ||
| 187 | GUI_control_release_settings_slider = (void (*)(CAddonGUISettingsSliderControl* p)) | 187 | GUI_control_release_settings_slider = (void (*)(CAddonGUISettingsSliderControl* p)) |
| 188 | dlsym(m_libXBMC_gui, "GUI_control_release_settings_slider"); | 188 | dlsym(m_libKODI_guilib, "GUI_control_release_settings_slider"); |
| 189 | if (GUI_control_release_settings_slider == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 189 | if (GUI_control_release_settings_slider == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 190 | 190 | ||
| 191 | GUI_dialog_keyboard_show_and_get_input_with_head = (bool (*)(void *HANDLE, void *CB, char &aTextString, unsigned int iMaxStringSize, const char *heading, bool allowEmptyResult, bool hiddenInput, unsigned int autoCloseMs)) | 191 | GUI_dialog_keyboard_show_and_get_input_with_head = (bool (*)(void *HANDLE, void *CB, char &aTextString, unsigned int iMaxStringSize, const char *heading, bool allowEmptyResult, bool hiddenInput, unsigned int autoCloseMs)) |
| 192 | dlsym(m_libXBMC_gui, "GUI_dialog_keyboard_show_and_get_input_with_head"); | 192 | dlsym(m_libKODI_guilib, "GUI_dialog_keyboard_show_and_get_input_with_head"); |
| 193 | if (GUI_dialog_keyboard_show_and_get_input_with_head == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 193 | if (GUI_dialog_keyboard_show_and_get_input_with_head == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 194 | 194 | ||
| 195 | GUI_dialog_keyboard_show_and_get_input = (bool (*)(void *HANDLE, void *CB, char &aTextString, unsigned int iMaxStringSize, bool allowEmptyResult, unsigned int autoCloseMs)) | 195 | GUI_dialog_keyboard_show_and_get_input = (bool (*)(void *HANDLE, void *CB, char &aTextString, unsigned int iMaxStringSize, bool allowEmptyResult, unsigned int autoCloseMs)) |
| 196 | dlsym(m_libXBMC_gui, "GUI_dialog_keyboard_show_and_get_input"); | 196 | dlsym(m_libKODI_guilib, "GUI_dialog_keyboard_show_and_get_input"); |
| 197 | if (GUI_dialog_keyboard_show_and_get_input == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 197 | if (GUI_dialog_keyboard_show_and_get_input == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 198 | 198 | ||
| 199 | GUI_dialog_keyboard_show_and_get_new_password_with_head = (bool (*)(void *HANDLE, void *CB, char &newPassword, unsigned int iMaxStringSize, const char *heading, bool allowEmptyResult, unsigned int autoCloseMs)) | 199 | GUI_dialog_keyboard_show_and_get_new_password_with_head = (bool (*)(void *HANDLE, void *CB, char &newPassword, unsigned int iMaxStringSize, const char *heading, bool allowEmptyResult, unsigned int autoCloseMs)) |
| 200 | dlsym(m_libXBMC_gui, "GUI_dialog_keyboard_show_and_get_new_password_with_head"); | 200 | dlsym(m_libKODI_guilib, "GUI_dialog_keyboard_show_and_get_new_password_with_head"); |
| 201 | if (GUI_dialog_keyboard_show_and_get_new_password_with_head == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 201 | if (GUI_dialog_keyboard_show_and_get_new_password_with_head == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 202 | 202 | ||
| 203 | GUI_dialog_keyboard_show_and_get_new_password = (bool (*)(void *HANDLE, void *CB, char &strNewPassword, unsigned int iMaxStringSize, unsigned int autoCloseMs)) | 203 | GUI_dialog_keyboard_show_and_get_new_password = (bool (*)(void *HANDLE, void *CB, char &strNewPassword, unsigned int iMaxStringSize, unsigned int autoCloseMs)) |
| 204 | dlsym(m_libXBMC_gui, "GUI_dialog_keyboard_show_and_get_new_password"); | 204 | dlsym(m_libKODI_guilib, "GUI_dialog_keyboard_show_and_get_new_password"); |
| 205 | if (GUI_dialog_keyboard_show_and_get_new_password == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 205 | if (GUI_dialog_keyboard_show_and_get_new_password == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 206 | 206 | ||
| 207 | GUI_dialog_keyboard_show_and_verify_new_password_with_head = (bool (*)(void *HANDLE, void *CB, char &strNewPassword, unsigned int iMaxStringSize, const char *heading, bool allowEmptyResult, unsigned int autoCloseMs)) | 207 | GUI_dialog_keyboard_show_and_verify_new_password_with_head = (bool (*)(void *HANDLE, void *CB, char &strNewPassword, unsigned int iMaxStringSize, const char *heading, bool allowEmptyResult, unsigned int autoCloseMs)) |
| 208 | dlsym(m_libXBMC_gui, "GUI_dialog_keyboard_show_and_verify_new_password_with_head"); | 208 | dlsym(m_libKODI_guilib, "GUI_dialog_keyboard_show_and_verify_new_password_with_head"); |
| 209 | if (GUI_dialog_keyboard_show_and_verify_new_password_with_head == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 209 | if (GUI_dialog_keyboard_show_and_verify_new_password_with_head == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 210 | 210 | ||
| 211 | GUI_dialog_keyboard_show_and_verify_new_password = (bool (*)(void *HANDLE, void *CB, char &strNewPassword, unsigned int iMaxStringSize, unsigned int autoCloseMs)) | 211 | GUI_dialog_keyboard_show_and_verify_new_password = (bool (*)(void *HANDLE, void *CB, char &strNewPassword, unsigned int iMaxStringSize, unsigned int autoCloseMs)) |
| 212 | dlsym(m_libXBMC_gui, "GUI_dialog_keyboard_show_and_verify_new_password"); | 212 | dlsym(m_libKODI_guilib, "GUI_dialog_keyboard_show_and_verify_new_password"); |
| 213 | if (GUI_dialog_keyboard_show_and_verify_new_password == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 213 | if (GUI_dialog_keyboard_show_and_verify_new_password == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 214 | 214 | ||
| 215 | GUI_dialog_keyboard_show_and_verify_password = (int (*)(void *HANDLE, void *CB, char &strPassword, unsigned int iMaxStringSize, const char *strHeading, int iRetries, unsigned int autoCloseMs)) | 215 | GUI_dialog_keyboard_show_and_verify_password = (int (*)(void *HANDLE, void *CB, char &strPassword, unsigned int iMaxStringSize, const char *strHeading, int iRetries, unsigned int autoCloseMs)) |
| 216 | dlsym(m_libXBMC_gui, "GUI_dialog_keyboard_show_and_verify_password"); | 216 | dlsym(m_libKODI_guilib, "GUI_dialog_keyboard_show_and_verify_password"); |
| 217 | if (GUI_dialog_keyboard_show_and_verify_password == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 217 | if (GUI_dialog_keyboard_show_and_verify_password == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 218 | 218 | ||
| 219 | GUI_dialog_keyboard_show_and_get_filter = (bool (*)(void *HANDLE, void *CB, char &aTextString, unsigned int iMaxStringSize, bool searching, unsigned int autoCloseMs)) | 219 | GUI_dialog_keyboard_show_and_get_filter = (bool (*)(void *HANDLE, void *CB, char &aTextString, unsigned int iMaxStringSize, bool searching, unsigned int autoCloseMs)) |
| 220 | dlsym(m_libXBMC_gui, "GUI_dialog_keyboard_show_and_get_filter"); | 220 | dlsym(m_libKODI_guilib, "GUI_dialog_keyboard_show_and_get_filter"); |
| 221 | if (GUI_dialog_keyboard_show_and_get_filter == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 221 | if (GUI_dialog_keyboard_show_and_get_filter == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 222 | 222 | ||
| 223 | GUI_dialog_keyboard_send_text_to_active_keyboard = (bool (*)(void *HANDLE, void *CB, const char *aTextString, bool closeKeyboard)) | 223 | GUI_dialog_keyboard_send_text_to_active_keyboard = (bool (*)(void *HANDLE, void *CB, const char *aTextString, bool closeKeyboard)) |
| 224 | dlsym(m_libXBMC_gui, "GUI_dialog_keyboard_send_text_to_active_keyboard"); | 224 | dlsym(m_libKODI_guilib, "GUI_dialog_keyboard_send_text_to_active_keyboard"); |
| 225 | if (GUI_dialog_keyboard_send_text_to_active_keyboard == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 225 | if (GUI_dialog_keyboard_send_text_to_active_keyboard == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 226 | 226 | ||
| 227 | GUI_dialog_keyboard_is_activated = (bool (*)(void *HANDLE, void *CB)) | 227 | GUI_dialog_keyboard_is_activated = (bool (*)(void *HANDLE, void *CB)) |
| 228 | dlsym(m_libXBMC_gui, "GUI_dialog_keyboard_is_activated"); | 228 | dlsym(m_libKODI_guilib, "GUI_dialog_keyboard_is_activated"); |
| 229 | if (GUI_dialog_keyboard_is_activated == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 229 | if (GUI_dialog_keyboard_is_activated == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 230 | 230 | ||
| 231 | GUI_dialog_numeric_show_and_verify_new_password = (bool (*)(void *HANDLE, void *CB, char &strNewPassword, unsigned int iMaxStringSize)) | 231 | GUI_dialog_numeric_show_and_verify_new_password = (bool (*)(void *HANDLE, void *CB, char &strNewPassword, unsigned int iMaxStringSize)) |
| 232 | dlsym(m_libXBMC_gui, "GUI_dialog_numeric_show_and_verify_new_password"); | 232 | dlsym(m_libKODI_guilib, "GUI_dialog_numeric_show_and_verify_new_password"); |
| 233 | if (GUI_dialog_numeric_show_and_verify_new_password == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 233 | if (GUI_dialog_numeric_show_and_verify_new_password == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 234 | 234 | ||
| 235 | GUI_dialog_numeric_show_and_verify_password = (int (*)(void *HANDLE, void *CB, char &strPassword, unsigned int iMaxStringSize, const char *strHeading, int iRetries)) | 235 | GUI_dialog_numeric_show_and_verify_password = (int (*)(void *HANDLE, void *CB, char &strPassword, unsigned int iMaxStringSize, const char *strHeading, int iRetries)) |
| 236 | dlsym(m_libXBMC_gui, "GUI_dialog_numeric_show_and_verify_password"); | 236 | dlsym(m_libKODI_guilib, "GUI_dialog_numeric_show_and_verify_password"); |
| 237 | if (GUI_dialog_numeric_show_and_verify_password == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 237 | if (GUI_dialog_numeric_show_and_verify_password == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 238 | 238 | ||
| 239 | GUI_dialog_numeric_show_and_verify_input = (bool (*)(void *HANDLE, void *CB, char &strPassword, unsigned int iMaxStringSize, const char *strHeading, bool bGetUserInput)) | 239 | GUI_dialog_numeric_show_and_verify_input = (bool (*)(void *HANDLE, void *CB, char &strPassword, unsigned int iMaxStringSize, const char *strHeading, bool bGetUserInput)) |
| 240 | dlsym(m_libXBMC_gui, "GUI_dialog_numeric_show_and_verify_input"); | 240 | dlsym(m_libKODI_guilib, "GUI_dialog_numeric_show_and_verify_input"); |
| 241 | if (GUI_dialog_numeric_show_and_verify_input == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 241 | if (GUI_dialog_numeric_show_and_verify_input == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 242 | 242 | ||
| 243 | GUI_dialog_numeric_show_and_get_time = (bool (*)(void *HANDLE, void *CB, tm &time, const char *strHeading)) | 243 | GUI_dialog_numeric_show_and_get_time = (bool (*)(void *HANDLE, void *CB, tm &time, const char *strHeading)) |
| 244 | dlsym(m_libXBMC_gui, "GUI_dialog_numeric_show_and_get_time"); | 244 | dlsym(m_libKODI_guilib, "GUI_dialog_numeric_show_and_get_time"); |
| 245 | if (GUI_dialog_numeric_show_and_get_time == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 245 | if (GUI_dialog_numeric_show_and_get_time == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 246 | 246 | ||
| 247 | GUI_dialog_numeric_show_and_get_date = (bool (*)(void *HANDLE, void *CB, tm &date, const char *strHeading)) | 247 | GUI_dialog_numeric_show_and_get_date = (bool (*)(void *HANDLE, void *CB, tm &date, const char *strHeading)) |
| 248 | dlsym(m_libXBMC_gui, "GUI_dialog_numeric_show_and_get_date"); | 248 | dlsym(m_libKODI_guilib, "GUI_dialog_numeric_show_and_get_date"); |
| 249 | if (GUI_dialog_numeric_show_and_get_date == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 249 | if (GUI_dialog_numeric_show_and_get_date == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 250 | 250 | ||
| 251 | GUI_dialog_numeric_show_and_get_ipaddress = (bool (*)(void *HANDLE, void *CB, char &IPAddress, unsigned int iMaxStringSize, const char *strHeading)) | 251 | GUI_dialog_numeric_show_and_get_ipaddress = (bool (*)(void *HANDLE, void *CB, char &IPAddress, unsigned int iMaxStringSize, const char *strHeading)) |
| 252 | dlsym(m_libXBMC_gui, "GUI_dialog_numeric_show_and_get_ipaddress"); | 252 | dlsym(m_libKODI_guilib, "GUI_dialog_numeric_show_and_get_ipaddress"); |
| 253 | if (GUI_dialog_numeric_show_and_get_ipaddress == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 253 | if (GUI_dialog_numeric_show_and_get_ipaddress == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 254 | 254 | ||
| 255 | GUI_dialog_numeric_show_and_get_number = (bool (*)(void *HANDLE, void *CB, char &strInput, unsigned int iMaxStringSize, const char *strHeading, unsigned int iAutoCloseTimeoutMs)) | 255 | GUI_dialog_numeric_show_and_get_number = (bool (*)(void *HANDLE, void *CB, char &strInput, unsigned int iMaxStringSize, const char *strHeading, unsigned int iAutoCloseTimeoutMs)) |
| 256 | dlsym(m_libXBMC_gui, "GUI_dialog_numeric_show_and_get_number"); | 256 | dlsym(m_libKODI_guilib, "GUI_dialog_numeric_show_and_get_number"); |
| 257 | if (GUI_dialog_numeric_show_and_get_number == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 257 | if (GUI_dialog_numeric_show_and_get_number == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 258 | 258 | ||
| 259 | GUI_dialog_numeric_show_and_get_seconds = (bool (*)(void *HANDLE, void *CB, char &strTime, unsigned int iMaxStringSize, const char *strHeading)) | 259 | GUI_dialog_numeric_show_and_get_seconds = (bool (*)(void *HANDLE, void *CB, char &strTime, unsigned int iMaxStringSize, const char *strHeading)) |
| 260 | dlsym(m_libXBMC_gui, "GUI_dialog_numeric_show_and_get_seconds"); | 260 | dlsym(m_libKODI_guilib, "GUI_dialog_numeric_show_and_get_seconds"); |
| 261 | if (GUI_dialog_numeric_show_and_get_seconds == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 261 | if (GUI_dialog_numeric_show_and_get_seconds == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 262 | 262 | ||
| 263 | GUI_dialog_filebrowser_show_and_get_file = (bool (*)(void *HANDLE, void *CB, const char *directory, const char *mask, const char *heading, char &path, unsigned int iMaxStringSize, bool useThumbs, bool useFileDirectories, bool singleList)) | 263 | GUI_dialog_filebrowser_show_and_get_file = (bool (*)(void *HANDLE, void *CB, const char *directory, const char *mask, const char *heading, char &path, unsigned int iMaxStringSize, bool useThumbs, bool useFileDirectories, bool singleList)) |
| 264 | dlsym(m_libXBMC_gui, "GUI_dialog_filebrowser_show_and_get_file"); | 264 | dlsym(m_libKODI_guilib, "GUI_dialog_filebrowser_show_and_get_file"); |
| 265 | if (GUI_dialog_filebrowser_show_and_get_file == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 265 | if (GUI_dialog_filebrowser_show_and_get_file == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 266 | 266 | ||
| 267 | GUI_dialog_ok_show_and_get_input_single_text = (void (*)(void *HANDLE, void *CB, const char *heading, const char *text)) | 267 | GUI_dialog_ok_show_and_get_input_single_text = (void (*)(void *HANDLE, void *CB, const char *heading, const char *text)) |
| 268 | dlsym(m_libXBMC_gui, "GUI_dialog_ok_show_and_get_input_single_text"); | 268 | dlsym(m_libKODI_guilib, "GUI_dialog_ok_show_and_get_input_single_text"); |
| 269 | if (GUI_dialog_ok_show_and_get_input_single_text == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 269 | if (GUI_dialog_ok_show_and_get_input_single_text == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 270 | 270 | ||
| 271 | GUI_dialog_ok_show_and_get_input_line_text = (void (*)(void *HANDLE, void *CB, const char *heading, const char *line0, const char *line1, const char *line2)) | 271 | GUI_dialog_ok_show_and_get_input_line_text = (void (*)(void *HANDLE, void *CB, const char *heading, const char *line0, const char *line1, const char *line2)) |
| 272 | dlsym(m_libXBMC_gui, "GUI_dialog_ok_show_and_get_input_line_text"); | 272 | dlsym(m_libKODI_guilib, "GUI_dialog_ok_show_and_get_input_line_text"); |
| 273 | if (GUI_dialog_ok_show_and_get_input_line_text == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 273 | if (GUI_dialog_ok_show_and_get_input_line_text == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 274 | 274 | ||
| 275 | GUI_dialog_yesno_show_and_get_input_singletext = (bool (*)(void *HANDLE, void *CB, const char *heading, const char *text, bool& bCanceled, const char *noLabel, const char *yesLabel)) | 275 | GUI_dialog_yesno_show_and_get_input_singletext = (bool (*)(void *HANDLE, void *CB, const char *heading, const char *text, bool& bCanceled, const char *noLabel, const char *yesLabel)) |
| 276 | dlsym(m_libXBMC_gui, "GUI_dialog_yesno_show_and_get_input_singletext"); | 276 | dlsym(m_libKODI_guilib, "GUI_dialog_yesno_show_and_get_input_singletext"); |
| 277 | if (GUI_dialog_yesno_show_and_get_input_singletext == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 277 | if (GUI_dialog_yesno_show_and_get_input_singletext == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 278 | 278 | ||
| 279 | GUI_dialog_yesno_show_and_get_input_linetext = (bool (*)(void *HANDLE, void *CB, const char *heading, const char *line0, const char *line1, const char *line2, const char *noLabel, const char *yesLabel)) | 279 | GUI_dialog_yesno_show_and_get_input_linetext = (bool (*)(void *HANDLE, void *CB, const char *heading, const char *line0, const char *line1, const char *line2, const char *noLabel, const char *yesLabel)) |
| 280 | dlsym(m_libXBMC_gui, "GUI_dialog_yesno_show_and_get_input_linetext"); | 280 | dlsym(m_libKODI_guilib, "GUI_dialog_yesno_show_and_get_input_linetext"); |
| 281 | if (GUI_dialog_yesno_show_and_get_input_linetext == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 281 | if (GUI_dialog_yesno_show_and_get_input_linetext == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 282 | 282 | ||
| 283 | GUI_dialog_yesno_show_and_get_input_linebuttontext = (bool (*)(void *HANDLE, void *CB, const char *heading, const char *line0, const char *line1, const char *line2, bool &bCanceled, const char *noLabel, const char *yesLabel)) | 283 | GUI_dialog_yesno_show_and_get_input_linebuttontext = (bool (*)(void *HANDLE, void *CB, const char *heading, const char *line0, const char *line1, const char *line2, bool &bCanceled, const char *noLabel, const char *yesLabel)) |
| 284 | dlsym(m_libXBMC_gui, "GUI_dialog_yesno_show_and_get_input_linebuttontext"); | 284 | dlsym(m_libKODI_guilib, "GUI_dialog_yesno_show_and_get_input_linebuttontext"); |
| 285 | if (GUI_dialog_yesno_show_and_get_input_linebuttontext == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 285 | if (GUI_dialog_yesno_show_and_get_input_linebuttontext == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 286 | 286 | ||
| 287 | GUI_dialog_text_viewer = (void (*)(void *hdl, void *cb, const char *heading, const char *text)) | 287 | GUI_dialog_text_viewer = (void (*)(void *hdl, void *cb, const char *heading, const char *text)) |
| 288 | dlsym(m_libXBMC_gui, "GUI_dialog_text_viewer"); | 288 | dlsym(m_libKODI_guilib, "GUI_dialog_text_viewer"); |
| 289 | if (GUI_dialog_text_viewer == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 289 | if (GUI_dialog_text_viewer == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 290 | 290 | ||
| 291 | GUI_dialog_select = (int (*)(void *hdl, void *cb, const char *heading, const char *entries[], unsigned int size, int selected)) | 291 | GUI_dialog_select = (int (*)(void *hdl, void *cb, const char *heading, const char *entries[], unsigned int size, int selected)) |
| 292 | dlsym(m_libXBMC_gui, "GUI_dialog_select"); | 292 | dlsym(m_libKODI_guilib, "GUI_dialog_select"); |
| 293 | if (GUI_dialog_select == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } | 293 | if (GUI_dialog_select == NULL) { fprintf(stderr, "Unable to assign function %s\n", dlerror()); return false; } |
| 294 | 294 | ||
| 295 | m_Callbacks = GUI_register_me(m_Handle); | 295 | m_Callbacks = GUI_register_me(m_Handle); |
| @@ -604,7 +604,7 @@ protected: | |||
| 604 | int (*GUI_dialog_select)(void *hdl, void *cb, const char *heading, const char *entries[], unsigned int size, int selected); | 604 | int (*GUI_dialog_select)(void *hdl, void *cb, const char *heading, const char *entries[], unsigned int size, int selected); |
| 605 | 605 | ||
| 606 | private: | 606 | private: |
| 607 | void *m_libXBMC_gui; | 607 | void *m_libKODI_guilib; |
| 608 | void *m_Handle; | 608 | void *m_Handle; |
| 609 | void *m_Callbacks; | 609 | void *m_Callbacks; |
| 610 | struct cb_array | 610 | struct cb_array |
diff --git a/project/cmake/addons/addons/pvr.demo/pvr.demo.txt b/project/cmake/addons/addons/pvr.demo/pvr.demo.txt index 71e18c0..1307381 100644 --- a/project/cmake/addons/addons/pvr.demo/pvr.demo.txt +++ b/project/cmake/addons/addons/pvr.demo/pvr.demo.txt | |||
| @@ -1 +1 @@ | |||
| pvr.demo https://github.com/kodi-pvr/pvr.demo e457cf4 \ No newline at end of file | pvr.demo https://github.com/kodi-pvr/pvr.demo b4b7de1 | ||
diff --git a/project/cmake/addons/addons/pvr.filmon/platforms.txt b/project/cmake/addons/addons/pvr.filmon/platforms.txt new file mode 100644 index 0000000..baa6044 --- /dev/null +++ b/project/cmake/addons/addons/pvr.filmon/platforms.txt | |||
| @@ -0,0 +1 @@ | |||
| all \ No newline at end of file | |||
diff --git a/project/cmake/addons/addons/pvr.filmon/pvr.filmon.txt b/project/cmake/addons/addons/pvr.filmon/pvr.filmon.txt new file mode 100644 index 0000000..21e5f3a --- /dev/null +++ b/project/cmake/addons/addons/pvr.filmon/pvr.filmon.txt | |||
| @@ -0,0 +1 @@ | |||
| pvr.filmon https://github.com/kodi-pvr/pvr.filmon a0ee270 | |||
diff --git a/project/cmake/addons/addons/pvr.hts/pvr.hts.txt b/project/cmake/addons/addons/pvr.hts/pvr.hts.txt index 4c8068d..fbdac0b 100644 --- a/project/cmake/addons/addons/pvr.hts/pvr.hts.txt +++ b/project/cmake/addons/addons/pvr.hts/pvr.hts.txt | |||
| @@ -1 +1 @@ | |||
| pvr.hts https://github.com/kodi-pvr/pvr.hts 3bc77ae \ No newline at end of file | pvr.hts https://github.com/kodi-pvr/pvr.hts abceaf8 | ||
diff --git a/project/cmake/addons/addons/pvr.iptvsimple/pvr.iptvsimple.txt b/project/cmake/addons/addons/pvr.iptvsimple/pvr.iptvsimple.txt index 73358b7..e35bb0d 100644 --- a/project/cmake/addons/addons/pvr.iptvsimple/pvr.iptvsimple.txt +++ b/project/cmake/addons/addons/pvr.iptvsimple/pvr.iptvsimple.txt | |||
| @@ -1 +1 @@ | |||
| pvr.iptvsimple https://github.com/kodi-pvr/pvr.iptvsimple f6ca894 \ No newline at end of file | pvr.iptvsimple https://github.com/kodi-pvr/pvr.iptvsimple 4e1e7f6 | ||
diff --git a/project/cmake/addons/addons/pvr.vdr.vnsi/pvr.vdr.vnsi.txt b/project/cmake/addons/addons/pvr.vdr.vnsi/pvr.vdr.vnsi.txt index 8d6f770..1d8e086 100644 --- a/project/cmake/addons/addons/pvr.vdr.vnsi/pvr.vdr.vnsi.txt +++ b/project/cmake/addons/addons/pvr.vdr.vnsi/pvr.vdr.vnsi.txt | |||
| @@ -1 +1 @@ | |||
| pvr.vdr.vnsi https://github.com/FernetMenta/pvr.vdr.vnsi 3cc618e \ No newline at end of file | pvr.vdr.vnsi https://github.com/kodi-pvr/pvr.vdr.vnsi 9bebee1 \ No newline at end of file | ||
diff --git a/project/cmake/addons/addons/pvr.vuplus/pvr.vuplus.txt b/project/cmake/addons/addons/pvr.vuplus/pvr.vuplus.txt index e3983d8..1192460 100644 --- a/project/cmake/addons/addons/pvr.vuplus/pvr.vuplus.txt +++ b/project/cmake/addons/addons/pvr.vuplus/pvr.vuplus.txt | |||
| @@ -1 +1 @@ | |||
| pvr.vuplus https://github.com/kodi-pvr/pvr.vuplus 6acc177 \ No newline at end of file | pvr.vuplus https://github.com/kodi-pvr/pvr.vuplus 366c8df | ||
diff --git a/xbmc/addons/addon-bindings.mk b/xbmc/addons/addon-bindings.mk index 4a33cfd..e7185a7 100644 --- a/xbmc/addons/addon-bindings.mk +++ b/xbmc/addons/addon-bindings.mk | |||
| @@ -15,7 +15,7 @@ BINDINGS+=xbmc/addons/include/xbmc_vis_dll.h | |||
| 15 | BINDINGS+=xbmc/addons/include/xbmc_vis_types.h | 15 | BINDINGS+=xbmc/addons/include/xbmc_vis_types.h |
| 16 | BINDINGS+=xbmc/addons/include/xbmc_stream_utils.hpp | 16 | BINDINGS+=xbmc/addons/include/xbmc_stream_utils.hpp |
| 17 | BINDINGS+=addons/library.xbmc.addon/libXBMC_addon.h | 17 | BINDINGS+=addons/library.xbmc.addon/libXBMC_addon.h |
| 18 | BINDINGS+=addons/library.xbmc.gui/libXBMC_gui.h | 18 | BINDINGS+=addons/library.kodi.guilib/libKODI_guilib.h |
| 19 | BINDINGS+=addons/library.xbmc.pvr/libXBMC_pvr.h | 19 | BINDINGS+=addons/library.xbmc.pvr/libXBMC_pvr.h |
| 20 | BINDINGS+=addons/library.xbmc.codec/libXBMC_codec.h | 20 | BINDINGS+=addons/library.xbmc.codec/libXBMC_codec.h |
| 21 | BINDINGS+=xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxPacket.h | 21 | BINDINGS+=xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxPacket.h |
diff --git a/xbmc/addons/include/xbmc_epg_types.h b/xbmc/addons/include/xbmc_epg_types.h index 97cea40..ceac074 100644 --- a/xbmc/addons/include/xbmc_epg_types.h +++ b/xbmc/addons/include/xbmc_epg_types.h | |||
| @@ -88,7 +88,6 @@ extern "C" { | |||
| 88 | int iEpisodeNumber; /*!< @brief (optional) episode number */ | 88 | int iEpisodeNumber; /*!< @brief (optional) episode number */ |
| 89 | int iEpisodePartNumber; /*!< @brief (optional) episode part number */ | 89 | int iEpisodePartNumber; /*!< @brief (optional) episode part number */ |
| 90 | const char * strEpisodeName; /*!< @brief (optional) episode name */ | 90 | const char * strEpisodeName; /*!< @brief (optional) episode name */ |
| 91 | const char * strRecordingId; /*!< @brief (optional) unique id of the recording on the client which represents this event */ | ||
| 92 | } ATTRIBUTE_PACKED EPG_TAG; | 91 | } ATTRIBUTE_PACKED EPG_TAG; |
| 93 | 92 | ||
| 94 | #ifdef __cplusplus | 93 | #ifdef __cplusplus |
diff --git a/xbmc/addons/include/xbmc_pvr_dll.h b/xbmc/addons/include/xbmc_pvr_dll.h index 3ad46fc..5280399 100644 --- a/xbmc/addons/include/xbmc_pvr_dll.h +++ b/xbmc/addons/include/xbmc_pvr_dll.h | |||
| @@ -176,7 +176,7 @@ extern "C" | |||
| 176 | * Show the channel scan dialog if this backend supports it. | 176 | * Show the channel scan dialog if this backend supports it. |
| 177 | * @return PVR_ERROR_NO_ERROR if the dialog was displayed successfully. | 177 | * @return PVR_ERROR_NO_ERROR if the dialog was displayed successfully. |
| 178 | * @remarks Required if bSupportsChannelScan is set to true. Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function. | 178 | * @remarks Required if bSupportsChannelScan is set to true. Return PVR_ERROR_NOT_IMPLEMENTED if this add-on won't provide this function. |
| 179 | * @note see libXBMC_gui.h about related parts | 179 | * @note see libKODI_guilib.h about related parts |
| 180 | */ | 180 | */ |
| 181 | PVR_ERROR OpenDialogChannelScan(void); | 181 | PVR_ERROR OpenDialogChannelScan(void); |
| 182 | 182 | ||
| @@ -227,7 +227,7 @@ extern "C" | |||
| 227 | * @param channel The channel to show the dialog for. | 227 | * @param channel The channel to show the dialog for. |
| 228 | * @return PVR_ERROR_NO_ERROR if the dialog has been displayed successfully. | 228 | * @return PVR_ERROR_NO_ERROR if the dialog has been displayed successfully. |
| 229 | * @remarks Required if bSupportsChannelSettings is set to true. | 229 | * @remarks Required if bSupportsChannelSettings is set to true. |
| 230 | * @note see libXBMC_gui.h about related parts | 230 | * @note see libKODI_guilib.h about related parts |
| 231 | */ | 231 | */ |
| 232 | PVR_ERROR OpenDialogChannelSettings(const PVR_CHANNEL& channel); | 232 | PVR_ERROR OpenDialogChannelSettings(const PVR_CHANNEL& channel); |
| 233 | 233 | ||
| @@ -236,7 +236,7 @@ extern "C" | |||
| 236 | * @param channel The channel to add. | 236 | * @param channel The channel to add. |
| 237 | * @return PVR_ERROR_NO_ERROR if the channel has been added successfully. | 237 | * @return PVR_ERROR_NO_ERROR if the channel has been added successfully. |
| 238 | * @remarks Required if bSupportsChannelSettings is set to true. | 238 | * @remarks Required if bSupportsChannelSettings is set to true. |
| 239 | * @note see libXBMC_gui.h about related parts | 239 | * @note see libKODI_guilib.h about related parts |
| 240 | */ | 240 | */ |
| 241 | PVR_ERROR OpenDialogChannelAdd(const PVR_CHANNEL& channel); | 241 | PVR_ERROR OpenDialogChannelAdd(const PVR_CHANNEL& channel); |
| 242 | //@} | 242 | //@} |
diff --git a/xbmc/addons/include/xbmc_pvr_types.h b/xbmc/addons/include/xbmc_pvr_types.h index 5285bd1..5716e51 100644 --- a/xbmc/addons/include/xbmc_pvr_types.h +++ b/xbmc/addons/include/xbmc_pvr_types.h | |||
| @@ -75,10 +75,10 @@ struct DemuxPacket; | |||
| 75 | #define PVR_STREAM_MAX_STREAMS 20 | 75 | #define PVR_STREAM_MAX_STREAMS 20 |
| 76 | 76 | ||
| 77 | /* current PVR API version */ | 77 | /* current PVR API version */ |
| 78 | #define XBMC_PVR_API_VERSION "1.9.4" | 78 | #define XBMC_PVR_API_VERSION "1.9.5" |
| 79 | 79 | ||
| 80 | /* min. PVR API version */ | 80 | /* min. PVR API version */ |
| 81 | #define XBMC_PVR_MIN_API_VERSION "1.9.4" | 81 | #define XBMC_PVR_MIN_API_VERSION "1.9.5" |
| 82 | 82 | ||
| 83 | #ifdef __cplusplus | 83 | #ifdef __cplusplus |
| 84 | extern "C" { | 84 | extern "C" { |
| @@ -299,6 +299,7 @@ extern "C" { | |||
| 299 | int iPlayCount; /*!< @brief (optional) play count of this recording on the client */ | 299 | int iPlayCount; /*!< @brief (optional) play count of this recording on the client */ |
| 300 | int iLastPlayedPosition; /*!< @brief (optional) last played position of this recording on the client */ | 300 | int iLastPlayedPosition; /*!< @brief (optional) last played position of this recording on the client */ |
| 301 | bool bIsDeleted; /*!< @brief (optional) shows this recording is deleted and can be undelete */ | 301 | bool bIsDeleted; /*!< @brief (optional) shows this recording is deleted and can be undelete */ |
| 302 | unsigned int iEpgEventId; /*!< @brief (optional) EPG event id associated with this recording */ | ||
| 302 | } ATTRIBUTE_PACKED PVR_RECORDING; | 303 | } ATTRIBUTE_PACKED PVR_RECORDING; |
| 303 | 304 | ||
| 304 | /*! | 305 | /*! |
