<%pre> #include #include "exception.h" #include "tasks.h" #include "tools.h" using namespace vdrlive; <%args> tChannelID channelid; <%cpp> reply.setContentType( "application/xml" ); <$ *channelid.ToString() $> <$ LiveTaskManager().Execute( new SwitchChannelTask( channelid ) ) $>