~/.zen/astrXbian/.install/youtube-dl.sh
This commit is contained in:
parent
cd8e1d769d
commit
27a419bc1b
|
@ -222,6 +222,11 @@ echo 'Installing Astroport cron_MINUTE'
|
||||||
#sudo sed -i "s/$myname/$XZUID/g" /etc/hosts
|
#sudo sed -i "s/$myname/$XZUID/g" /etc/hosts
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
echo "Install youtube-dl" # Avoid provider restrictions
|
||||||
|
########################################################################
|
||||||
|
~/.zen/astrXbian/.install/youtube-dl.sh
|
||||||
|
|
||||||
|
########################################################################
|
||||||
echo "Changing your DNS with https://FFDN.org and https://opennic.org" # Avoid provider restrictions
|
echo "Changing your DNS with https://FFDN.org and https://opennic.org" # Avoid provider restrictions
|
||||||
########################################################################
|
########################################################################
|
||||||
sudo chattr -i /etc/resolv.conf
|
sudo chattr -i /etc/resolv.conf
|
||||||
|
|
|
@ -25,13 +25,16 @@ export YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep'
|
||||||
[[ ! -f ~/.kodi/addons/plugin.video.vstream/resources/art/astroport.png ]] && cp ~/.zen/astrXbian/.install/.kodi/addons/plugin.video.vstream/resources/art/astroport.png ~/.kodi/addons/plugin.video.vstream/resources/art/
|
[[ ! -f ~/.kodi/addons/plugin.video.vstream/resources/art/astroport.png ]] && cp ~/.zen/astrXbian/.install/.kodi/addons/plugin.video.vstream/resources/art/astroport.png ~/.kodi/addons/plugin.video.vstream/resources/art/
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
### TEMP CODE (add missing packages to xbian) - TODO REMOVE after 30 mn for git pull & apply
|
|
||||||
# [[ $(which ffmpeg) == "" && "$USER" == "xbian" ]] && sudo apt-get update && sudo apt-get install git fail2ban inotify-tools curl net-tools libsodium* python3-dev python3-pip python3-setuptools python3-wheel mpack libssl-dev libffi-dev build-essential qrencode jq bc gawk ffmpeg sqlite dnsutils vlc mp3info x11-utils -y
|
|
||||||
|
|
||||||
### NO IP GATEWAY : EXIT
|
### NO IP GATEWAY : EXIT
|
||||||
ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` 2>&1>/dev/null && echo "GATEWAY OK" || exit 1
|
ping -q -w 1 -c 1 `ip r | grep default | cut -d ' ' -f 3` 2>&1>/dev/null && echo "GATEWAY OK" || exit 1
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
### TEMP CODE (add missing packages to xbian) - TODO REMOVE after 30 mn for git pull & apply
|
||||||
|
# [[ $(which ffmpeg) == "" && "$USER" == "xbian" ]] && sudo apt-get update && sudo apt-get install git fail2ban inotify-tools curl net-tools libsodium* python3-dev python3-pip python3-setuptools python3-wheel mpack libssl-dev libffi-dev build-essential qrencode jq bc gawk ffmpeg sqlite dnsutils vlc mp3info x11-utils -y
|
||||||
|
~/.zen/astrXbian/.install/youtube-dl.sh
|
||||||
|
########################################################################
|
||||||
|
|
||||||
|
########################################################################
|
||||||
# HELP DEVLT: Search "TODO" in code
|
# HELP DEVLT: Search "TODO" in code
|
||||||
# WARNING: This script must be processing less than 1 minute, so do not charge too much this script
|
# WARNING: This script must be processing less than 1 minute, so do not charge too much this script
|
||||||
# _ _____ ____ _ _______ ________ ____
|
# _ _____ ____ _ _______ ________ ____
|
||||||
|
|
Loading…
Reference in New Issue