What's new

IPTV script help

Hi guys,

i am trying to look for a bit of help please....

i am running the following script below in crontab using SSH in putty, the script goes in and runs but when the file downloads its blank but if i copy and paste it (http://IPTVPROVIDER.COM:12345/get.php?username=JOEBLOGGS&password=PASSWORD&type=m3u&output=ts) into chrome the m3u files downloads no issues.

i am now lost

30 05 * * * curl http://IPTVPROVIDER.COM:12345/get.php?username=JOEBLOGGS&password=PASSWORD&type=m3u&output=ts > /tmp/IPTV.m3u

any help would be much appreciated
 
You'd have to run wget, not curl I thought to download the file. But have you got anything else happening other than just downloading the m3u? As it won't do anything have the m3u file downloaded, you need to convert it to lamedb format to use...

[Edit]
I am assuming you're doing this for an e2 box? If not, then provide more info :)
 
Sorry what I am trying to do is download my m3u file as my IPTV provider updates the playlist for sports events etc and put that playlist into a bouquet on my enigma² box
 
Trouble is, what you're doing, is just downloading the m3u file. There's nothing in there that will put that playlist in to an e2 box...

However, try changing the curl to wget... That will download the file for you ;) Hopefully you have another script that will convert it
 
Trouble is, what you're doing, is just downloading the m3u file. There's nothing in there that will put that playlist in to an e2 box...

However, try changing the curl to wget... That will download the file for you ;) Hopefully you have another script that will convert it
Cheers mate

I am using 2booms to convert the M3U to the bouquet

So it should be 30 05 * * * wget then the link ?
 
Back
Top