blob: a641cb539c274cd4f1a473f79750512e3ad77ffb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1" %>
<html><head>
<%@ include file="head.jsp" %>
</head>
<body class="mainframe bgcolor1">
<c:import url="settingsHeader.jsp">
<c:param name="cat" value="transcoding"/>
</c:import>
<form method="post" action="transcodingSettings.view">
<table class="indent">
<tr>
<th><fmt:message key="transcodingsettings.name"/></th>
<th><fmt:message key="transcodingsettings.sourceformat"/></th>
<th><fmt:message key="transcodingsettings.targetformat"/></th>
<th><fmt:message key="transcodingsettings.step1"/></th>
<th><fmt:message key="transcodingsettings.step2"/></th>
<th style="padding-left:1em"><fmt:message key="common.delete"/></th>
</tr>
<c:forEach items="${model.transcodings}" var="transcoding">
<tr>
<td><input style="font-family:monospace" type="text" name="name[${transcoding.id}]" size="10" value="${transcoding.name}"/></td>
<td><input style="font-family:monospace" type="text" name="sourceFormats[${transcoding.id}]" size="36" value="${transcoding.sourceFormats}"/></td>
<td><input style="font-family:monospace" type="text" name="targetFormat[${transcoding.id}]" size="10" value="${transcoding.targetFormat}"/></td>
<td><input style="font-family:monospace" type="text" name="step1[${transcoding.id}]" size="60" value="${transcoding.step1}"/></td>
<td><input style="font-family:monospace" type="text" name="step2[${transcoding.id}]" size="22" value="${transcoding.step2}"/></td>
<td align="center" style="padding-left:1em"><input type="checkbox" name="delete[${transcoding.id}]" class="checkbox"/></td>
</tr>
</c:forEach>
<tr>
<th colspan="6" align="left" style="padding-top:1em"><fmt:message key="transcodingsettings.add"/></th>
</tr>
<tr>
<td><input style="font-family:monospace" type="text" name="name" size="10" value="${model.newTranscoding.name}"/></td>
<td><input style="font-family:monospace" type="text" name="sourceFormats" size="36" value="${model.newTranscoding.sourceFormats}"/></td>
<td><input style="font-family:monospace" type="text" name="targetFormat" size="10" value="${model.newTranscoding.targetFormat}"/></td>
<td><input style="font-family:monospace" type="text" name="step1" size="60" value="${model.newTranscoding.step1}"/></td>
<td><input style="font-family:monospace" type="text" name="step2" size="22" value="${model.newTranscoding.step2}"/></td>
<td/>
</tr>
<tr>
<td colspan="6" style="padding-top:0.1em">
<input type="checkbox" id="defaultActive" name="defaultActive" class="checkbox" checked/>
<label for="defaultActive"><fmt:message key="transcodingsettings.defaultactive"/></label>
</td>
</tr>
</table>
<p style="padding-top:0.75em">
<input type="submit" value="<fmt:message key="common.save"/>" style="margin-right:0.3em">
<input type="button" value="<fmt:message key="common.cancel"/>" onclick="location.href='nowPlaying.view'" style="margin-right:1.3em">
<a href="http://www.subsonic.org/pages/transcoding.jsp" target="_blank"><fmt:message key="transcodingsettings.recommended"/></a>
</p>
</form>
<c:if test="${not empty model.error}">
<p class="warning"><fmt:message key="${model.error}"/></p>
</c:if>
<div style="width:60%">
<fmt:message key="transcodingsettings.info"><fmt:param value="${model.transcodeDirectory}"/><fmt:param value="${model.brand}"/></fmt:message>
</div>
</body></html>
|