Преглед изворни кода

ControlDLNA app no longer exists in f-droid

Bob Mottram пре 6 година
родитељ
комит
622c47ebc8
2 измењених фајлова са 33 додато и 129 уклоњено
  1. 0
    2
      doc/EN/app_dlna.org
  2. 33
    127
      website/EN/app_dlna.html

+ 0
- 2
doc/EN/app_dlna.org Прегледај датотеку

@@ -23,6 +23,4 @@ Select *Administrator controls* then *App Settings* then *dlna*. From there you
23 23
 
24 24
 The system will scan the /Music/ directory, which could take a while if there are thousands of files, but you don't need to do anything further other than perhaps to log out by selecting *Exit* a couple of times.
25 25
 
26
-If you have an Android device then go to F-Droid (if you don't already have it installed then it can be [[https://f-droid.org/][downloaded here]]) and search for *ControlDLNA*. On running the app you should see a red Debian icon which you can press on, then you may need to select "local". After a few seconds the list of albums or tracks should then appear and you can browse and play them.
27
-
28 26
 The DLNA service will only work within your local home network, and isn't remotely accessible from other locations via the internet. That can be both a good and a bad thing. Another consideration is that there are /no access controls/ on DLNA services, so any music or videos on the USB drive will be playable by anyone within your home network.

+ 33
- 127
website/EN/app_dlna.html Прегледај датотеку

@@ -3,33 +3,26 @@
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
-<!-- 2016-11-12 Sat 20:17 -->
7
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8
-<meta name="viewport" content="width=device-width, initial-scale=1" />
9 6
 <title></title>
10
-<meta name="generator" content="Org mode" />
11
-<meta name="author" content="Bob Mottram" />
12
-<meta name="description" content="How to use DLNA"
7
+<!-- 2018-05-25 Fri 23:15 -->
8
+<meta  http-equiv="Content-Type" content="text/html;charset=utf-8" />
9
+<meta  name="generator" content="Org-mode" />
10
+<meta  name="author" content="Bob Mottram" />
11
+<meta  name="description" content="How to use DLNA"
13 12
  />
14
-<meta name="keywords" content="freedombone, dlna" />
13
+<meta  name="keywords" content="freedombone, dlna" />
15 14
 <style type="text/css">
16 15
  <!--/*--><![CDATA[/*><!--*/
17
-  .title  { text-align: center;
18
-             margin-bottom: .2em; }
19
-  .subtitle { text-align: center;
20
-              font-size: medium;
21
-              font-weight: bold;
22
-              margin-top:0; }
16
+  .title  { text-align: center; }
23 17
   .todo   { font-family: monospace; color: red; }
24
-  .done   { font-family: monospace; color: green; }
25
-  .priority { font-family: monospace; color: orange; }
18
+  .done   { color: green; }
26 19
   .tag    { background-color: #eee; font-family: monospace;
27 20
             padding: 2px; font-size: 80%; font-weight: normal; }
28 21
   .timestamp { color: #bebebe; }
29 22
   .timestamp-kwd { color: #5f9ea0; }
30
-  .org-right  { margin-left: auto; margin-right: 0px;  text-align: right; }
31
-  .org-left   { margin-left: 0px;  margin-right: auto; text-align: left; }
32
-  .org-center { margin-left: auto; margin-right: auto; text-align: center; }
23
+  .right  { margin-left: auto; margin-right: 0px;  text-align: right; }
24
+  .left   { margin-left: 0px;  margin-right: auto; text-align: left; }
25
+  .center { margin-left: auto; margin-right: auto; text-align: center; }
33 26
   .underline { text-decoration: underline; }
34 27
   #postamble p, #preamble p { font-size: 90%; margin: .2em; }
35 28
   p.verse { margin-left: 3%; }
@@ -56,110 +49,27 @@
56 49
     border: 1px solid black;
57 50
   }
58 51
   pre.src:hover:before { display: inline;}
59
-  /* Languages per Org manual */
60
-  pre.src-asymptote:before { content: 'Asymptote'; }
61
-  pre.src-awk:before { content: 'Awk'; }
62
-  pre.src-C:before { content: 'C'; }
63
-  /* pre.src-C++ doesn't work in CSS */
64
-  pre.src-clojure:before { content: 'Clojure'; }
65
-  pre.src-css:before { content: 'CSS'; }
66
-  pre.src-D:before { content: 'D'; }
67
-  pre.src-ditaa:before { content: 'ditaa'; }
68
-  pre.src-dot:before { content: 'Graphviz'; }
69
-  pre.src-calc:before { content: 'Emacs Calc'; }
52
+  pre.src-sh:before    { content: 'sh'; }
53
+  pre.src-bash:before  { content: 'sh'; }
70 54
   pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
71
-  pre.src-fortran:before { content: 'Fortran'; }
72
-  pre.src-gnuplot:before { content: 'gnuplot'; }
73
-  pre.src-haskell:before { content: 'Haskell'; }
74
-  pre.src-java:before { content: 'Java'; }
75
-  pre.src-js:before { content: 'Javascript'; }
76
-  pre.src-latex:before { content: 'LaTeX'; }
77
-  pre.src-ledger:before { content: 'Ledger'; }
78
-  pre.src-lisp:before { content: 'Lisp'; }
79
-  pre.src-lilypond:before { content: 'Lilypond'; }
80
-  pre.src-lua:before { content: 'Lua'; }
81
-  pre.src-matlab:before { content: 'MATLAB'; }
82
-  pre.src-mscgen:before { content: 'Mscgen'; }
83
-  pre.src-ocaml:before { content: 'Objective Caml'; }
84
-  pre.src-octave:before { content: 'Octave'; }
85
-  pre.src-org:before { content: 'Org mode'; }
86
-  pre.src-oz:before { content: 'OZ'; }
87
-  pre.src-plantuml:before { content: 'Plantuml'; }
88
-  pre.src-processing:before { content: 'Processing.js'; }
89
-  pre.src-python:before { content: 'Python'; }
90
-  pre.src-R:before { content: 'R'; }
91
-  pre.src-ruby:before { content: 'Ruby'; }
92
-  pre.src-sass:before { content: 'Sass'; }
93
-  pre.src-scheme:before { content: 'Scheme'; }
94
-  pre.src-screen:before { content: 'Gnu Screen'; }
95
-  pre.src-sed:before { content: 'Sed'; }
96
-  pre.src-sh:before { content: 'shell'; }
97
-  pre.src-sql:before { content: 'SQL'; }
98
-  pre.src-sqlite:before { content: 'SQLite'; }
99
-  /* additional languages in org.el's org-babel-load-languages alist */
100
-  pre.src-forth:before { content: 'Forth'; }
101
-  pre.src-io:before { content: 'IO'; }
102
-  pre.src-J:before { content: 'J'; }
103
-  pre.src-makefile:before { content: 'Makefile'; }
104
-  pre.src-maxima:before { content: 'Maxima'; }
105
-  pre.src-perl:before { content: 'Perl'; }
106
-  pre.src-picolisp:before { content: 'Pico Lisp'; }
107
-  pre.src-scala:before { content: 'Scala'; }
108
-  pre.src-shell:before { content: 'Shell Script'; }
109
-  pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
110
-  /* additional language identifiers per "defun org-babel-execute"
111
-       in ob-*.el */
112
-  pre.src-cpp:before  { content: 'C++'; }
113
-  pre.src-abc:before  { content: 'ABC'; }
114
-  pre.src-coq:before  { content: 'Coq'; }
115
-  pre.src-groovy:before  { content: 'Groovy'; }
116
-  /* additional language identifiers from org-babel-shell-names in
117
-     ob-shell.el: ob-shell is the only babel language using a lambda to put
118
-     the execution function name together. */
119
-  pre.src-bash:before  { content: 'bash'; }
120
-  pre.src-csh:before  { content: 'csh'; }
121
-  pre.src-ash:before  { content: 'ash'; }
122
-  pre.src-dash:before  { content: 'dash'; }
123
-  pre.src-ksh:before  { content: 'ksh'; }
124
-  pre.src-mksh:before  { content: 'mksh'; }
125
-  pre.src-posh:before  { content: 'posh'; }
126
-  /* Additional Emacs modes also supported by the LaTeX listings package */
127
-  pre.src-ada:before { content: 'Ada'; }
128
-  pre.src-asm:before { content: 'Assembler'; }
129
-  pre.src-caml:before { content: 'Caml'; }
130
-  pre.src-delphi:before { content: 'Delphi'; }
131
-  pre.src-html:before { content: 'HTML'; }
132
-  pre.src-idl:before { content: 'IDL'; }
133
-  pre.src-mercury:before { content: 'Mercury'; }
134
-  pre.src-metapost:before { content: 'MetaPost'; }
135
-  pre.src-modula-2:before { content: 'Modula-2'; }
136
-  pre.src-pascal:before { content: 'Pascal'; }
137
-  pre.src-ps:before { content: 'PostScript'; }
138
-  pre.src-prolog:before { content: 'Prolog'; }
139
-  pre.src-simula:before { content: 'Simula'; }
140
-  pre.src-tcl:before { content: 'tcl'; }
141
-  pre.src-tex:before { content: 'TeX'; }
142
-  pre.src-plain-tex:before { content: 'Plain TeX'; }
143
-  pre.src-verilog:before { content: 'Verilog'; }
144
-  pre.src-vhdl:before { content: 'VHDL'; }
145
-  pre.src-xml:before { content: 'XML'; }
146
-  pre.src-nxml:before { content: 'XML'; }
147
-  /* add a generic configuration mode; LaTeX export needs an additional
148
-     (add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
149
-  pre.src-conf:before { content: 'Configuration File'; }
55
+  pre.src-R:before     { content: 'R'; }
56
+  pre.src-perl:before  { content: 'Perl'; }
57
+  pre.src-java:before  { content: 'Java'; }
58
+  pre.src-sql:before   { content: 'SQL'; }
150 59
 
151 60
   table { border-collapse:collapse; }
152 61
   caption.t-above { caption-side: top; }
153 62
   caption.t-bottom { caption-side: bottom; }
154 63
   td, th { vertical-align:top;  }
155
-  th.org-right  { text-align: center;  }
156
-  th.org-left   { text-align: center;   }
157
-  th.org-center { text-align: center; }
158
-  td.org-right  { text-align: right;  }
159
-  td.org-left   { text-align: left;   }
160
-  td.org-center { text-align: center; }
64
+  th.right  { text-align: center;  }
65
+  th.left   { text-align: center;   }
66
+  th.center { text-align: center; }
67
+  td.right  { text-align: right;  }
68
+  td.left   { text-align: left;   }
69
+  td.center { text-align: center; }
161 70
   dt { font-weight: bold; }
162
-  .footpara { display: inline; }
71
+  .footpara:nth-child(2) { display: inline; }
72
+  .footpara { display: block; }
163 73
   .footdef  { margin-bottom: 1em; }
164 74
   .figure { padding: 1em; }
165 75
   .figure p { text-align: center; }
@@ -179,7 +89,6 @@
179 89
     { font-size: 10px; font-weight: bold; white-space: nowrap; }
180 90
   .org-info-js_search-highlight
181 91
     { background-color: #ffff00; color: #000000; font-weight: bold; }
182
-  .org-svg { width: 90%; }
183 92
   /*]]>*/-->
184 93
 </style>
185 94
 <link rel="stylesheet" type="text/css" href="freedombone.css" />
@@ -235,18 +144,16 @@ for the JavaScript code in this tag.
235 144
 <a name="top" id="top"></a>
236 145
 </div>
237 146
 <div id="content">
238
-<div class="org-center">
147
+<h1 class="title"></h1>
239 148
 
240 149
 <div class="figure">
241
-<p><img src="images/logo.png" alt="logo.png" />
150
+<p><img src="images/logo.png" alt="logo.png" width="80%" height="10%" align="center" />
242 151
 </p>
243 152
 </div>
244
-</div>
245
-
246
-<center>
247
-<h1>DLNA</h1>
248
-</center>
249 153
 
154
+<div id="outline-container-sec-1" class="outline-2">
155
+<h2 id="sec-1">DLNA</h2>
156
+<div class="outline-text-2" id="text-1">
250 157
 <p>
251 158
 An easy way to play music on any mobile device in your home is to use the DLNA service. Copy your music into a directory called "<i>Music</i>" on an unencrypted USB thumb drive and then insert it into a USB socket on the Freedombone system.
252 159
 </p>
@@ -256,6 +163,7 @@ ssh into the system with:
256 163
 </p>
257 164
 
258 165
 <div class="org-src-container">
166
+
259 167
 <pre class="src src-bash">ssh myusername@mydomain.com -p 2222
260 168
 </pre>
261 169
 </div>
@@ -269,13 +177,11 @@ The system will scan the <i>Music</i> directory, which could take a while if the
269 177
 </p>
270 178
 
271 179
 <p>
272
-If you have an Android device then go to F-Droid (if you don't already have it installed then it can be <a href="https://f-droid.org/">downloaded here</a>) and search for <b>ControlDLNA</b>. On running the app you should see a red Debian icon which you can press on, then you may need to select "local". After a few seconds the list of albums or tracks should then appear and you can browse and play them.
273
-</p>
274
-
275
-<p>
276 180
 The DLNA service will only work within your local home network, and isn't remotely accessible from other locations via the internet. That can be both a good and a bad thing. Another consideration is that there are <i>no access controls</i> on DLNA services, so any music or videos on the USB drive will be playable by anyone within your home network.
277 181
 </p>
278 182
 </div>
183
+</div>
184
+</div>
279 185
 <div id="postamble" class="status">
280 186
 
281 187
 <style type="text/css">