- 19 Mar 2007
- 11.803
- 596
- 0
Bueno veremos si conseguimos algo bueno.
Los Rusos andan haciendo testeos con esto, veremos si nosotros podemos tambien mirar si conseguimos esto y luego lo podemos adaptar.
Para obtener las listas de canales
http://iptv.kartina.tv/?m=channels&act=get_list_xml
user: 146
pass: 641
Los Rusos andan haciendo testeos con esto, veremos si nosotros podemos tambien mirar si conseguimos esto y luego lo podemos adaptar.
Para obtener las listas de canales
http://iptv.kartina.tv/?m=channels&act=get_list_xml
user: 146
pass: 641
Código:
crips & information by consros
[URL]http://download.pristavka.de/azboxhd/kartina-tv-php.rar[/URL] (scripts from [URL]http://kartina.pristavka.de/azbox/[/URL])
HOW IT WORKS:
Required calls
1. Authorize
Get authorization cookie. This cookie is required for all further requests and must be supplied with each of them otherwise a negative response will come and after several tries your IP will be temporary banned.
HTTP-POST: [URL="http://iptv.kartina.tv/"]http://iptv.kartina.tv[/URL]
HTTP-POST-PARSMS: act=login&code_login=USERNAME&code_pass=PASSWORD
USERNAME, PASSWORD: should be set accordingly to your account (or 145:541 for test account)
RESPONSE: HTML with Cookie (starts with SSID)
As already mentioned must be supplied with all further requests!
2. Get channels list (to get channel ids, if you already have them this step is optional)
HTTP-GET: [URL]http://iptv.kartina.tv/?m=channels&act=get_list_xml[/URL]
RESPONSE: XML with channels list and current show. Only the channel ids are needed.
3. Get stream URL
HTTP-GET: [URL]http://iptv.kartina.tv/?m=channels&act=get_stream_url&cid=CHANNEL_ID[/URL]
CHANNEL_ID: should be one of returned on step 2.
RESPONSE: XML with stream URL.
Optional calls, call sequence is not important
4. Get EPG
HTTP-GET: [URL]http://iptv.kartina.tv/?m=epg&act=show_day_xml&day=DATE&cid=CHANNEL_ID[/URL]
DATE: date for EPG, format: mmddyy
CHANNEL_ID: should be one of returned on step 2.
RESPONSE: XML with channel EPG
5. Get Timeshift
HTTP-GET: [URL]http://iptv.kartina.tv/?m=clients&act=form_tshift[/URL]
RESPONSE: HTML with list of available time shifts
6. Set Timeshift
HTTP-GET: [URL]http://iptv.kartina.tv/?act=x_set_timeshift&m=clients&ts=TIMESHIFT[/URL]
TIMESHIFT: should be one of returned on step 5.
RESPONSE: HTML with OK
7. Get Server, affects media stream URL in step 3
HTTP-GET: [URL]http://iptv.kartina.tv/?m=clients&act=form_sserv[/URL]
RESPONSE: HTML with list of available servers
8. Set Server, affects media stream URL in step 3
HTTP-GET: [URL]http://iptv.kartina.tv/?act=x_set_sserv&m=clients&ssrv=SERVER[/URL]
SERVER: should be one of returned on step 7.
RESPONSE: HTML with OK