diff --git a/REGRESSION.md b/REGRESSION.md index 583bbeb..2b38847 100644 --- a/REGRESSION.md +++ b/REGRESSION.md @@ -1,7 +1,7 @@ # EmComm Tools Regression Tests - **Build**: ETC R7 Build 26 -- **Date**: 9 September 2026 +- **Date**: 10 September 2026 ## First Login @@ -184,3 +184,7 @@ * [ ] Thunderbird installed * [ ] et-mode: winlink-telnet + +## Multimedia + +* [ ] VLC & DVD playback diff --git a/scripts/install-media-player.sh b/scripts/install-media-player.sh new file mode 100755 index 0000000..91fe876 --- /dev/null +++ b/scripts/install-media-player.sh @@ -0,0 +1,28 @@ +#!/bin/bash +# Author : Gaston Gonzalez +# Date : 10 September 2026 +# Purpose : Install VLC media player +set -e +trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG +trap 'et-log "\"${last_command}\" command failed with exit code $?."' ERR + +. ./env.sh +. ../overlay/opt/emcomm-tools/bin/et-common + +# 1. Install utils for setting the package database. +DEBIAN_FRONTEND=noninteractive apt install debconf-utils -y + +# 2. Provide answers for the interactive prompts +echo "libdvd-pkg libdvd-pkg/first-install note" | debconf-set-selections +echo "libdvd-pkg libdvd-pkg/post-invoke_hook-install boolean true" | debconf-set-selections +echo "libdvd-pkg libdvd-pkg/upgrade note" | debconf-set-selections +echo "libdvd-pkg libdvd-pkg/build boolean true" | debconf-set-selections + +# 3. Install the VLC player and support for DVD playpack +DEBIAN_FRONTEND=noninteractive apt install \ + libdvd-pkg \ + libdvdread8 \ + vlc -y + +# 4. Install the DVD decryption library +DEBIAN_FRONTEND=noninteractive dpkg-reconfigure libdvd-pkg diff --git a/scripts/install.sh b/scripts/install.sh index 750a722..084b7df 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -2,7 +2,7 @@ # # Author : Gaston Gonzalez # Date : 16 March 2024 -# Updated : 5 September 2026 +# Updated : 10 September 2026 # Purpose : Main installer for EmComm Tools Community (ETC) . ./env.sh @@ -135,3 +135,6 @@ exitIfNotRoot # EmComm Tools PnP GUI apps ./install-et-user-app.sh + +# Offline Multimedia (DVD) +./install-media-player.sh diff --git a/tests/test-vlc.sh b/tests/test-vlc.sh new file mode 100755 index 0000000..f5dd16a --- /dev/null +++ b/tests/test-vlc.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# Author : Gaston Gonzalez +# Date : 10 September 2026 +# Purpose : Test VLC media player installation + +OUT=$(which vlc) +exit $?