[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] | 8 | use query?param¶m&... for html output
|
---|
| 9 | use queryraw?param¶m&... for raw-struct output
|
---|
| 10 |
|
---|
[15335] | 11 | query: sendrc
|
---|
[15338] | 12 | raw: nothing
|
---|
[15335] | 13 | desc: send rc code
|
---|
| 14 | param: rc code
|
---|
| 15 |
|
---|
| 16 | query: getrectimer
|
---|
[15338] | 17 | raw: begin#end#justplay#repeate#name#serviceid#transpoderid#status#errstr#timestamp
|
---|
[15335] | 18 | desc: get aktive record timer
|
---|
| 19 | param: no
|
---|
| 20 |
|
---|
| 21 | query: addrectimer
|
---|
[15338] | 22 | raw: ?
|
---|
[15335] | 23 | desc: add a record timer
|
---|
| 24 | param: ?
|
---|
| 25 |
|
---|
| 26 | query: delrectimer
|
---|
[15338] | 27 | raw: ?
|
---|
[15335] | 28 | desc: delete a record timer
|
---|
| 29 | param: ?
|
---|
| 30 |
|
---|
| 31 | query: editrectimer
|
---|
[15338] | 32 | raw: ?
|
---|
[15335] | 33 | desc: edit a record timer
|
---|
| 34 | param: ?
|
---|
| 35 |
|
---|
| 36 | query: rectimersend
|
---|
[15338] | 37 | raw: ?
|
---|
[15335] | 38 | desc: ?
|
---|
| 39 | param: ?
|
---|
| 40 |
|
---|
| 41 | query: getrectimerarchive
|
---|
[15338] | 42 | raw: begin#end#justplay#repeate#name#serviceid#transpoderid#status#errstr#timestamp
|
---|
[15335] | 43 | desc: get old record timer
|
---|
| 44 | param: no
|
---|
| 45 |
|
---|
| 46 | query: setvol
|
---|
[15338] | 47 | raw: returns the aktive vol (0-100)
|
---|
[15335] | 48 | desc: set the volume
|
---|
| 49 | param: 0-100
|
---|
| 50 |
|
---|
| 51 | query: setmute
|
---|
[15338] | 52 | raw: returns the aktive mute (0/1)
|
---|
[15335] | 53 | descr: set mute
|
---|
| 54 | param: 0/1
|
---|
| 55 |
|
---|
| 56 | query: getbouquet
|
---|
[15338] | 57 | raw: bouquetname#type
|
---|
[15335] | 58 | desc: get a list of all bouquets
|
---|
| 59 | param: no
|
---|
| 60 |
|
---|
| 61 | query: getsat
|
---|
[15338] | 62 | raw: satname#orbitalpos
|
---|
[15335] | 63 | desc: get a list of all sat
|
---|
| 64 | param: no
|
---|
| 65 |
|
---|
| 66 | query: getprovider
|
---|
[15338] | 67 | raw: providername#number
|
---|
[15335] | 68 | desc: get a list of all provoder
|
---|
| 69 | param: no
|
---|
| 70 |
|
---|
| 71 | query: getaz
|
---|
[15338] | 72 | raw: returns A-Z
|
---|
[15335] | 73 | desc: get chars A-Z
|
---|
| 74 | param: no
|
---|
| 75 |
|
---|
| 76 | query: getchannelpage
|
---|
[15338] | 77 | raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid
|
---|
[15335] | 78 | desc: get a channel page
|
---|
[15338] | 79 | param: 0 = 0, 1 = orbitalpos, 2 = providername, 3 = A-Z
|
---|
[15335] | 80 | param: type (0 = all, 1 = sat, 2 = provider, 3 = A-Z)
|
---|
| 81 | param: page nr
|
---|
| 82 |
|
---|
| 83 | query: getallchannel
|
---|
[15338] | 84 | raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid
|
---|
[15335] | 85 | desc: get all channel
|
---|
| 86 | param: no
|
---|
| 87 |
|
---|
| 88 | query: getbouquetchannel
|
---|
[15338] | 89 | raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid
|
---|
[15335] | 90 | desc: get all channel from a bouquet
|
---|
| 91 | param: bouquetname
|
---|
| 92 |
|
---|
| 93 | query: getsatchannel
|
---|
[15338] | 94 | raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid
|
---|
[15335] | 95 | desc: get all channel from a sat
|
---|
| 96 | param: orbitalposition
|
---|
| 97 |
|
---|
| 98 | query: getproviderchannel
|
---|
[15338] | 99 | raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid
|
---|
[15335] | 100 | desc: get all channel from a provider
|
---|
| 101 | param: providername
|
---|
| 102 |
|
---|
| 103 | query: getazchannel
|
---|
[15338] | 104 | raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid
|
---|
[15335] | 105 | desc: get all channel from first char
|
---|
| 106 | param: char (A-Z)
|
---|
| 107 |
|
---|
| 108 | query: switch
|
---|
[15338] | 109 | raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid
|
---|
[15335] | 110 | desc: change channel
|
---|
| 111 | param: channelid
|
---|
| 112 | param: transponderid
|
---|
| 113 |
|
---|
| 114 | query: getaktservice
|
---|
[15338] | 115 | raw: channelname#proz#serviceid#transponderid#channellist#servicetype#eventid
|
---|
[15335] | 116 | desc: get akt service
|
---|
| 117 | param: no
|
---|
| 118 |
|
---|
| 119 | query: getepg
|
---|
[15338] | 120 | raw: epgshort#begin#end#subtitle#epglong
|
---|
[15335] | 121 | desc: get epg from a channel
|
---|
| 122 | param: channelid
|
---|
| 123 | param: transponderid
|
---|
| 124 | param: epg event id
|
---|
| 125 |
|
---|
| 126 | query: getmovieepg
|
---|
[15338] | 127 | raw: returns .epg
|
---|
[15335] | 128 | desc: gets the epg to a recordet movie
|
---|
| 129 | param: movie name (full path)
|
---|
| 130 |
|
---|
| 131 | query: getsingleepg
|
---|
[15338] | 132 | raw: epgshort#begin#end#subtitle
|
---|
[15335] | 133 | desc: get all epg to a channel
|
---|
| 134 | param: channelid
|
---|
| 135 | param: transponderid
|
---|
| 136 |
|
---|
| 137 | query: getgmultiepg
|
---|
[15338] | 138 | raw: ?
|
---|
[15335] | 139 | desc: get all epg from all channel in a bouquet
|
---|
| 140 | param: bouquetname
|
---|
| 141 | param: page nr
|
---|
| 142 |
|
---|
| 143 | query: getepgsearch
|
---|
[15338] | 144 | raw: ?
|
---|
[15335] | 145 | desc: search epg entry
|
---|
| 146 | param: ?
|
---|
| 147 |
|
---|
| 148 | query: getsignal
|
---|
[15338] | 149 | raw: ber#unc#signal#snr
|
---|
[15335] | 150 | desc: get tuner signals
|
---|
| 151 | param: no
|
---|
| 152 |
|
---|
| 153 | query: getmoviefilelist
|
---|
[15338] | 154 | raw: name#type (dir = 0, file = 1)
|
---|
[15335] | 155 | desc: get a list of movies
|
---|
[15338] | 156 | param: empty or path
|
---|
[15335] | 157 | param: page nr
|
---|
| 158 |
|
---|
| 159 | query: delmoviefile
|
---|
[15338] | 160 | raw: ?
|
---|
[15335] | 161 | desc: delete a file
|
---|
| 162 | param: ?
|
---|
| 163 |
|
---|
| 164 | query: getm3u
|
---|
[15338] | 165 | raw: m3u format
|
---|
[15335] | 166 | desc: get m3u file from a movie
|
---|
| 167 | param: moviename
|
---|
| 168 |
|
---|
| 169 | query: getvideo
|
---|
[15338] | 170 | raw: http url string for video
|
---|
[15335] | 171 | desc: get html inline code for playing movie
|
---|
| 172 | param: moviename
|
---|
| 173 |
|
---|
| 174 | query: getshoot
|
---|
[15338] | 175 | raw: fixtext shoot.html
|
---|
[15335] | 176 | desc: get a screenshot
|
---|
| 177 | param: type (gui, tv, gui + tv)
|
---|
| 178 |
|
---|
| 179 | query: poweroff
|
---|
[15338] | 180 | raw: nothing
|
---|
[15335] | 181 | desc: poweroff the box
|
---|
| 182 | param: no
|
---|
| 183 |
|
---|
| 184 | query: restart
|
---|
[15338] | 185 | raw: nothing
|
---|
[15335] | 186 | desc: restart the box
|
---|
| 187 | param: no
|
---|
| 188 |
|
---|
| 189 | query: guirestart
|
---|
[15338] | 190 | raw: nothing
|
---|
[15335] | 191 | desc: gui restart the box
|
---|
| 192 | param: no
|
---|
| 193 |
|
---|
| 194 | query: standby
|
---|
[15338] | 195 | raw: nothing
|
---|
[15335] | 196 | desc: set box in standby
|
---|
| 197 | param: no
|
---|
| 198 |
|
---|
| 199 | query: boxstatus
|
---|
[15338] | 200 | raw: running or standby
|
---|
[15335] | 201 | desc: get boxstatus (running or standby)
|
---|
| 202 | param: no
|
---|
| 203 |
|
---|
| 204 | query: message
|
---|
[15338] | 205 | raw: fixtext Message send
|
---|
[15335] | 206 | desc: shows the message on tv
|
---|
[15345] | 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
|
---|
[16070] | 227 | param: no
|
---|
| 228 |
|
---|
| 229 | query: webplay
|
---|
| 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
|
---|
| 249 |
|
---|
| 250 | ***************************************
|
---|
| 251 |
|
---|
| 252 | playercan bits:
|
---|
| 253 | 0 policy
|
---|
| 254 | 1 auditraklist
|
---|
| 255 | 2 subtitle
|
---|
| 256 | 3 videomode
|
---|
| 257 | 4 powerofftimer
|
---|
| 258 | 5 videosettings
|
---|
| 259 | 6 stop
|
---|
| 260 | 7 ff
|
---|
| 261 | 8 fr
|
---|
| 262 | 9 pause
|
---|
| 263 | 10 play
|
---|
| 264 | 11 jump/seek reverse
|
---|
| 265 | 12 jump/seek forward
|
---|
| 266 | 13 changecodec
|
---|
| 267 | 14 infobar |
---|