Project

General

Profile

i really need help with getting iptv xmltv into tvh

Added by Alysandyr colquhoun about 5 years ago

i need help i have tried to set up the tv grab file but i can get it to load in i run a script to downloads and it looks like it has downloaded the epg

i run this

#!/bin/sh
wget http://acelondon.eu:25461/xmltv.php?username=Aly420&password=xxxxxxxxx
mv /home/pi/xmltv.php?username=Aly420 /home/hts/.xmltv/tv_grab_file.xmltv

and get this but nothing happend in tvh can some one help a brother out here

pi@TVH-Server:~ $ sudo sh epg.sh
--2019-10-19 21:39:01-- http://acelondon.eu:25461/xmltv.php?username=Aly420
Resolving acelondon.eu (acelondon.eu)... pi@TVH-Server:~ $ 195.154.225.165
Connecting to acelondon.eu (acelondon.eu)|195.154.225.165|:25461... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘xmltv.php?username=Aly420’

xmltv.php?username= [ <=> ] 30 --.-KB/s in 0s

2019-10-19 21:39:01 (1.05 MB/s) - ‘xmltv.php?username=Aly420’ saved [30]


Replies (5)

RE: i really need help with getting iptv xmltv into tvh - Added by saen acro about 5 years ago

try

#!/bin/sh
wget -O /home/pi/xmltv.xml 'http://acelondon.eu:25461/xmltv.php?username=Aly420&password=xxxxxxxxx'
mv /home/pi/xmltv.xml /home/hts/.xmltv/tv_grab_file.xmltv

its more clear and correct way

see this request
https://tvheadend.org/issues/5063

RE: i really need help with getting iptv xmltv into tvh - Added by Alysandyr colquhoun about 5 years ago

when i run the command it makes a file called xmltv.xml but when i open it in note padd it says Error no Auth Details Supplied when i put the url in chrome it opens
any ideas ?

RE: i really need help with getting iptv xmltv into tvh - Added by Hiro Protagonist about 5 years ago

Alysandyr colquhoun wrote:

wget http://acelondon.eu:25461/xmltv.php?username=Aly420&password=xxxxxxxxx

Put the URL in single quotes:

wget 'http://acelondon.eu:25461/xmltv.php?username=Aly420&password=xxxxxxxxx'

The ? and & are shell metacharacters & will be messing up your commandline.

RE: i really need help with getting iptv xmltv into tvh - Added by Alysandyr colquhoun about 5 years ago

ok that worked and download it but now a cant get tvh to load it in i checked file and everything is there and downloaded just tvh dosnt add anything when i run the scanner

RE: i really need help with getting iptv xmltv into tvh - Added by Hiro Protagonist about 5 years ago

Does the user running TVH have permission to read the file?

Try adding this to your script:

chmod 666 /home/hts/.xmltv/tv_grab_file.xmltv
    (1-5/5)