Hola,
Tienes que modificar el fichero /storage/.kodi/addons/service.multimedia.tvheadend/bin/tv_grab_file
Tienes que sustituir:
if [ "$XMLTV_TYPE" = "FILE" ]; then
cat "$XMLTV_LOCATION_FILE"
exit 0
elif [ "$XMLTV_TYPE" = "SCRIPT" ]; then
if [ -e "$XMLTV_LOCATION_SCRIPT" ] ; then
exec "$XMLTV_LOCATION_SCRIPT"
fi
elif [ "$XMLTV_TYPE" = "WEB" ]; then
wget -qO - "$XMLTV_LOCATION_WEB"
exit 0
fi
por:
cat "/ruta/fichero.xml"
exit 0
Después en tvheadend tienes que seleccionar el xml y mapear uno a uno los canales del xml con los canales que aparecen en la lista.
Un saludo y gracias.
|