📄 info.jsp
字号:
<%@page contentType="text/html;charset=ISO-8859-15" pageEncoding="ISO-8859-1"%>
<%@page import="org.homeplayer.util.*"%>
<%@page import="org.homeplayer.web.*"%>
<%@page import="org.homeplayer.data.*"%>
<%@page import="org.homeplayer.recorder.*"%>
<%@page import="java.util.*"%>
<%@page import="java.io.*"%>
<jsp:useBean id="hppc" class="org.homeplayer.web.HPPageContext" scope="request">
<jsp:setProperty name="hppc" property="temporaryPage" value="true"/>
<jsp:setProperty name="hppc" property="request" value="<%=request%>"/>
<jsp:setProperty name="hppc" property="focusSetOnPage" value="true"/>
</jsp:useBean>
<%
VLCControl vlc = VLCControl.shareInstance();
if ((request.getParameter( "hour" ) != null) || (request.getParameter( "min" ) != null) || (request.getParameter( "sec" ) != null)) {
int hour = WebUtil.getParam(request, "hour", 0) ;
int min = WebUtil.getParam(request, "min", 0) ;
int sec = WebUtil.getParam(request, "sec", 0) ;
int time = hour*3600+min*60+sec ;
vlc.action( "control=seek&seek_value="+VLCInfo.getVLCTime( time ) ) ;
// repeatd the seek because VLC do not always move to the good position : if the current position is before the
// wanted position, VLC put the position a few seconds after the wanted position. a second seek correct this problem
vlc.action( "control=seek&seek_value="+VLCInfo.getVLCTime( time ) ) ;
}
String playUrl = (String) HPSession.get("PLAY_URL", "/play.jsp");
int disapear = WebUtil.getParam(request, "disapear", -1);
if (disapear != -1) {
hppc.setRefresh(disapear, playUrl);
}
hppc.setInfoLink(playUrl);
VLCInfo info = vlc.getInfo();
if (info.getState().equals("unknown")) {
%>
<jsp:include page="<%= hppc.getSkin().getSmallHeader() + "?title=Information" %>" />
<br>
<font size="+2"><i>Aucun media audio/vid閛 lanc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -