Skip to content

Commit

Permalink
Add support for UXG Lite
Browse files Browse the repository at this point in the history
This commit adds support for correctly configuring the script on the UXG
Lite.
  • Loading branch information
fabianishere committed Dec 9, 2023
1 parent 4fd8b87 commit fd6c501
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
udm-iptv (3.0.4) stable; urgency=medium

* Support UXG Lite in configuration

-- Fabian Mastenbroek <mail.fabianm@gmail.com> Sat, 09 Dec 2023 13:00:00 +0000

udm-iptv (3.0.3) stable; urgency=medium

* Change default from igmpproxy to impproxy
Expand Down
3 changes: 3 additions & 0 deletions debian/config
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ while true; do
UDM|UDR)
db_set udm-iptv/wan-port eth4
;;
UXG)
db_set udm-iptv/wan-port eth1
;;
*)
db_set udm-iptv/wan-port eth8
;;
Expand Down
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if command -v unifi-os > /dev/null 2>&1; then
exit 1
fi

UDM_IPTV_VERSION=3.0.3
UDM_IPTV_VERSION=3.0.4

dest=$(mktemp -d)

Expand All @@ -33,13 +33,13 @@ chown _apt:root "$dest/udm-iptv.deb"
echo "Installing packages..."

# Update APT sources (best effort)
apt-get update -q 2>&1 /dev/null || true
apt-get update 2>&1 1>/dev/null || true

# Install dialog package for interactive install
apt-get install -q -y dialog 2>&1 /dev/null || echo "Failed to install dialog... Using readline frontend"
apt-get install -q -y dialog 2>&1 1>/dev/null || echo "Failed to install dialog... Using readline frontend"

# Install udm-iptv
apt-get install -q "$dest/udm-iptv.deb"
apt-get install -o Acquire::AllowUnsizedPackages=1 -q "$dest/udm-iptv.deb"

# Delete downloaded packages
rm -rf "$dest"
Expand Down

0 comments on commit fd6c501

Please sign in to comment.