Merge pull request #4687 from mhutzsch/master

Tvheadend: support zipped content from web
This commit is contained in:
CvH 2020-11-29 17:03:13 +01:00 committed by GitHub
commit 96956f1124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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"

View File

@ -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