Changeset 24291 for titan/doc/htmlapi.txt
- Timestamp:
- 10/14/13 02:26:33 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/doc/htmlapi.txt
r17972 r24291 9 9 use queryraw?param¶m&... for raw-struct output 10 10 11 query: sendrc 12 raw: nothing 13 desc: send rc code 14 param: rc code 15 16 query: getrectimer 17 raw: begin#end#justplay#repeate#name#serviceid#transpoderid#status#errstr#timestamp#channelname#afterevent 18 desc: get aktive record timer 19 param: no 20 21 query: addrectimer 22 raw: ? 23 desc: add a record timer 24 param: ? 25 26 query: delrectimer 27 raw: ? 28 desc: delete a record timer 29 param: ? 30 31 query: editrectimer 32 raw: ? 33 desc: edit a record timer 34 param: ? 35 36 query: rectimersend 37 raw: ? 38 desc: ? 39 param: ? 40 41 query: getrectimerarchive 42 raw: begin#end#justplay#repeate#name#serviceid#transpoderid#status#errstr#timestamp#channelname#afterevent 43 desc: get old record timer 44 param: no 45 46 query: setvol 47 raw: returns the aktive vol (0-100) 48 desc: set the volume 49 param: 0-100 50 51 query: setmute 52 raw: returns the aktive mute (0/1) 53 descr: set mute 54 param: 0/1 55 56 query: getbouquet 57 raw: bouquetname#type 58 desc: get a list of all bouquets 59 param: no 60 61 query: getsat 62 raw: satname#orbitalpos 63 desc: get a list of all sat 64 param: no 65 66 query: getprovider 67 raw: providername#number 68 desc: get a list of all provoder 69 param: no 70 71 query: getaz 72 raw: returns A-Z 73 desc: get chars A-Z 74 param: no 75 76 query: getchannelpage 77 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort 78 desc: get a channel page 79 param: 0 = 0, 1 = orbitalpos, 2 = providername, 3 = A-Z 80 param: type (0 = all, 1 = sat, 2 = provider, 3 = A-Z) 81 param: page nr 82 83 query: getallchannel 84 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort 85 desc: get all channel 86 param: no 87 88 query: getbouquetchannel 89 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort 90 desc: get all channel from a bouquet 91 param: bouquetname 92 93 query: getsatchannel 94 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort 95 desc: get all channel from a sat 96 param: orbitalposition 97 98 query: getproviderchannel 99 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort 100 desc: get all channel from a provider 101 param: providername 102 103 query: getazchannel 104 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort 105 desc: get all channel from first char 106 param: char (A-Z) 107 108 query: switch 109 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort 110 desc: change channel 111 param: channelid 112 param: transponderid 113 114 query: getaktservice 115 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort 116 desc: get akt service 117 param: no 118 119 query: getepg 120 raw: epgshort#begin#end#subtitle#epglong 121 desc: get epg from a channel 122 param: channelid 123 param: transponderid 124 param: epg event id 125 126 query: getmovieepg 127 raw: returns .epg 128 desc: gets the epg to a recordet movie 129 param: movie name (full path) 130 131 query: getsingleepg 132 raw: epgshort#begin#end#subtitle#epglong#eventid 133 desc: get all epg to a channel 134 param: channelid 135 param: transponderid 136 137 query: getgmultiepg 138 raw: ? 139 desc: get all epg from all channel in a bouquet 140 param: bouquetname 141 param: page nr 142 143 query: getepgsearch 144 raw: ? 145 desc: search epg entry 146 param: ? 147 148 query: getsignal 149 raw: ber#unc#signal#snr 150 desc: get tuner signals 151 param: no 152 153 query: getmoviefilelist 154 raw: name#type (dir = 0, file = 1) 155 desc: get a list of movies 156 param: empty or path 157 param: page nr 158 159 query: delmoviefile 160 raw: ? 161 desc: delete a file 162 param: ? 163 164 query: getm3u 165 raw: m3u format 166 desc: get m3u file from a movie 167 param: moviename 168 169 query: getvideo 170 raw: http url string for video 171 desc: get html inline code for playing movie 172 param: moviename 173 174 query: getshoot 175 raw: fixtext shoot.html 176 desc: get a screenshot 177 param: type (gui, tv, gui + tv) 178 179 query: poweroff 180 raw: nothing 181 desc: poweroff the box 182 param: no 183 184 query: restart 185 raw: nothing 186 desc: restart the box 187 param: no 188 189 query: guirestart 190 raw: nothing 191 desc: gui restart the box 192 param: no 193 194 query: standby 195 raw: nothing 196 desc: set box in standby 197 param: no 198 199 query: boxstatus 200 raw: running or standby 201 desc: get boxstatus (running or standby) 202 param: no 203 204 query: message 205 raw: fixtext Message send 206 desc: shows the message on tv 207 param; message 208 209 query: getvol 210 raw: returns the aktive vol (0-100) 211 desc: get the volume 212 param: 0-100 213 214 query: getmute 215 raw: returns the aktive mute (0/1) 216 descr: get mute 217 param: no 218 219 query: setvol 220 raw: returns the aktive vol (0-100) 221 desc: set the volume 222 param: no 223 224 query: getrccodes 225 raw: name#code 226 descr: gets all rccodes 227 param: no 228 229 query: videoplay 230 raw play: play (on error "can not start playback") 231 raw stop: stop (on error "not in play mode") 232 raw pause: pause (on error "not in play mode") 233 raw ff: ff (on error "not in play mode") 234 raw fr: fr (on error "not in play mode") 235 raw getlen: len in sek (on error "not in play mode") 236 raw getpos: pos in sek (on error "not in play mode") 237 raw getisplaying: 0/1 (on error "not in play mode") 238 raw getplayercan: playercan bits (on error "not in play mode") 239 descr: play a stream 240 param: play url 241 param: stop url 242 param: pause url 243 param: ff url 244 param: fr url 245 param: getlen url 246 param: getpos url 247 param: getisplaying url 248 param: getplayercan url 11 query: sendrc 12 raw: nothing 13 desc: send rc code 14 param: rc code 15 example: query?sendrc&rcmute 16 17 query: getrectimer 18 raw: begin#end#justplay#repeate#name#serviceid#transpoderid#status#errstr#timestamp#channelname#afterevent (or "no data", if no timer in list) 19 desc: get active record timer list 20 param: no 21 example: queryraw?getrectimer 22 23 query: getrectimerarchive 24 raw: begin#end#justplay#repeate#name#serviceid#transpoderid#status#errstr#timestamp#channelname#afterevent (or "no data", if no timer in list) 25 desc: get old record timer list 26 param: no 27 example: queryraw?getrectimer 28 29 query: addrectimer (not used for queryraw) 30 raw: ??? 31 desc: add a record timer 32 param: ??? 33 34 query: editrectimer (not used for queryraw) 35 raw: ??? 36 desc: edit a record timer 37 param: ??? 38 39 query: delrectimer 40 raw: begin#end#justplay#repeate#name#serviceid#transpoderid#status#errstr#timestamp#channelname#afterevent 41 desc: delete a record timer and give active record timer list back 42 param: timestamp (from getrectimer/getrectimerarchive entry) 43 example: queryraw?delrectimer&1362672485239282 44 45 query: rectimersend 46 raw: ok -> TimerID 47 desc: set a record timer 48 param: node= (0 for new timer, else timestamp from getrectimer/getrectimerarchive entry) 49 param: name= (timer name) 50 param: type= ("record" for record, else switch timer) 51 param: begin= (start time, format "HH:MM dd-mm-YYYY" example "10:26 11-03-2013") 52 param: end= (end time, format "HH:MM dd-mm-YYYY" example "11:26 11-03-2013") 53 param: sid= (ServiceID from channel) 54 param: tid= (TransponderID from channel) 55 param: repeat= (0 no repeate, else Bitmuster, 1 Mo, 2 Di, 4 Mi, 8 Do, 16 Fr, 32 Sa, 64 So) 56 param: afterevent= (0 auto,1 nothing, 2 standby, 3 shutdown) 57 param: ext=1 (if ext=x exist, then we give the current created timer entry back, else the active record timer list) 58 param: send=Send (must exist) 59 param: channel= (channel name --> use it only, if you don't use sid+tid. Channelname must be unique in your channellist) 60 example: queryraw?rectimersend&node=%s&name=%s&type=%s&begin=%s&end=%s&sid=%s&tid=%s&repeat=%s&afterevent=%s&ext=1&send=Send'; 61 example: queryraw?rectimersend&node=%s&name=%s&type=%s&begin=%s&end=%s&channel=%s&repeat=%s&afterevent=%s&send=Send 62 63 query: getbouquet 64 raw: bouquetname#type 65 desc: get a list of all bouquets 66 param: no 67 example: queryraw?getbouquet 68 69 query: getsat 70 raw: satname#orbitalpos 71 desc: get a list of all sat 72 param: no 73 example: queryraw?getsat 74 75 query: getprovider 76 raw: providername#number 77 desc: get a list of all provoder 78 param: no 79 example: queryraw?getprovider 80 81 query: getaz 82 raw: returns A-Z 83 desc: get chars A-Z 84 param: no 85 example: queryraw?getaz 86 87 query: getchannelpage 88 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort#nexteventid#lockstatus 89 desc: get a channel page 90 param: at type 0 = 0, 1 = orbitalpos, 2 = providername, 3 = A-Z 91 param: type (0 = all, 1 = sat, 2 = provider, 3 = A-Z) 92 param: page nr 93 example: queryraw?getchannelpage&0&0&1 94 95 query: getallchannel 96 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort#nexteventid#lockstatus 97 desc: get channel page 1 from "getchannelpage" with type 0(all) 98 param: no 99 example: queryraw?getallchannel 100 101 query: getbouquetchannel 102 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort#nexteventid#lockstatus 103 desc: get all channel from a bouquet 104 param: bouquetname 105 example: queryraw?getbouquetchannel&Musik 106 107 query: getsatchannel 108 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort#nexteventid#lockstatus 109 desc: get channel page 1 from "getchannelpage" with type 1(Sat) 110 param: orbitalposition 111 example: queryraw?getsatchannel&192 112 113 query: getproviderchannel 114 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort#nexteventid#lockstatus 115 desc: get all channel from a provider 116 param: providerID (List number in "getprovider") 117 example: queryraw?getproviderchannel&31 118 119 query: getazchannel 120 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort#nexteventid#lockstatus 121 desc: get all channel from first char 122 param: char (A-Z in ASCII Dec) 123 example: queryraw?getazchannel&81 124 125 query: switch 126 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort#nexteventid#lockstatus 127 desc: change channel 128 param: channelid 129 param: transponderid 130 param: bouquetName (BOUQUET)-xxx / is an optional param, it set the right bouquet in channellist. 131 example: queryraw?switch&66553&20625&(BOUQUET)-Musik 132 133 query: getaktservice 134 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort#nexteventid#lockstatus 135 desc: get akt service data from TV channel 136 param: no 137 example: queryraw?getaktservice 138 139 query: getservice 140 raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid#actstarttime#actepgshort#nextstartime#nextstoptime#nextepgshort#nexteventid#lockstatus 141 desc: get service data 142 param: channelid 143 param: transponderid 144 example: queryraw?getservice&66553&20625 145 146 query: getsysteminfo 147 raw: titan#NIT#ReleaseRev#ImageName#BoxType#BoxTime 148 desc: get system data 149 param: no 150 example: queryraw?getsysteminfo 151 152 query: getconfig 153 raw: ParamName#ParamValue 154 desc: get titan config data 155 param: no 156 example: queryraw?getconfig 157 158 query: getchannellock 159 raw: channelname#serviceid#transponderid#channellock 160 param: channelid 161 param: transponderid 162 example: queryraw?getchannellock&66553&20625 163 164 query: getbouquetepg 165 raw: BeginNewChannel(fixtext)#channelname#serviceid#transponderid#servicetype 166 epgshort#begin#end#subtitle#epglong#eventid 167 epgshort#begin#end#subtitle#epglong#eventid 168 BeginNewChannel(fixtext)#channelname#serviceid#transponderid#servicetype 169 epgshort#begin#end#subtitle#epglong#eventid 170 epgshort#begin#end#subtitle#epglong#eventid 171 .... 172 desc: get EPG data from all channel from a bouquet 173 param: bouquetname 174 param: longepgtext 0/1 175 param: startzeit (unix time format) 176 param: endzeit (unix time format) 177 example: queryraw?getbouquetepg&Musik&0&1381707900&1381729500 178 179 query: getepg 180 raw: epgshort#begin#end#subtitle#epglong 181 desc: get epg data from epg event id 182 param: channelid 183 param: transponderid 184 param: epg event id 185 example: queryraw?getepg&61302&66553&20625 186 187 query: getmovieepg 188 raw: returns text from movie .epg file 189 desc: get the epg to a recorded movie 190 param: movie name (full path) 191 example: queryraw?getmovieepg&/media/hdd/movie/movie.ts 192 193 query: getsingleepg 194 raw: epgshort#begin#end#subtitle#epglong#eventid 195 desc: get all epg data from a channel 196 param: channelid 197 param: transponderid 198 example: queryraw?getsingleepg&61301&66553&0 199 200 query: getgmultiepg (for queryraw use "getbouquetepg") 201 raw: ??? 202 desc: get all epg from all channel in a bouquet 203 param: bouquetname 204 param: page nr 205 206 query: getepgsearch 207 raw: BeginNewChannel(fixtext)#channelname#serviceid#transponderid#servicetype 208 epgshort#begin#end#subtitle#epglong#eventid 209 epgshort#begin#end#subtitle#epglong#eventid 210 BeginNewChannel(fixtext)#channelname#serviceid#transponderid#servicetype 211 epgshort#begin#end#subtitle#epglong#eventid 212 epgshort#begin#end#subtitle#epglong#eventid 213 .... 214 desc: search epg entry 215 param: Search String 216 param: Pagecount (optional) -1=all 217 param: withlongepg (optional) 0/1 218 example: queryraw?getepgsearch&Tagesschau&-1&0 219 220 query: getsignal 221 raw: ber#unc#signal#snr 222 desc: get tuner signal value from active TV tuner 223 param: no 224 example: queryraw?getsignal 225 226 query: getmoviefilelist 227 raw: filename#type (dir = 0, file = 1) 228 desc: get a list of movies 229 param: empty or path 230 param: page nr (not used for queryraw) 231 example: queryraw?getmoviefilelist 232 233 query: delmoviefile 234 raw: give "getmoviefilelist" back 235 desc: delete a movie file 236 param: path 237 param: 1 238 param: FileName 239 example: queryraw?delmoviefile&/media/hdd/movie&1&Movie.ts) 240 241 query: getm3u 242 raw: m3u format 243 desc: get m3u file from a movie 244 param: moviename 245 246 query: getvideo 247 raw: http url string for video 248 desc: get html inline code for playing movie 249 param: moviename 250 251 query: getshoot 252 raw: fixtext "shoot.html" 253 desc: get a screenshot 254 param: type (1=gui, 2=tv, 3=gui + tv) 255 example: queryraw?getshoot&1 256 257 query: poweroff 258 raw: nothing 259 desc: poweroff the box 260 param: no 261 example: queryraw?poweroff 262 263 query: restart 264 raw: nothing 265 desc: restart the box 266 param: no 267 example: queryraw?restart 268 269 query: guirestart 270 raw: nothing 271 desc: gui restart the box 272 param: no 273 example: queryraw?guirestart 274 275 query: standby 276 raw: nothing 277 desc: set box in standby 278 param: no 279 example: queryraw?standby 280 281 query: boxstatus 282 raw: running or standby 283 desc: get boxstatus (running or standby) 284 param: no 285 example: queryraw?boxstatus 286 287 query: message 288 raw: fixtext "Message send" 289 desc: shows the message on tv 290 param: message= 291 example: queryraw?message=Hallo Message 292 293 query: xmessage 294 raw: fixtext "OK" 295 desc: shows the Xmessage on tv 296 param: caption= 297 param: body= 298 param: timeout= (in secound, 0 for static message) 299 example: cgi-bin/xmessage?caption=Hallo&body=Text&timeout=30 300 301 query: getvol 302 raw: vol (0-100) 303 desc: get the current volume value 304 param: no 305 example: queryraw?getvol 306 307 query: setvol 308 raw: returns the active vol (0-100) 309 desc: set the volume 310 param: 0-100 311 example: queryraw?setvol&50 312 313 query: getmute 314 raw: mute (0/1) 315 descr: get the current mute state 316 param: no 317 example: queryraw?getmute 318 319 query: setmute 320 raw: returns the aktive mute (0/1) 321 descr: set mute 322 param: 0/1 323 example: queryraw?setmute&1 324 325 query: getrccodes 326 raw: rcName#code 327 descr: gets all rccodes 328 param: no 329 example: queryraw?getrccodes 330 331 query: videoplay 332 raw: play: play (on error "can not start playback") 333 raw: stop: stop (on error "not in play mode") 334 raw pause: pause (on error "not in play mode") 335 raw ff: ff (on error "not in play mode") 336 raw fr: fr (on error "not in play mode") 337 raw getlen: len in sek (on error "not in play mode") 338 raw getpos: pos in sek (on error "not in play mode") 339 raw getisplaying: 0/1 (on error "not in play mode") 340 raw getplayercan: playercan bits (on error "not in play mode") 341 descr: play a stream on TV 342 param: play url/local file(full path) 343 param: stop url/local file(full path) 344 param: pause url/local file(full path) 345 param: ff url/local file(full path) 346 param: fr url/local file(full path) 347 param: getlen url/local file(full path) 348 param: getpos url/local file(full path) 349 param: getisplaying url/local file(full path) 350 param: getplayercan url/local file(full path) 351 example: queryraw?videoplay&play&/media/hdd/movie/movie.ts 249 352 250 353 ***************************************
Note: See TracChangeset
for help on using the changeset viewer.