blob: 0031f4e4759918877eb769df96e4a7482ce694e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<%pre>
#include <vdr/channels.h>
#include "exception.h"
#include "tasks.h"
#include "tools.h"
using namespace vdrlive;
</%pre>
<%args>
tChannelID param;
</%args>
<%cpp>
reply.setContentType( "application/xml" );
SwitchChannelTask task( param );
LiveTaskManager().Execute( task );
</%cpp>
<& xmlresponse.ajax name=("switch_channel") pname=("channel") value=(param) result=(task.Result()) error=(task.Error()) &>
|