-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings_ui.html
110 lines (104 loc) · 3.98 KB
/
settings_ui.html
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="common.css" rel="stylesheet" type="text/css">
<link href="./resources/tabulator.css" rel="stylesheet">
<link href="settings_ui.css" rel="stylesheet" type="text/css">
<title>Settings</title>
</head>
<body>
<table id="top-table">
<thead>
<tr>
<th>Setting</th>
<th>Value</th>
<th>Description</th>
<th>Change</th>
</tr>
</thead>
<tbody>
<tr>
<td>ffmpeg Path</td>
<td><span id="ffmpeg-value"></span></td>
<td>This program uses the <a href="https://ffmpeg.org/" class="link">ffmpeg</a> app for transcoding and metadata editing. You must install ffmpeg and specify the path to the ffmpeg.exe file.</td>
<td>
<button id="ffmpeg-path">Change...</button>
</td>
</tr>
<tr>
<td><label for="check_for_updates">Check for Updates</label></td>
<td>
<input type="checkbox" id="check_for_updates"/>
</td>
<td>Automatically check for updated app version when launched</td>
</tr>
<tr class="per-target-items">
<td>Target Folder</td>
<td><span id="target-folder-value"></span></td>
<td>Folder that will be filled with playlists and transcoded audio files<br/><br/>Each Target Folder has its own Source Folder, Bit Rate, Concurrency, and Sync Actions</td>
<td>
<button id="target-folder">Change...</button>
</td>
</tr>
<tr class="per-target-items">
<td class="indent-per-target-items">Source Folder</td>
<td><span id="source-folder-value"></span></td>
<td>Folder containing original copies of playlists and full-fidelity audio files</td>
<td>
<button id="source-folder">Change...</button>
</td>
</tr>
<tr class="per-target-items">
<td class="indent-per-target-items"><label for="bit-rate">Bit Rate</label></td>
<td>
<select id="bit-rate">
<option value='96k'>Fair Quality: 96k</option>
<option value='128k'>Average Quality: 128k</option>
<option value='256k'>Near CD Quality: 256k</option>
<option value='320k'>Highest Quality: 320k</option>
</select>
</td>
<td>Determines quality of transcoded audio files. Larger is better.</td>
</tr>
<tr class="per-target-items">
<td class="indent-per-target-items"><label for="concurrency">Concurrency</label></td>
<td>
<select id="concurrency">
<option value='1'>1 (slowest)</option>
<option value='2'>2</option>
<option value='4'>4</option>
<option value='8'>8</option>
<option value='12'>12</option>
<option value='16'>16 (fastest)</option>
</select>
</td>
<td>
Specifies how many transcoding operations will be done in parallel. Larger values tend to result in faster transcoding, depending on your CPU and disc speed
</td>
</tr>
<tr>
<td class="indent-per-target-items">
<label for="audio-file-type-actions" id="table-label">Sync Actions:</label>
</td>
<td class="per-target-items">
<div id="audio-file-type-actions"></div>
</td>
<td class="per-target-items">
Specifies whether to convert a source audio file to another format (for instance, convert a .flac file to .mp3), or simply copy the source audio file unchanged
</td>
</tr>
</tbody>
</table>
<div id="apply-button-hint">
Note: If you are configuring multiple Target Folders, press the Apply button before specifying a new Target Folder.
This will save the current Target Folder's configuration.
</div>
<div id="buttons">
<button id="ok">OK</button>
<button id="cancel">Cancel</button>
<button id="apply">Apply</button>
</div>
</body>
<script src="src/settings_ui.js"></script>
</html>