You are here

horizontv.in

2 posts / 0 new
Last post
mediamaster
Offline
Donator
Joined: 6 years
Last seen: 5 years
horizontv.in

Hello,

this entry does not create the file "horizon.tv.channels.xml" or the file is empty,

* ##### CHANNEL FILE CREATION (only to create the xxx-channel.xml file)
*
@auto_xml_channel_start
url_index {url|https://web-api.horizon.tv/oesp/api/|subpage|&personalised=false} *mono > 5.0.0.1
url_index.modify {replace|_|/web/channels?sort=channelNumber&byLocationId=} *mono > 5.0.0.1
url_index{url|http://127.0.0.1/horizon_tv.php?chxmldata=|subpage|&reqtype=3} * linux/windows php
subpage.format {list|NL/nld_24443942973|CH/deu_21656615412|CH/fra_21657127006|CH/ita_21657126954|DE/deu_97245734974|PL/pol_239100967286|IE/eng_6651943228|CZ/ces_667808295264|AT/deu_554823207312|RO/ron_552441895089|HU/hun_552442407296|SK/slk_604944423340}
index_site_id.scrub {|}
index_temp_9.modify {set|NL/nld\|CH/deu\|CH/fra\|CH/ita\|DE/deu\|PL/pol\|IE/eng\|CZ/ces\|AT/deu\|RO/ron\|HU/hun\|SK/slk}
index_temp_1.modify {set|0}
index_temp_8.scrub {multi|{"entryCount"|||}
loop{(each "index_temp_7" in 'index_temp_8')|end}
index_temp_2.modify {substring(type=element)|'index_temp_9' 'index_temp_1' 1}
index_temp_6.modify {substring(type=regex)|'index_temp_7' "\{\"station\":\{\"id\":\"(\d+)\""}
index_temp_6.modify {addstart|'index_temp_2'_}
index_temp_6.modify {replace|\||##}
index_temp_5.modify {substring(type=regex)|'index_temp_7' "\{\"station\":\{\"id\":.*?\"title\":\"([^\"]*)\","}
index_temp_5.modify {replace|\||##}
index_temp_4.modify {addend|'index_temp_6'##}
index_temp_3.modify {addend|'index_temp_5'##}
index_temp_1.modify {calculate(format=F0)|1 +}
end_loop
index_site_id.modify {addstart|'index_temp_4'}
index_site_id.modify {replace|##|\|}
index_site_id.modify {remove(type=element)|-1 1}
index_site_channel.modify {addstart|'index_temp_3'}
index_site_channel.modify {replace|##|\|}
index_site_channel.modify {remove(type=element)|-1 1}
index_site_channel.modify {remove(type=regex)|[^\w\s]}
index_site_id.modify {cleanup(removeduplicates=equal,100 link="index_site_channel")}
@auto_xml_channel_end

please help, this does not work,

channel update="i" site="horizon.tv" site_id="SK/slk_834036263273" xmltv_id="MC Play" MC Play channel

thank you very much for your help.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 7 hours

url_index {url|https://web-api.horizon.tv/oesp/api/|subpage|&personalised=false} *mono > 5.0.0.1
url_index.modify {replace|_|/web/channels?sort=channelNumber&byLocationId=} *mono > 5.0.0.1
url_index{url|http://127.0.0.1/horizon_tv.php?chxmldata=|subpage|&reqtype=3} * linux/windows php

you need to enable what is for windows or php not all 3 lines

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl