Új hozzászólás Aktív témák
-
tkomlosi
aktív tag
ssh-val belépni libreelec-es boxba és ott megcsinálni az alábbiakat. ennek hatására meg fog jelenni a tvheadend Configuration-->Channel/EPG-->Epg Grabber Modules menüben és csak aktiválni kell és szedni fogja az epg-t, napi 2 alkalommal tölti le 12:04 és 00:04-kor vagy a Re-run internal grabbers gomb megnyomásával azonnal tölti.
akkor ez másoljátok bele egy fájlba, aminek a neve úgy kezdődik, hogy tv_grab_valami; pl.: tv_grab_szmegma
majd adjatok neki futási jogot: chmod +x tv_grab_szmegma
másoljátok be a megfelelő helyre, valahol a /storage rész alatt lesz (én pontosan nem tudom, debian-on /usr/bin)
#!/bin/sh
. /etc/profile
xmltv_file_location=~/guide.xml
epg_source=http://epg.koditvepg.com/HU/guide.xml.gz
dflag=
vflag=
cflag=
qflag=
if [ "$#" -lt "1" ] ; then
# remove existing previously generated guide files
for file in ${xmltv_file_location} ${xmltv_file_location}.gz
do
if [ -f ${file} ];
then
rm -f ${file} 2>/dev/null
fi
done
# download latest compressed guide file from server
wget -qO ${xmltv_file_location}.gz $epg_source
# uncompress the guide file
gzip -d ${xmltv_file_location}.gz
# put the content to the output
cat $xmltv_file_location
# alternatively use the following command line:
# curl -Ls ${epg_source} | gzip -d
exit 0
fi
# special handling if there are several arguments
for arg
do
delim=""
case "$arg" in
#translate --gnu-long-options to -g (short options)
--description) args="${args}-d ";;
--version) args="${args}-v ";;
--capabilities) args="${args}-c ";;
--quiet) args="${args}-q ";;
#pass through anything else
*) [[ "${arg:0:1}" == "-" ]] || delim="\""
args="${args}${delim}${arg}${delim} ";;
esac
done
# reset the positional parameters to the short options
eval set -- $args
while getopts "dvcq" option
do
case $option in
d) dflag=1;;
v) vflag=1;;
c) cflag=1;;
q) qflag=1;;
\?) printf "unknown option: -%s\n" $OPTARG
printf "Usage: %s: [--description] [--version] [--capabilities] \n" $(basename $0)
exit 2
;;
esac >&2
done
if [ "$dflag" ]
then
printf "koditvepg.com\n"
fi
if [ "$vflag" ]
then
printf "1.0\n"
fi
if [ "$cflag" ]
then
printf "baseline\n"
fi
if [ "$qflag" ]
then
printf ""
fi
exit 0[ Szerkesztve ]
-
J00hnny
aktív tag
Sziasztok!
Nalam is ugyanez a helyzet, 2 orat siet.
Tovabba nincs epizod ismerteto vagy plot a musorban. Regebben koditvepg-t hasznaltam ott minden rendben volt, de sajnos az fizetos lett.(Vagy nalam van valami gond hogy nem latszik a plot informacio )
[ Szerkesztve ]
"There are 10 types of people in this world. Those that understand binary and those that don't."
-
tomy_cz
aktív tag
Ezt a szktiptet használom, ami a gz-ből xml-be konvertál. Itt csúszhat el a dolog?
#!/bin/sh
. /etc/profile
xmltv_file_location=~/guide.xml
#epg_source=http://epg.smtv.be/guide.xml.gz
epg_source=https://epg.koditvepg.com/guide.xml.gz
dflag=
vflag=
cflag=
qflag=
if [ "$#" -lt "1" ] ; then
# remove existing previously generated guide files
for file in ${xmltv_file_location} ${xmltv_file_location}.gz
do
if [ -f ${file} ];
then
rm -f ${file} 2>/dev/null
fi
done
# download latest compressed guide file from server
wget -qO ${xmltv_file_location}.gz $epg_source
# uncompress the guide file
gzip -d ${xmltv_file_location}.gz
# put the content to the output
cat $xmltv_file_location
# alternatively use the following command line:
# curl -Ls ${epg_source} | gzip -d
exit 0
fi
# special handling if there are several arguments
for arg
do
delim=""
case "$arg" in
#translate --gnu-long-options to -g (short options)
--description) args="${args}-d ";;
--version) args="${args}-v ";;
--capabilities) args="${args}-c ";;
--quiet) args="${args}-q ";;
#pass through anything else
*) [[ "${arg:0:1}" == "-" ]] || delim="\""
args="${args}${delim}${arg}${delim} ";;
esac
done
# reset the positional parameters to the short options
eval set -- $args
while getopts "dvcq" option
do
case $option in
d) dflag=1;;
v) vflag=1;;
c) cflag=1;;
q) qflag=1;;
\?) printf "unknown option: -%s\n" $OPTARG
printf "Usage: %s: [--description] [--version] [--capabilities] \n" $(basename $0)
exit 2
;;
esac >&2
done
if [ "$dflag" ]
then
printf "koditvepg.com\n"
fi
if [ "$vflag" ]
then
printf "1.0\n"
fi
if [ "$cflag" ]
then
printf "baseline\n"
fi
if [ "$qflag" ]
then
printf ""
fi
exit 0http://phmegbizhatosag.atw.hu/phtabla.php?nev=tomy_cz
-
Celtis
veterán
Ez a script nem sokat csinál, csak letölti és kicsomagolja az xml-t és odaadja a Tvheadendnek feldolgozásra.
Ebben nincs hiba.Itt inkább az a gond, gogy a https://epg.koditvepg.com/guide.xml.gz nem létezik, azaz nem tölt le semmit a script és helyette az OTA EPG-t látod, aminél előfordulhatnak karakterkódolási hibák.Volt róla szó, hogy melyik szolgáltatónál milyen ISO kódolást kell beállítani.
[ Szerkesztve ]
Új hozzászólás Aktív témák
- GAMER PC: RYZEN 9 5900X - RTX 3070 8GB GDDR6 - 1TB-4TB NVMe SSD - 16/32GB DDR4 - GAR/SZÁMLA!!!
- Playstation 3 konzolt vennék PS3
- AKCIÓ - Ducky Billentyűzet Bazár! Ducky ONE 2 SF RGB, Ducky ONE 2 MINI RGB...
- ÚJ aktiválatalan Apple iPhone 15 Plus 128GB Black ! 1ÉV APPLE GARANCiA
- ÚJ HP 15-fc0555nh - 15,6"FHD - Ryzen 5-7520U - 8GB - 512GB SSD - Win10 - 2év garancia - MAGYAR
Állásajánlatok
Cég: Ozeki Kft
Város: Debrecen
Cég: Ozeki Kft
Város: Debrecen