WebTV: fix EPG for running service
[enigma2-plugins.git] / webinterface / src / web-data / config.js
1 // $Header$
2
3 var DBG = true;
4 DBG = false;
5
6 var url_tpl = '/web-data/tpl/default/';
7
8 var url_getcurrent = '/web/getcurrent';
9
10 var url_getvolume = '/web/vol?set=state'; 
11 var url_setvolume = '/web/vol?set=set'; // plus new value eg: set=set15
12 var url_volumeup = '/web/vol?set=up';
13 var url_volumedown = '/web/vol?set=down';
14 var url_volumemute = '/web/vol?set=mute';
15
16 var url_epgservice = "/web/epgservice?sRef="; // plus serviceRef
17 var url_epgsearch = "/web/epgsearch?search="; // plus serviceRef
18 var url_epgservicenow = "/web/epgservicenow?sRef=" // plus serviceRef
19 var url_epgservicenext = "/web/epgservicenext?sRef=" // plus serviceRef
20 var url_epgnow = "/web/epgnow?bRef="; // plus bouquetRev
21 var url_epgnext = "/web/epgnext?bRef="; // plus bouquetRev
22
23 var url_getServices = "/web/getservices?sRef="; // plus serviceref
24 var url_subservices = "/web/subservices"; // subservices for current service
25
26 var url_updates= "/web/updates.html";
27
28 var url_movielist= "/web/movielist"; // plus dirname,tag
29
30 var url_about= "/web/about";
31
32 var url_settings= "/web/settings";
33
34 var url_parentcontrol= "/web/parentcontrollist";
35
36 var url_moviedelete= "/web/moviedelete"; // plus serviceref
37
38 var url_mediaplayerlist= "/web/mediaplayerlist?types=audio&path="; // plus full qualified path
39 var url_mediaplayerplay= "/web/mediaplayerplay?file="; // plus file-serviceref
40 var url_mediaplayercmd= "/web/mediaplayercmd?command="; // plus command
41 var url_mediaplayerwrite= "/web/mediaplayerwrite?filename="; // plus command
42
43 var url_filelist = "/web/mediaplayerlist?path="; // plus full qualified path
44
45 var url_timerlist= "/web/timerlist";
46 var url_recordnow= "/web/recordnow";
47 var url_timeradd= "/web/timeradd"; // plus serviceref,begin,end,name,description,dirname,tags,eit,disabled,justplay,afterevent
48 var url_timerchange= "/web/timerchange"; // plus serviceref,begin,end,name,description,dirname,tags,eit,disabled,justplay,afterevent
49 var url_timeraddbyeventid= "/web/timeraddbyeventid"; // plus serviceref,eventid
50 var url_timerdelete= "/web/timerdelete"; // plus serviceref,begin,end
51 var url_timerlistwrite="/web/timerlistwrite?write=saveWriteNow";
52
53 var url_getcurrlocation="/web/getcurrlocation";
54 var url_getlocations="/web/getlocations";
55 var url_gettags="/web/gettags";
56
57 var url_message = "/web/message"; // plus text,type,timeout
58 var url_messageanswer = "/web/messageanswer?getanswer=now"; 
59
60 var url_powerstate = "/web/powerstate"; // plus new powerstate
61 var url_remotecontrol = "/web/remotecontrol"; // plus command
62 var url_signal = "/web/signal";
63
64 var url_notelist = "/notes";
65 var url_note = "/notes?show="; //plus filename
66
67 var bouquetsTv = '1:7:1:0:0:0:0:0:0:0:(type == 1) || (type == 17) || (type == 195) || (type == 25)FROM BOUQUET "bouquets.tv" ORDER BY bouquet';
68 var bouquetsRadio = '1:7:2:0:0:0:0:0:0:0:(type == 2)FROM BOUQUET "bouquets.radio" ORDER BY bouquet';
69 var providerTv = '1:7:1:0:0:0:0:0:0:0:(type == 1) || (type == 17) || (type == 195) || (type == 25) FROM PROVIDERS ORDER BY name';
70 var providerRadio ='1:7:2:0:0:0:0:0:0:0:(type == 2) FROM PROVIDERS ORDER BY name';
71 var allTv = '1:7:1:0:0:0:0:0:0:0:(type == 1) || (type == 17) || (type == 195) || (type == 25) ORDER BY name';
72 var allRadio = '1:7:2:0:0:0:0:0:0:0:(type == 2) ORDER BY name';
73         
74 var windowStyle = 'alphacube';
75
76 var url_delfile = "/web/delfile?file="; // plus file