show_config: move more of show_config kodi specific to distro version

Split Kodi configuration messages into hardware / software sections. Hardware is how
other software is being built to accomodate Kodi needs (ie what provides video accel).
Software is the configure options to Kodi.

Kodi version just outputs the velue of $MEDIACENTER, which will always be "kodi".
Change to who the "upstream" is for the version of Kodi we're using is instead.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard 2020-05-11 14:20:57 +00:00
parent 9a426d5da9
commit e9862ccd6c
2 changed files with 24 additions and 23 deletions

View File

@ -36,26 +36,9 @@ show_config() {
fi
config_message+="\n - OpenGL (GLX) support (provider):\t $OPENGL_SUPPORT ($OPENGL)"
config_message+="\n - OpenGLES support (provider):\t\t $OPENGLES_SUPPORT ($OPENGLES)"
# Hardware decoder support
config_message="$config_message\n\n Hardware decoder configuration:"
config_message="$config_message\n $dashes$dashes"
config_message+="\n - Kodi Player driver:\t\t\t $KODIPLAYER_DRIVER"
config_message+="\n - VAAPI Support:\t\t\t $VAAPI_SUPPORT"
config_message+="\n - VDPAU Support:\t\t\t $VDPAU_SUPPORT"
# Input device configuration
config_message+="\n\n Input device configuration:"
config_message+="\n $dashes$dashes"
config_message+="\n - Remote support:\t\t\t $REMOTE_SUPPORT"
config_message+="\n - CEC Adapter support:\t\t\t $CEC_SUPPORT"
config_message+="\n - CEC Framework support:\t\t $CEC_FRAMEWORK_SUPPORT"
config_message+="\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"
# Misc. hardware configuration
config_message+="\n\n Misc. hardware configuration:"

View File

@ -1,13 +1,31 @@
show_distro_config() {
# Kodi configuration
config_message+="\n\n Kodi configuration:"
# Hardware decoder support
config_message+="\n\n Kodi Hardware 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"
config_message+="\n - Video Acceleration provider:\t\t $KODIPLAYER_DRIVER"
# Input device configuration
# config_message+="\n\n Input device configuration:"
# config_message+="\n $dashes$dashes"
config_message+="\n - Remote support:\t\t\t $REMOTE_SUPPORT"
config_message+="\n - CEC Adapter support:\t\t\t $CEC_SUPPORT"
config_message+="\n - CEC Framework support:\t\t $CEC_FRAMEWORK_SUPPORT"
config_message+="\n - Kodi Joystick support:\t\t $JOYSTICK_SUPPORT"
# Kodi configuration
config_message+="\n\n Kodi Software configuration:"
config_message+="\n $dashes$dashes"
config_message+="\n - Kodi Vendor:\t\t\t\t $KODI_VENDOR"
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"
config_message+="\n - Blu-ray BD+ support:\t\t $BLURAY_BDPLUS_SUPPORT"
config_message+="\n - Blu-ray 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"