DsChAeK Forum (http://forum.dschaek.de/index.php)
- dboxTV (http://forum.dschaek.de/board.php?boardid=1)
--- Developers (http://forum.dschaek.de/board.php?boardid=30)
---- Webinterface (http://forum.dschaek.de/board.php?boardid=39)
----- Beschreibung (http://forum.dschaek.de/threadid.php?threadid=155)


Geschrieben von DsChAeK am 06.01.2008 um 19:21:

Lampe Beschreibung Webinterface/DLL

Stand 07.01.2008, Entwicklung ist zurückgestellt, es gibt hier nur vorläufige Ideen!

Das Webinterface bietet 2 Befehlstypen. Mit den Info-Befehlen kann man
Informationen anfordern, mit den Control-Befehlen Aktionen ausführen.
Parameter werden im CSV-Style hinter die Befehle gesetzt.


Info



get_about
get_dbox_list
get_dbox_count
get_dbox_index
get_dbox_name
get_bouquet_list
get_bouquet_count
get_bouquet_index
get_bouquet_name
get_channel_list
get_channel_count
get_channel_index
get_epg_program
get_dboxtv_mode
get_record_status
get_window_mode
get_window_pos
get_video_size
get_video_aspectratio
get_video_format
get_audio_tracks




get_about (top)

URL:
http://localhost:31328/info?get_about

Parameter:
keine

Rückgabe:
Es werden Informationen zu dboxTV zurückgegeben

Beispiel:
>>>http://localhost:31328/info?get_about
v2.0.0.0




get_dbox_list (top)

URL:
http://localhost:31328/info?get_dbox_list

Parameter:
keine

Rückgabe:
Es werden alle eingetragenen D-Boxen zurückgegeben

Beispiel:
>>>http://localhost:31328/info?get_dbox_list
Box 1
Box 2
Box 3




get_dbox_count (top)

URL:
http://localhost:31328/info?get_dbox_count

Parameter:
keine

Rückgabe:
Es wird die Anzahl der eingetragenen D-Boxen zurückgegeben

Beispiel:
>>>http://localhost:31328/info?get_dbox_count
3




get_dbox_index (top)

URL:
http://localhost:31328/info?get_dbox_index

Parameter:
dbox_name, Name der eingetragenen D-Box

Rückgabe:
Es wird der 0-basierte Index einer eingetragenen D-Box zurückgegeben.
Wird dbox_name nicht angegeben, dann wird der Index der aktiven D-Box zurückgegeben!

Beispiel:
>>>http://localhost:31328/info?get_dbox_index
0

>>>http://localhost:31328/info?get_dbox_index,Box 3
2




get_dbox_name (top)

URL:
http://localhost:31328/info?get_dbox_name

Parameter:
dbox_index, Index der eingetragenen D-Box

Rückgabe:
Es wird der Name einer eingetragenen D-Box zurückgegeben.
Wird dbox_index nicht angegeben, dann wird der Name der aktiven D-Box zurückgegeben!

Beispiel:
>>>http://localhost:31328/info?get_dbox_name
Box 1

>>>http://localhost:31328/info?get_dbox_name,2
Box 3


Info


http://localhost:31328/info?get_dbox_cur_index
index of current selected dbox

http://localhost:31328/info?get_dbox_cur_name
name of current selected dbox

http://localhost:31328/info?get_bouquet_list,
list of all bouquets available

http://localhost:31328/info?get_bouquet_count,
amount of bouquets available

http://localhost:31328/info?get_bouquet_curr_index
index of current selected bouquet

http://localhost:31328/info?get_bouquet_curr_name
name of current selected bouquet

http://localhost:31328/info?get_channel_list,
list of all channels available

http://localhost:31328/info?get_channel_count,
amount of channels available

http://localhost:31328/info?get_channel_curr_index
index of current selected channel

http://localhost:31328/info?get_channel_curr_name
name of current selected channel

http://localhost:31328/info?get_epg_curr_program
name of current program

http://localhost:31328/info?get_epg_next_program
name of next program

http://localhost:31328/info?get_dboxtv_mode
current dboxTV mode

http://localhost:31328/info?get_record_status,
current recording status

get_record_status
get_window_mode
get_video_size
get_video_aspectratio
get_video_format
get_audio_tracks

get_about

__________________
dboxTV
Philips D-Box2 (SAT)
BluePeer v1.2.1
yWeb v2.7.0.4
nhttpd/3.1.8 (yhttpd_core/1.2.0)
VLC v0.8.6h
WinXP SP2

Powered by: Burning Board Lite 1.0.2 © 2001-2004 WoltLab GmbH