mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-28 11:01:59 +00:00
00_DFPlayerMini: fix documentation
git-svn-id: https://svn.fhem.de/fhem/trunk@16321 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
573f61869f
commit
c428b12afc
@ -1720,7 +1720,7 @@ sub DFPlayerMini_Notify($$)
|
|||||||
<li>
|
<li>
|
||||||
tts <text to translate to speech><br>
|
tts <text to translate to speech><br>
|
||||||
<code>TTSDev</code> is used to calculate the MD5 hash of <text to translate to speech>. It then tries to play the file with this hash value.
|
<code>TTSDev</code> is used to calculate the MD5 hash of <text to translate to speech>. It then tries to play the file with this hash value.
|
||||||
If no reading for such a file exists and if the attribute <code>rememberMissingTTS</code> is set, a new reading Missing_MD5<md5> with <text to translate to speech> as its
|
If no reading for such a file exists and if the attribute <code>rememberMissingTTS</code> is set, a new reading Missing_MD5<md5> with <text to translate to speech> as its
|
||||||
value is created.
|
value is created.
|
||||||
<br>Prerequisites:<br>
|
<br>Prerequisites:<br>
|
||||||
This only works if this text had been translated earlier and the resulting mp3 file was stored in the cache directory of TTSDev.
|
This only works if this text had been translated earlier and the resulting mp3 file was stored in the cache directory of TTSDev.
|
||||||
@ -1953,7 +1953,7 @@ sub DFPlayerMini_Notify($$)
|
|||||||
<li>
|
<li>
|
||||||
tts <Text der in Sprache übersetzt werden soll><br>
|
tts <Text der in Sprache übersetzt werden soll><br>
|
||||||
<code>TTSDev</code> wird verwendet um den MD5 Hash von <Text der in Sprache übersetzt werden soll> zu berechnen. Anschließend wird versucht die Datei mit diesem Hash abzuspielen.
|
<code>TTSDev</code> wird verwendet um den MD5 Hash von <Text der in Sprache übersetzt werden soll> zu berechnen. Anschließend wird versucht die Datei mit diesem Hash abzuspielen.
|
||||||
Wenn kein Reading für diesen Hash existiert und das wenn das Attribute <code>rememberMissingTTS</code> gesetzt ist dann wird ein neues Reading Missing_MD5<md5>
|
Wenn kein Reading für diesen Hash existiert und das wenn das Attribute <code>rememberMissingTTS</code> gesetzt ist dann wird ein neues Reading Missing_MD5<md5>
|
||||||
mit dem Wert <Text der in Sprache übersetzt werden soll> angelegt.
|
mit dem Wert <Text der in Sprache übersetzt werden soll> angelegt.
|
||||||
<br>Voraussetzungen:<br>
|
<br>Voraussetzungen:<br>
|
||||||
Das funktioniert nur, wenn vorher der zu übersetzende Text bereits einmal übersetzt wurde und die daraus resultierende MP3 Datei im cache Verzeichnis
|
Das funktioniert nur, wenn vorher der zu übersetzende Text bereits einmal übersetzt wurde und die daraus resultierende MP3 Datei im cache Verzeichnis
|
||||||
|
Loading…
x
Reference in New Issue
Block a user