dvd - Added support for VLC and DVD playback

This commit is contained in:
thetechprepper
2026-09-10 12:33:16 -07:00
parent abf1288b0d
commit 0813f94b3b
4 changed files with 44 additions and 2 deletions
+5 -1
View File
@@ -1,7 +1,7 @@
# EmComm Tools Regression Tests # EmComm Tools Regression Tests
- **Build**: ETC R7 Build 26 - **Build**: ETC R7 Build 26
- **Date**: 9 September 2026 - **Date**: 10 September 2026
## First Login ## First Login
@@ -184,3 +184,7 @@
* [ ] Thunderbird installed * [ ] Thunderbird installed
* [ ] et-mode: winlink-telnet * [ ] et-mode: winlink-telnet
## Multimedia
* [ ] VLC & DVD playback
+28
View File
@@ -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
+4 -1
View File
@@ -2,7 +2,7 @@
# #
# Author : Gaston Gonzalez # Author : Gaston Gonzalez
# Date : 16 March 2024 # Date : 16 March 2024
# Updated : 5 September 2026 # Updated : 10 September 2026
# Purpose : Main installer for EmComm Tools Community (ETC) # Purpose : Main installer for EmComm Tools Community (ETC)
. ./env.sh . ./env.sh
@@ -135,3 +135,6 @@ exitIfNotRoot
# EmComm Tools PnP GUI apps # EmComm Tools PnP GUI apps
./install-et-user-app.sh ./install-et-user-app.sh
# Offline Multimedia (DVD)
./install-media-player.sh
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
# Author : Gaston Gonzalez
# Date : 10 September 2026
# Purpose : Test VLC media player installation
OUT=$(which vlc)
exit $?