mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
tvheadend42: add support for compressed epg content
It pipes the content of the downloaded to zcat to ensure the content is readable
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
125
|
||||
- fix download zipped content for epg data with epg_grab_file
|
||||
|
||||
124
|
||||
- fix query url for imdb.com and thetvdb.com
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ PKG_NAME="tvheadend42"
|
||||
PKG_VERSION="5bdcfd8ac97b3337e1c7911ae24127df76fa693a"
|
||||
PKG_SHA256="b562a26248cdc02dc94cc62038deea172668fa4c079b2ea4e1b4220f3b1d34f5"
|
||||
PKG_VERSION_NUMBER="4.2.8-36"
|
||||
PKG_REV="124"
|
||||
PKG_REV="125"
|
||||
PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://www.tvheadend.org"
|
||||
|
||||
@@ -37,7 +37,14 @@ then
|
||||
exec "$XMLTV_LOCATION_SCRIPT"
|
||||
fi
|
||||
elif [ "$XMLTV_TYPE" = "WEB" ]; then
|
||||
wget -qO - "$XMLTV_LOCATION_WEB"
|
||||
case "$XMLTV_LOCATION_WEB" in
|
||||
*.gz | *.bz2 | *.xz)
|
||||
wget -qO - "$XMLTV_LOCATION_WEB" | zcat
|
||||
;;
|
||||
*)
|
||||
wget -qO - "$XMLTV_LOCATION_WEB"
|
||||
;;
|
||||
esac
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user