Unverified Commit 578e14b0 authored by Gauthier Provost's avatar Gauthier Provost Committed by GitHub
Browse files

Merge pull request #64 from armbian/dev

Add Emby Server install function and update README.
parents c9c325ac 6914ebd3
...@@ -40,6 +40,7 @@ Login as root and type: ...@@ -40,6 +40,7 @@ Login as root and type:
- [Syncthing](https://syncthing.net/) *(personal cloud)* - [Syncthing](https://syncthing.net/) *(personal cloud)*
- [SoftEther VPN server](https://www.softether.org/) *(VPN server)* - [SoftEther VPN server](https://www.softether.org/) *(VPN server)*
- [Plex](https://www.plex.tv/) *(Plex media server)* - [Plex](https://www.plex.tv/) *(Plex media server)*
- [Emby](https://emby.media/) *(Emby media server)*
- [Radarr](https://radarr.video/) *(Movie downloading server)* - [Radarr](https://radarr.video/) *(Movie downloading server)*
- [Sonarr](https://sonarr.tv/) *(TV shows downloading server)* - [Sonarr](https://sonarr.tv/) *(TV shows downloading server)*
- [Transmission](https://transmissionbt.com/) *(torrent server)* - [Transmission](https://transmissionbt.com/) *(torrent server)*
...@@ -83,13 +84,14 @@ Development version: ...@@ -83,13 +84,14 @@ Development version:
|TV headend (IPTV server)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|10.06.2019| |TV headend (IPTV server)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|10.06.2019|
|Syncthing (personal cloud)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|10.06.2019| |Syncthing (personal cloud)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|10.06.2019|
|SoftEther VPN server (VPN server)|:grey_question:|:heavy_check_mark:|:heavy_check_mark:|09.03.2019| |SoftEther VPN server (VPN server)|:grey_question:|:heavy_check_mark:|:heavy_check_mark:|09.03.2019|
|Plex (Plex media server)|:grey_question:|:heavy_check_mark:|:heavy_check_mark:|07.03.2019| |Plex (Plex media server)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|15.07.2019|
|Emby (Emby server)|:heavy_check_mark:|:heavy_check_mark:|:grey_question:|24.07.2019|
|Radarr (Movie downloading server)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|10.06.2019| |Radarr (Movie downloading server)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|10.06.2019|
|Sonarr (TV shows downloading server)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|10.06.2019| |Sonarr (TV shows downloading server)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|10.06.2019|
|Transmission (torrent server)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|10.06.2019| |Transmission (torrent server)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|10.06.2019|
|ISPConfig (WEB, SMTP, POP, IMAP, FTPD, MYSQL server)|:grey_question:|:heavy_check_mark:|:heavy_check_mark:|29.09.2018| |ISPConfig (WEB, SMTP, POP, IMAP, FTPD, MYSQL server)|:grey_question:|:heavy_check_mark:|:heavy_check_mark:|29.09.2018|
|NCP (Nextcloud personal cloud)|:grey_question:|:heavy_check_mark:|n/a|19.05.2019| |NCP (Nextcloud personal cloud)|:grey_question:|:heavy_check_mark:|n/a|19.05.2019|
|OpenMediaVault NAS (NAS server)|:heavy_check_mark:|:heavy_check_mark:|n/a|10.06.2019| |OpenMediaVault NAS (NAS server)|:heavy_check_mark:|:heavy_check_mark:|n/a|24.07.2019|
|OpenHAB2 (Smarthome suite)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|10.06.2019| |OpenHAB2 (Smarthome suite)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|10.06.2019|
|Home Assistant (Smarthome suite within Docker)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|09.03.2019| |Home Assistant (Smarthome suite within Docker)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|09.03.2019|
|PI hole (ad blocker)|:grey_question:|:heavy_check_mark:|:heavy_check_mark:|09.03.2019| |PI hole (ad blocker)|:grey_question:|:heavy_check_mark:|:heavy_check_mark:|09.03.2019|
......
...@@ -15,14 +15,23 @@ ...@@ -15,14 +15,23 @@
# alive_process # alive_process
# install_basic # install_basic
# create_ispconfig_configuration # create_ispconfig_configuration
# check_if_installed
# install_cups # install_cups
# install_samba # install_samba
# install_ncp
# install_omv # install_omv
# install_tvheadend # install_tvheadend
# install_docker
# install_urbackup # install_urbackup
# install_transmission # install_transmission
# install_transmission_seed_armbian_torrents # install_transmission_seed_armbian_torrents
# install_hassio
# install_openhab
# install_syncthing # install_syncthing
# install_plex_media_server
# install_emby_server
# install_radarr
# install_sonarr
# install_vpn_server # install_vpn_server
# install_vpn_client # install_vpn_client
# install_DashNTP # install_DashNTP
...@@ -30,8 +39,6 @@ ...@@ -30,8 +39,6 @@
# install_MySQLDovecot # install_MySQLDovecot
# install_Virus # install_Virus
# install_hhvm # install_hhvm
# install_openhab
# install_hass.io
# install_phpmyadmin # install_phpmyadmin
# install_apache # install_apache
# install_nginx # install_nginx
...@@ -42,9 +49,6 @@ ...@@ -42,9 +49,6 @@
# install_Fail2BanDovecot # install_Fail2BanDovecot
# install_Fail2BanRulesDovecot # install_Fail2BanRulesDovecot
# install_ISPConfig # install_ISPConfig
# check_if_installed
# #
...@@ -153,6 +157,12 @@ function check_status ...@@ -153,6 +157,12 @@ function check_status
alive_port "Plex media server" "32400" alive_port "Plex media server" "32400"
LIST+=( "Plex" "$DESCRIPTION" "$PLEX_STATUS" ) LIST+=( "Plex" "$DESCRIPTION" "$PLEX_STATUS" )
# Emby server
AMBY_STATUS="$((check_if_installed emby-server) \
&& echo "on" || echo "off" )"
alive_port "Emby server" "8096"
LIST+=( "Emby" "$DESCRIPTION" "$AMBY_STATUS" )
# Radarr # Radarr
RADARR_STATUS="$([[ -d /opt/Radarr ]] && echo "on" || echo "off" )" RADARR_STATUS="$([[ -d /opt/Radarr ]] && echo "on" || echo "off" )"
alive_port "Movies downloading server" "7878" alive_port "Movies downloading server" "7878"
...@@ -178,7 +188,6 @@ function check_status ...@@ -178,7 +188,6 @@ function check_status
alive_port "Torrent download server" "9091" alive_port "Torrent download server" "9091"
LIST+=( "Transmission" "$DESCRIPTION" "$TRANSMISSION_STATUS" ) LIST+=( "Transmission" "$DESCRIPTION" "$TRANSMISSION_STATUS" )
# UrBackup # UrBackup
URBACKUP_STATUS="$((check_if_installed urbackup-server || check_if_installed urbackup-server-dbg) \ URBACKUP_STATUS="$((check_if_installed urbackup-server || check_if_installed urbackup-server-dbg) \
&& echo "on" || echo "off" )" && echo "on" || echo "off" )"
...@@ -964,7 +973,7 @@ dialog --backtitle "$BACKTITLE" --title "Please wait" --msgbox "\nIt can take se ...@@ -964,7 +973,7 @@ dialog --backtitle "$BACKTITLE" --title "Please wait" --msgbox "\nIt can take se
install_plex_media_server () install_plex_media_server ()
{ {
# #
# Media server # Plex Media server
# #
echo -e "deb https://downloads.plex.tv/repo/deb public main" > /etc/apt/sources.list.d/plex.list echo -e "deb https://downloads.plex.tv/repo/deb public main" > /etc/apt/sources.list.d/plex.list
wget -q -O - https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add - >/dev/null 2>&1 wget -q -O - https://downloads.plex.tv/plex-keys/PlexSign.key | apt-key add - >/dev/null 2>&1
...@@ -972,7 +981,17 @@ install_plex_media_server () ...@@ -972,7 +981,17 @@ install_plex_media_server ()
debconf-apt-progress -- apt-get -y install plexmediaserver debconf-apt-progress -- apt-get -y install plexmediaserver
} }
install_emby_server ()
{
#
# Emby server
#
ARCH=$(dpkg --print-architecture)
URL=$(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest | grep "/emby-server-deb.*${ARCH}.deb" | cut -d : -f 2,3 | tr -d \")
fancy_wget "$URL" "-O ${TEMP_DIR}/emby.deb"
dpkg -i ${TEMP_DIR}/emby.deb >/dev/null 2>&1
apt-get -yy -f install
}
install_radarr () install_radarr ()
...@@ -1786,6 +1805,11 @@ if ! is_package_manager_running; then ...@@ -1786,6 +1805,11 @@ if ! is_package_manager_running; then
selection=${selection//Plex/} selection=${selection//Plex/}
fi fi
if [[ "$selection" == *Emby* && "$EMBY_STATUS" != "on" ]]; then
install_emby_server
selection=${selection//Emby/}
fi
if [[ "$selection" == *Radarr* && "$RADARR_STATUS" != "on" ]]; then if [[ "$selection" == *Radarr* && "$RADARR_STATUS" != "on" ]]; then
install_radarr install_radarr
selection=${selection//Radarr/} selection=${selection//Radarr/}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment