diff options
Diffstat (limited to 'applications/luci-uvc_streamer')
6 files changed, 0 insertions, 132 deletions
diff --git a/applications/luci-uvc_streamer/Makefile b/applications/luci-uvc_streamer/Makefile deleted file mode 100644 index eb78c9382b..0000000000 --- a/applications/luci-uvc_streamer/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -PO = uvc_streamer - -include ../../build/config.mk -include ../../build/module.mk diff --git a/applications/luci-uvc_streamer/ipkg/postinst b/applications/luci-uvc_streamer/ipkg/postinst deleted file mode 100755 index d0cf7fec6f..0000000000 --- a/applications/luci-uvc_streamer/ipkg/postinst +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -[ -n "${IPKG_INSTROOT}" ] || { - ( . /etc/uci-defaults/luci-uvc_streamer ) && rm -f /etc/uci-defaults/luci-uvc_streamer - /etc/init.d/uvc-streamer enabled || /etc/init.d/uvc-streamer enable -} diff --git a/applications/luci-uvc_streamer/luasrc/controller/uvc_streamer.lua b/applications/luci-uvc_streamer/luasrc/controller/uvc_streamer.lua deleted file mode 100644 index 7b995c26b6..0000000000 --- a/applications/luci-uvc_streamer/luasrc/controller/uvc_streamer.lua +++ /dev/null @@ -1,28 +0,0 @@ ---[[ - -LuCI UVC Streamer -(c) 2008 Yanira <forum-2008@email.de> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- - -module("luci.controller.uvc_streamer", package.seeall) - -function index() - require("luci.i18n") - luci.i18n.loadc("uvc_streamer") - if not nixio.fs.access("/etc/config/uvc-streamer") then - return - end - - local page = entry({"admin", "services", "uvc_streamer"}, cbi("uvc_streamer"), luci.i18n.translate("Webcam streaming"), 60) - page.i18n = "uvc_streamer" - page.dependent = true -end diff --git a/applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua b/applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua deleted file mode 100644 index 469ea6f009..0000000000 --- a/applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua +++ /dev/null @@ -1,47 +0,0 @@ ---[[ - -LuCI UVC Streamer -(c) 2008 Yanira <forum-2008@email.de> - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -$Id$ - -]]-- - --- find current lan address and port of first uvc_streamer config section -local uci = luci.model.uci.cursor_state() -local addr = uci:get("network", "lan", "ipaddr") -local port - -uci:foreach( "uvc-streamer", "uvc-streamer", - function(section) port = port or tonumber(section.port) end ) - -addr = addr or "192.168.1.1" -port = port or 8080 - -m = Map("uvc-streamer", translate("Webcam streaming"), - translatef("uvc_streamer_desc", nil, addr, port, addr, port)) - -s = m:section(TypedSection, "uvc-streamer", translate("Settings")) -s.addremove = false -s.anonymous = true - -s:option(Flag, "enabled", translate("Enable")) - -s:option(Value, "device", translate("Device")).rmempty = true - -nm = s:option(Value, "resolution", translate("Resolution")) -nm:value("640x480") -nm:value("320x240") -nm:value("160x120") - -s:option(Value, "framespersecond", translate("Frames per second")).rmempty = true - -s:option(Value, "port", translate("Port")).rmempty = true - -return m diff --git a/applications/luci-uvc_streamer/root/etc/uci-defaults/luci-uvc_streamer b/applications/luci-uvc_streamer/root/etc/uci-defaults/luci-uvc_streamer deleted file mode 100644 index 42372f0515..0000000000 --- a/applications/luci-uvc_streamer/root/etc/uci-defaults/luci-uvc_streamer +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -uci batch <<-EOF - add ucitrack uvc-streamer - set ucitrack.@uvc-streamer[-1].init=uvc-streamer - commit ucitrack -EOF diff --git a/applications/luci-uvc_streamer/root/lib/uci/schema/default/uvc-streamer b/applications/luci-uvc_streamer/root/lib/uci/schema/default/uvc-streamer deleted file mode 100644 index 9ea255c31f..0000000000 --- a/applications/luci-uvc_streamer/root/lib/uci/schema/default/uvc-streamer +++ /dev/null @@ -1,41 +0,0 @@ -#package uvc-streamer - -config package - option title 'UVC-Streamer webcam streaming configuration' - -config section - option name 'uvc-streamer' - option package 'uvc-streamer' - option title 'Settings' - option unique true - option required true - -config variable - option name 'enabled' - option section 'uvc-streamer.uvc-streamer' - option title 'Enable' - option required true - option datatype boolean - -config variable - option name 'device' - option section 'uvc-streamer.uvc-streamer' - option title 'Device' - -config variable - option name 'resolution' - option section 'uvc-streamer.uvc-streamer' - option title 'Resolution' - option required true - -config variable - option name 'framespersecond' - option section 'uvc-streamer.uvc-streamer' - option title 'Frames per second' - option datatype uint - -config variable - option name 'port' - option section 'uvc-streamer.uvc-streamer' - option title 'Port' - option datatype port |