mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 15:37:49 +00:00
vdr-plugin-restfulapi: add current wirbelscan header, fix webapp path
This commit is contained in:
parent
b1920c9134
commit
20def8fccc
@ -9,10 +9,14 @@ PKG_LICENSE="GPL"
|
|||||||
PKG_SITE="https://github.com/yavdr/vdr-plugin-restfulapi"
|
PKG_SITE="https://github.com/yavdr/vdr-plugin-restfulapi"
|
||||||
PKG_URL="https://github.com/yavdr/${PKG_NAME}/releases/download/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
PKG_URL="https://github.com/yavdr/${PKG_NAME}/releases/download/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||||
PKG_DEPENDS_TARGET="toolchain vdr cxxtools vdr-plugin-wirbelscan"
|
PKG_DEPENDS_TARGET="toolchain vdr cxxtools vdr-plugin-wirbelscan"
|
||||||
PKG_NEED_UNPACK="$(get_pkg_directory vdr)"
|
PKG_NEED_UNPACK="$(get_pkg_directory vdr) $(get_pkg_directory vdr-plugin-wirbelscan)"
|
||||||
PKG_LONGDESC="Allows to access many internals of the VDR via a restful API."
|
PKG_LONGDESC="Allows to access many internals of the VDR via a restful API."
|
||||||
PKG_TOOLCHAIN="manual"
|
PKG_TOOLCHAIN="manual"
|
||||||
|
|
||||||
|
pre_build_target() {
|
||||||
|
cp $(get_build_dir vdr-plugin-wirbelscan)/wirbelscan_services.h $PKG_BUILD/wirbelscan/
|
||||||
|
}
|
||||||
|
|
||||||
make_target() {
|
make_target() {
|
||||||
VDR_DIR=$(get_build_dir vdr)
|
VDR_DIR=$(get_build_dir vdr)
|
||||||
export PKG_CONFIG_PATH=$VDR_DIR:$PKG_CONFIG_PATH
|
export PKG_CONFIG_PATH=$VDR_DIR:$PKG_CONFIG_PATH
|
||||||
|
@ -9,3 +9,14 @@
|
|||||||
SetHeaders((string)"true");
|
SetHeaders((string)"true");
|
||||||
webapp_filetypes_filename = "webapp_file_types.conf";
|
webapp_filetypes_filename = "webapp_file_types.conf";
|
||||||
}
|
}
|
||||||
|
--- a/tools.h
|
||||||
|
+++ b/tools.h
|
||||||
|
@@ -40,7 +40,7 @@
|
||||||
|
#define RESTFULAPI_EXTENSIONS
|
||||||
|
|
||||||
|
#ifndef DOCUMENT_ROOT
|
||||||
|
-#define DOCUMENT_ROOT "/var/lib/vdr/plugins/restfulapi/"
|
||||||
|
+#define DOCUMENT_ROOT "/storage/.kodi/addons/service.multimedia.vdr-addon/res/plugins/restfulapi/"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
class Settings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user