#!/bin/bash
######################################################################
# Title   : Install Emby
# By      : DiscDuck, Taos15
# License : General Public License GPL-3.0-or-later
# Another fine product brought to you by IBRACORP™
######################################################################

# Include ibrafunc for all the awesome functions
source /opt/ibracorp/ibramenu/ibrafunc.sh

# App Info
app="emby"                                  # App Name
title="emby"                                # Readable App Title
image="lscr.io/linuxserver/emby:latest"     # Image and Tag
volumes="    volumes:
      - /opt/appdata/\${APP_NAME:?err}:/config
      - /mnt/media:/media"                     # Volumes
tp_app="emby"                                # Theme Park App Name
porte="8096"                                   # External Port
porti="8096"                                   # Internal Port
# extrapayload="    devices:
#       - /dev/dri:/dev/dri #optional
#       - /dev/vchiq:/dev/vchiq #optional
#       - /dev/video10:/dev/video10 #optional
#       - /dev/video11:/dev/video11 #optional
#       - /dev/video12:/dev/video12 #optional"                                # Extra Payload to add to the Compose this one are for hw trasncode

# Execute
app