%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/309157/root/home/waritko/subsonic/ROOT/WEB-INF/jsp/
Upload File :
Create Path :
Current File : //proc/309157/root/home/waritko/subsonic/ROOT/WEB-INF/jsp/head.jsp

<%@ include file="include.jsp" %>

<title>Subsonic</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<c:set var="styleSheet"><spring:theme code="styleSheet"/></c:set>
<link rel="icon" type="image/png" href="<c:url value="/icons/favicon.png"/>"/>
<link rel="stylesheet" href="<c:url value="/fonts/fonts.css"/>" type="text/css">
<link rel="stylesheet" href="<c:url value="/${styleSheet}"/>?v=6.1" type="text/css">
<link rel="stylesheet" href="<c:url value="/style/font-awesome-4.5.0/css/font-awesome.min.css"/>">
<script type="text/javascript" src="<c:url value="/script/mousetrap-1.5.3.js"/>"></script>
<script type="text/javascript">

    Mousetrap.bind('space', function() { getPlayerWindow().keyboardShortcut("togglePlayPause"); return false });
    Mousetrap.bind('left', function() { getPlayerWindow().keyboardShortcut("previous") });
    Mousetrap.bind('right', function() { getPlayerWindow().keyboardShortcut("next") });
    Mousetrap.bind('shift+left', function() { getPlayerWindow().keyboardShortcut("seekBackward") });
    Mousetrap.bind('shift+right', function() { getPlayerWindow().keyboardShortcut("seekForward") });
    Mousetrap.bind('-', function() { getPlayerWindow().keyboardShortcut("volumeDown") });
    Mousetrap.bind('*', function() { getPlayerWindow().keyboardShortcut("star") });
    Mousetrap.bind('plus', function() { getPlayerWindow().keyboardShortcut("volumeUp") });
    Mousetrap.bind('m', function() { parent.frames.upper.keyboardShortcut("toggleSideBar") });
    Mousetrap.bind('q', function() { parent.frames.playQueue.keyboardShortcut("togglePlayQueue") });
    Mousetrap.bind('l', function() { parent.frames.main.keyboardShortcut("toggleViewAsList") });
    Mousetrap.bind('g h', function() { parent.frames.upper.keyboardShortcut("showHome") });
    Mousetrap.bind('g i', function() { parent.frames.upper.keyboardShortcut("showIndex") });
    Mousetrap.bind('g p', function() { parent.frames.upper.keyboardShortcut("showPlaylists") });
    Mousetrap.bind('g o', function() { parent.frames.upper.keyboardShortcut("showPodcasts") });
    Mousetrap.bind('g s', function() { parent.frames.upper.keyboardShortcut("showSettings") });
    Mousetrap.bind('g d', function() { parent.frames.upper.keyboardShortcut("showInternetRadio") });
    Mousetrap.bind('g b', function() { parent.frames.upper.keyboardShortcut("showBookmarks") });
    Mousetrap.bind('g t', function() { parent.frames.upper.keyboardShortcut("showStarred") });
    Mousetrap.bind('g r', function() { parent.frames.upper.keyboardShortcut("showMore") });
    Mousetrap.bind('g a', function() { parent.frames.upper.keyboardShortcut("showAbout") });
    Mousetrap.bind('/', function() { parent.frames.upper.keyboardShortcut("search"); return false });
    Mousetrap.bind('?', function() { parent.frames.upper.keyboardShortcut("showMore", "shortcuts")});

    var indices = "abcdefghijklmnopqrstuvwxyz";
    for (var i = 0, len = indices.length; i < len; i++) {
        var target = indices.substring(i, i + 1);
        createKeyboardShortcutForIndex(target);
    }

    function getPlayerWindow() {
        if (parent.frames.main == null) {
            return window;
        }
        if (parent.frames.main.location.href.indexOf("videoPlayer.view") == -1) {
            return parent.frames.playQueue;
        }
        return parent.frames.main;
    }

    function createKeyboardShortcutForIndex(index) {
        Mousetrap.bind("i " + index, function() {
            parent.frames.upper.keyboardShortcut("showIndex", index.toUpperCase());
        });
    }

</script>


Zerion Mini Shell 1.0