mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
config/show_config: migrate kodi config to distro specific config/functions file
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
40f5477524
commit
9a426d5da9
@ -119,35 +119,6 @@ show_config() {
|
||||
config_message+="\n - NTFS Support (via Fuse):\t\t $NTFS3G"
|
||||
config_message+="\n - Install HFS Tools:\t\t\t $HFSTOOLS"
|
||||
|
||||
# Kodi configuration
|
||||
if [ ! "$MEDIACENTER" = "no" ]; then
|
||||
config_message+="\n\n Kodi configuration:"
|
||||
config_message+="\n $dashes$dashes"
|
||||
|
||||
config_message+="\n - Kodi version:\t\t\t $MEDIACENTER"
|
||||
config_message+="\n - Kodi Blu-Ray support:\t\t $KODI_BLURAY_SUPPORT"
|
||||
if [ "$KODI_BLURAY_SUPPORT" = "yes" ] ; then
|
||||
config_message+="\n - Bluray BD+ support:\t\t $BLURAY_BDPLUS_SUPPORT"
|
||||
config_message+="\n - Bluray AACS support:\t\t $BLURAY_AACS_SUPPORT"
|
||||
fi
|
||||
config_message+="\n - Kodi DVDCSS support:\t\t\t $KODI_DVDCSS_SUPPORT"
|
||||
config_message+="\n - Kodi Airplay support:\t\t $KODI_AIRPLAY_SUPPORT"
|
||||
config_message+="\n - Kodi Airtunes support:\t\t $KODI_AIRTUNES_SUPPORT"
|
||||
config_message+="\n - Kodi NFS support:\t\t\t $KODI_NFS_SUPPORT"
|
||||
config_message+="\n - Kodi MySQL support:\t\t\t $KODI_MYSQL_SUPPORT"
|
||||
config_message+="\n - Kodi Optical Drive support:\t\t $KODI_OPTICAL_SUPPORT"
|
||||
config_message+="\n - Kodi SAMBA client support:\t\t $KODI_SAMBA_SUPPORT"
|
||||
config_message+="\n - Kodi UPNP support:\t\t\t $KODI_UPNP_SUPPORT"
|
||||
config_message+="\n - Kodi Webserver support:\t\t $KODI_WEBSERVER_SUPPORT"
|
||||
|
||||
for config_skin in $SKINS; do
|
||||
config_message+="\n - Include Skin:\t\t\t $config_skin"
|
||||
done
|
||||
|
||||
config_message+="\n - Default Skin:\t\t\t $SKIN_DEFAULT"
|
||||
config_message+="\n - Include extra fonts:\t\t\t $KODI_EXTRA_FONTS"
|
||||
fi
|
||||
|
||||
if [ "$(type -t show_distro_config)" = "function" ]; then
|
||||
show_distro_config
|
||||
fi
|
||||
|
28
distributions/LibreELEC/config/functions
Normal file
28
distributions/LibreELEC/config/functions
Normal file
@ -0,0 +1,28 @@
|
||||
show_distro_config() {
|
||||
# Kodi configuration
|
||||
config_message+="\n\n Kodi configuration:"
|
||||
config_message+="\n $dashes$dashes"
|
||||
|
||||
config_message+="\n - Kodi version:\t\t\t $MEDIACENTER"
|
||||
config_message+="\n - Kodi Blu-Ray support:\t\t $KODI_BLURAY_SUPPORT"
|
||||
if [ "$KODI_BLURAY_SUPPORT" = "yes" ] ; then
|
||||
config_message+="\n - Bluray BD+ support:\t\t $BLURAY_BDPLUS_SUPPORT"
|
||||
config_message+="\n - Bluray AACS support:\t\t $BLURAY_AACS_SUPPORT"
|
||||
fi
|
||||
config_message+="\n - Kodi DVDCSS support:\t\t\t $KODI_DVDCSS_SUPPORT"
|
||||
config_message+="\n - Kodi Airplay support:\t\t $KODI_AIRPLAY_SUPPORT"
|
||||
config_message+="\n - Kodi Airtunes support:\t\t $KODI_AIRTUNES_SUPPORT"
|
||||
config_message+="\n - Kodi NFS support:\t\t\t $KODI_NFS_SUPPORT"
|
||||
config_message+="\n - Kodi MySQL support:\t\t\t $KODI_MYSQL_SUPPORT"
|
||||
config_message+="\n - Kodi Optical Drive support:\t\t $KODI_OPTICAL_SUPPORT"
|
||||
config_message+="\n - Kodi SAMBA client support:\t\t $KODI_SAMBA_SUPPORT"
|
||||
config_message+="\n - Kodi UPNP support:\t\t\t $KODI_UPNP_SUPPORT"
|
||||
config_message+="\n - Kodi Webserver support:\t\t $KODI_WEBSERVER_SUPPORT"
|
||||
|
||||
for config_skin in $SKINS; do
|
||||
config_message+="\n - Include Skin:\t\t\t $config_skin"
|
||||
done
|
||||
|
||||
config_message+="\n - Default Skin:\t\t\t $SKIN_DEFAULT"
|
||||
config_message+="\n - Include extra fonts:\t\t\t $KODI_EXTRA_FONTS"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user