Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for UXG Lite #289

Merged
merged 1 commit into from
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <[email protected]> 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