Tema: EPG XMLTV
Ver Mensaje Individual
Antiguo 25/08/2015, 20:23   #17
baudilio1977
Usuario Registrado
 
Fecha de ingreso: 04/jun/2015
Mensajes: 18
baudilio1977 está en el buen camino
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.
baudilio1977 está desconectado
Respuesta rápida a este mensaje
Responder Citando Subir