<%pre> #include #include "exception.h" #include "setup.h" #include "tools.h" using namespace vdrlive; <%args> name = "channel"; selected; onchange; bool channelid = false; <%cpp> ReadLock channelsLock( Channels ); if ( !channelsLock ) throw HtmlError( tr("Couldn't aquire access to channels, please try again later.") ); int lastChannel = LiveSetup().GetLastChannel();