Videos imported via yt-dlp are now automatically uploaded to PeerTube: - OAuth authentication using UCI-stored admin credentials - Video upload via PeerTube REST API - Real-time job status polling with import_job_status method - Progress indicator in LuCI UI - Automatic cleanup of temp files New RPCD method: import_job_status for polling job progress. Version bumped to 1.1.0. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
32 lines
1.1 KiB
Makefile
32 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-peertube
|
|
PKG_VERSION:=1.1.0
|
|
PKG_RELEASE:=1
|
|
|
|
LUCI_TITLE:=LuCI PeerTube Video Platform
|
|
LUCI_DEPENDS:=+luci-base +secubox-app-peertube
|
|
LUCI_PKGARCH:=all
|
|
PKG_LICENSE:=AGPL-3.0
|
|
|
|
include $(TOPDIR)/feeds/luci/luci.mk
|
|
|
|
define Package/luci-app-peertube/install
|
|
$(INSTALL_DIR) $(1)/usr/share/luci/menu.d
|
|
$(INSTALL_DATA) ./root/usr/share/luci/menu.d/luci-app-peertube.json $(1)/usr/share/luci/menu.d/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d
|
|
$(INSTALL_DATA) ./root/usr/share/rpcd/acl.d/luci-app-peertube.json $(1)/usr/share/rpcd/acl.d/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/libexec/rpcd
|
|
$(INSTALL_BIN) ./root/usr/libexec/rpcd/luci.peertube $(1)/usr/libexec/rpcd/
|
|
|
|
$(INSTALL_DIR) $(1)/www/luci-static/resources/view/peertube
|
|
$(INSTALL_DATA) ./htdocs/luci-static/resources/view/peertube/overview.js $(1)/www/luci-static/resources/view/peertube/
|
|
|
|
$(INSTALL_DIR) $(1)/www/luci-static/resources/peertube
|
|
$(INSTALL_DATA) ./htdocs/luci-static/resources/peertube/api.js $(1)/www/luci-static/resources/peertube/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,luci-app-peertube))
|