source: titan/doc/htmlapi.txt @ 16927

Last change on this file since 16927 was 16074, checked in by nit, 12 years ago

[titan] extend web interface

File size: 6.2 KB
RevLine 
[15335]1/*****************************************************/
2/* this file is part of the tiTan / tiTanNIT Project */
3/* and allowed only for use with this.               */
4/*                                                   */
5/* copyright by NIT                                  */
6/*****************************************************/
7
[15340]8use query?param&param&... for html output
9use queryraw?param&param&... for raw-struct output
10
[15335]11query: sendrc
[15338]12raw: nothing
[15335]13desc: send rc code
14param: rc code
15
16query: getrectimer
[16074]17raw: begin#end#justplay#repeate#name#serviceid#transpoderid#status#errstr#timestamp#channelname#afterevent
[15335]18desc: get aktive record timer
19param: no
20
21query: addrectimer
[15338]22raw: ?
[15335]23desc: add a record timer
24param: ?
25
26query: delrectimer
[15338]27raw: ?
[15335]28desc: delete a record timer
29param: ?
30
31query: editrectimer
[15338]32raw: ?
[15335]33desc: edit a record timer
34param: ?
35
36query: rectimersend
[15338]37raw: ?
[15335]38desc: ?
39param: ?
40
41query: getrectimerarchive
[16074]42raw: begin#end#justplay#repeate#name#serviceid#transpoderid#status#errstr#timestamp#channelname#afterevent
[15335]43desc: get old record timer
44param: no
45
46query: setvol
[15338]47raw: returns the aktive vol (0-100)
[15335]48desc: set the volume
49param: 0-100
50
51query: setmute
[15338]52raw: returns the aktive mute (0/1)
[15335]53descr: set mute
54param: 0/1
55
56query: getbouquet
[15338]57raw: bouquetname#type
[15335]58desc: get a list of all bouquets
59param: no
60
61query: getsat
[15338]62raw: satname#orbitalpos
[15335]63desc: get a list of all sat
64param: no
65
66query: getprovider
[15338]67raw: providername#number
[15335]68desc: get a list of all provoder
69param: no
70
71query: getaz
[15338]72raw: returns A-Z
[15335]73desc: get chars A-Z
74param: no
75
76query: getchannelpage
[16074]77raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort
[15335]78desc: get a channel page
[15338]79param: 0 = 0, 1 = orbitalpos, 2 = providername, 3 = A-Z
[15335]80param: type (0 = all, 1 = sat, 2 = provider, 3 = A-Z)
81param: page nr
82
83query: getallchannel
[16074]84raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort
[15335]85desc: get all channel
86param: no
87
88query: getbouquetchannel
[16074]89raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort
[15335]90desc: get all channel from a bouquet
91param: bouquetname
92
93query: getsatchannel
[16074]94raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort
[15335]95desc: get all channel from a sat
96param: orbitalposition
97
98query: getproviderchannel
[16074]99raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort
[15335]100desc: get all channel from a provider
101param: providername
102
103query: getazchannel
[16074]104raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort
[15335]105desc: get all channel from first char
106param: char (A-Z)
107
108query: switch
[16074]109raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort
[15335]110desc: change channel
111param: channelid
112param: transponderid
113
114query: getaktservice
[16074]115raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort
[15335]116desc: get akt service
117param: no
118
119query: getepg
[15338]120raw: epgshort#begin#end#subtitle#epglong
[15335]121desc: get epg from a channel
122param: channelid
123param: transponderid
124param: epg event id
125
126query: getmovieepg
[15338]127raw: returns .epg
[15335]128desc: gets the epg to a recordet movie
129param: movie name (full path)
130
131query: getsingleepg
[16074]132raw: epgshort#begin#end#subtitle#epglong#eventid
[15335]133desc: get all epg to a channel
134param: channelid
135param: transponderid
136
137query: getgmultiepg
[15338]138raw: ?
[15335]139desc: get all epg from all channel in a bouquet
140param: bouquetname
141param: page nr
142
143query: getepgsearch
[15338]144raw: ?
[15335]145desc: search epg entry
146param: ?
147
148query: getsignal
[15338]149raw: ber#unc#signal#snr
[15335]150desc: get tuner signals
151param: no
152
153query: getmoviefilelist
[15338]154raw: name#type (dir = 0, file = 1)
[15335]155desc: get a list of movies
[15338]156param: empty or path
[15335]157param: page nr
158
159query: delmoviefile
[15338]160raw: ?
[15335]161desc: delete a file
162param: ?
163
164query: getm3u
[15338]165raw: m3u format
[15335]166desc: get m3u file from a movie
167param: moviename
168
169query: getvideo
[15338]170raw: http url string for video
[15335]171desc: get html inline code for playing movie
172param: moviename
173
174query: getshoot
[15338]175raw: fixtext shoot.html
[15335]176desc: get a screenshot
177param: type (gui, tv, gui + tv)
178
179query: poweroff
[15338]180raw: nothing
[15335]181desc: poweroff the box
182param: no
183
184query: restart
[15338]185raw: nothing
[15335]186desc: restart the box
187param: no
188
189query: guirestart
[15338]190raw: nothing
[15335]191desc: gui restart the box
192param: no
193
194query: standby
[15338]195raw: nothing
[15335]196desc: set box in standby
197param: no
198
199query: boxstatus
[15338]200raw: running or standby
[15335]201desc: get boxstatus (running or standby)
202param: no
203
204query: message
[15338]205raw: fixtext Message send
[15335]206desc: shows the message on tv
[15345]207param; message
208
209query: getvol
210raw: returns the aktive vol (0-100)
211desc: get the volume
212param: 0-100
213
214query: getmute
215raw: returns the aktive mute (0/1)
216descr: get mute
217param: no
218
219query: setvol
220raw: returns the aktive vol (0-100)
221desc: set the volume
222param: no
223
224query: getrccodes
225raw: name#code
226descr: gets all rccodes
[16070]227param: no
228
229query: webplay
230raw play: play (on error "can not start playback")
231raw stop: stop (on error "not in play mode")
232raw pause: pause (on error "not in play mode")
233raw ff: ff (on error "not in play mode")
234raw fr: fr (on error "not in play mode")
235raw getlen: len in sek (on error "not in play mode")
236raw getpos: pos in sek (on error "not in play mode")
237raw getisplaying: 0/1 (on error "not in play mode")
238raw getplayercan: playercan bits (on error "not in play mode")
239descr: play a stream
240param: play url
241param: stop url
242param: pause url
243param: ff url
244param: fr url
245param: getlen url
246param: getpos url
247param: getisplaying url
248param: getplayercan url
249
250***************************************
251
252playercan bits:
2530 policy
2541 auditraklist
2552 subtitle
2563 videomode
2574 powerofftimer
2585 videosettings
2596 stop
2607 ff
2618 fr
2629 pause
26310 play
26411 jump/seek reverse
26512 jump/seek forward
26613 changecodec
26714 infobar
Note: See TracBrowser for help on using the repository browser.