% import sagex.api.* %>
Debug Report
Recognized Devices
<% CaptureDeviceAPI.GetCaptureDevices().each { %>
- $it
<% } %>
EPG Lineups
<% Global.GetAllLineups().each { %>
- $it
<% } %>
Active Devices
<% CaptureDeviceAPI.GetActiveCaptureDevices().each { %>
- $it
<%
CaptureDeviceAPI.GetCaptureDeviceInputs(it).each { input ->
out << "- $input
"
def lineup = CaptureDeviceInputAPI.GetLineupForCaptureDeviceInput(input)
if(lineup) {
out << "- $lineup
\n"
Database.GetChannelsOnLineup(lineup).each { chan ->
out << "- ${ChannelAPI.IsChannelViewableOnLineup(chan, lineup) ? '*' : ''}${ChannelAPI.GetChannelName(chan)} (${ChannelAPI.GetStationID(chan)}/${ChannelAPI.GetChannelNumbersForLineup(chan, lineup)})
"
}
out << '
\n'
}
}
%>
<% } %>