浏览代码

Document importing music

Bob Mottram 7 年前
父节点
当前提交
b757c06edf
共有 3 个文件被更改,包括 111 次插入6 次删除
  1. 35
    0
      doc/EN/app_koel.org
  2. 二进制
      img/controlpanel/control_panel_koel.jpg
  3. 76
    6
      website/EN/app_koel.html

+ 35
- 0
doc/EN/app_koel.org 查看文件

@@ -42,3 +42,38 @@ Once logged in go to settings and set the media path to */music*.
42 42
 #+END_CENTER
43 43
 
44 44
 * Importing music
45
+
46
+This app doesn't have any way to upload music and instead just expects that there will be a directory on the server containing music files. There are a couple of ways to get new music files onto the system: either by using ssh or by putting them onto a USB drive.
47
+
48
+#+BEGIN_CENTER
49
+[[file:images/controlpanel/control_panel_koel.jpg]]
50
+#+END_CENTER
51
+
52
+** Via ssh
53
+
54
+On your local system:
55
+
56
+#+begin_src bash
57
+scp -P 2222 -r ~/Music username@domainname:/home/username
58
+#+end_src
59
+
60
+This will copy anything files in your local Music directory to your home directory on the Freedombone system.
61
+
62
+Now log in to your Freedombone system:
63
+
64
+#+begin_src bash
65
+ssh username@domainname -p 2222
66
+#+end_src
67
+
68
+And select *Administrator settings* followed by *App settings* then *koel*. Select *Import music from directory* then using up and down cursors select the directory and *press space* so that it appears in the selection box below. Select *Ok* and then the files will be moved to their final destination in the */music* directory.
69
+
70
+** Via USB drive
71
+
72
+Create a LUKS formatted USB drive. It's possible to do this by plugging a new USB drive into the Freedombone system then going to the *Administrator control panel*, selecting *App settings* then *koel* then *Format a USB drive*. You will need to specify a password, which in this case doesn't need to be anything highly secure.
73
+
74
+Once the drive if formatted you can remove it and copy Music files onto it from other systems. Make sure the files are contained within a directory named *Music*.
75
+
76
+Once you have music on a LUKS formatted USB drive then plug it into the Freedombone system. Go to the *Administrator control panel*, select *App settings* then *koel* then *Import music from USB drive*. Enter the password you used to create the drive and music files will then be copied.
77
+
78
+** Synchronizing
79
+To detect the imported files you might need to re-synchronize. Within Koel go to settings and then select *Scan*. Any imported files should then be available to play.

二进制
img/controlpanel/control_panel_koel.jpg 查看文件


+ 76
- 6
website/EN/app_koel.html 查看文件

@@ -3,7 +3,7 @@
3 3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6
-<!-- 2017-05-25 Thu 19:35 -->
6
+<!-- 2017-05-25 Thu 22:43 -->
7 7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9 9
 <title></title>
@@ -260,9 +260,9 @@ This enables you to store your music on the Freedombone server and then access i
260 260
 </div>
261 261
 </div>
262 262
 
263
-<div id="outline-container-orga3d7c60" class="outline-2">
264
-<h2 id="orga3d7c60">Installation</h2>
265
-<div class="outline-text-2" id="text-orga3d7c60">
263
+<div id="outline-container-org4af2775" class="outline-2">
264
+<h2 id="org4af2775">Installation</h2>
265
+<div class="outline-text-2" id="text-org4af2775">
266 266
 <p>
267 267
 Log into your system with:
268 268
 </p>
@@ -298,8 +298,78 @@ Once logged in go to settings and set the media path to <b>/music</b>.
298 298
 </div>
299 299
 </div>
300 300
 
301
-<div id="outline-container-orgfc3ef29" class="outline-2">
302
-<h2 id="orgfc3ef29">Importing music</h2>
301
+<div id="outline-container-org1effd90" class="outline-2">
302
+<h2 id="org1effd90">Importing music</h2>
303
+<div class="outline-text-2" id="text-org1effd90">
304
+<p>
305
+This app doesn't have any way to upload music and instead just expects that there will be a directory on the server containing music files. There are a couple of ways to get new music files onto the system: either by using ssh or by putting them onto a USB drive.
306
+</p>
307
+
308
+<div class="org-center">
309
+
310
+<div class="figure">
311
+<p><img src="images/controlpanel/control_panel_koel.jpg" alt="control_panel_koel.jpg" />
312
+</p>
313
+</div>
314
+</div>
315
+</div>
316
+
317
+<div id="outline-container-org29f7f0b" class="outline-3">
318
+<h3 id="org29f7f0b">Via ssh</h3>
319
+<div class="outline-text-3" id="text-org29f7f0b">
320
+<p>
321
+On your local system:
322
+</p>
323
+
324
+<div class="org-src-container">
325
+<pre><code class="src src-bash">scp -P 2222 -r ~/Music username@domainname:/home/username
326
+</code></pre>
327
+</div>
328
+
329
+<p>
330
+This will copy anything files in your local Music directory to your home directory on the Freedombone system.
331
+</p>
332
+
333
+<p>
334
+Now log in to your Freedombone system:
335
+</p>
336
+
337
+<div class="org-src-container">
338
+<pre><code class="src src-bash">ssh username@domainname -p 2222
339
+</code></pre>
340
+</div>
341
+
342
+<p>
343
+And select <b>Administrator settings</b> followed by <b>App settings</b> then <b>koel</b>. Select <b>Import music from directory</b> then using up and down cursors select the directory and <b>press space</b> so that it appears in the selection box below. Select <b>Ok</b> and then the files will be moved to their final destination in the <b>/music</b> directory.
344
+</p>
345
+</div>
346
+</div>
347
+
348
+<div id="outline-container-org6ad7e7d" class="outline-3">
349
+<h3 id="org6ad7e7d">Via USB drive</h3>
350
+<div class="outline-text-3" id="text-org6ad7e7d">
351
+<p>
352
+Create a LUKS formatted USB drive. It's possible to do this by plugging a new USB drive into the Freedombone system then going to the <b>Administrator control panel</b>, selecting <b>App settings</b> then <b>koel</b> then <b>Format a USB drive</b>. You will need to specify a password, which in this case doesn't need to be anything highly secure.
353
+</p>
354
+
355
+<p>
356
+Once the drive if formatted you can remove it and copy Music files onto it from other systems. Make sure the files are contained within a directory named <b>Music</b>.
357
+</p>
358
+
359
+<p>
360
+Once you have music on a LUKS formatted USB drive then plug it into the Freedombone system. Go to the <b>Administrator control panel</b>, select <b>App settings</b> then <b>koel</b> then <b>Import music from USB drive</b>. Enter the password you used to create the drive and music files will then be copied.
361
+</p>
362
+</div>
363
+</div>
364
+
365
+<div id="outline-container-orgafab8a9" class="outline-3">
366
+<h3 id="orgafab8a9">Synchronizing</h3>
367
+<div class="outline-text-3" id="text-orgafab8a9">
368
+<p>
369
+To detect the imported files you might need to re-synchronize. Within Koel go to settings and then select <b>Scan</b>. Any imported files should then be available to play.
370
+</p>
371
+</div>
372
+</div>
303 373
 </div>
304 374
 </div>
305 375
 <div id="postamble" class="status">