removed duplicate by correctly cleaning voice directory
Signed-off-by: Kai Kreuzer <kai@openhab.org>pull/136/head
parent
a0424deca7
commit
f4402016c7
|
@ -1,4 +1,3 @@
|
||||||
id,label,description
|
id,label,description
|
||||||
marytts,Mary Text-to-Speech,"The Mary Text-to-Speech (TTS) service is a pure Java implementation of a TTS service, which uses the [MaryTTS](http://mary.dfki.de/) project of DFKI."
|
marytts,Mary Text-to-Speech,"The Mary Text-to-Speech (TTS) service is a pure Java implementation of a TTS service, which uses the [MaryTTS](http://mary.dfki.de/) project of DFKI."
|
||||||
voicerss,VoiceRSS Text-to-Speech,"VoiceRSS is an Internet based TTS service hosted at http://api.voicerss.org."
|
voicerss,VoiceRSS Text-to-Speech,"VoiceRSS is an Internet based TTS service hosted at http://api.voicerss.org."
|
||||||
voicerss,VoiceRSS Text-to-Speech,"VoiceRSS is an Internet based TTS service hosted at http://api.voicerss.org."
|
|
||||||
|
|
|
6
pom.xml
6
pom.xml
|
@ -20,6 +20,9 @@
|
||||||
<fileset>
|
<fileset>
|
||||||
<directory>${basedir}/addons/bindings/</directory>
|
<directory>${basedir}/addons/bindings/</directory>
|
||||||
</fileset>
|
</fileset>
|
||||||
|
<fileset>
|
||||||
|
<directory>${basedir}/addons/voice/</directory>
|
||||||
|
</fileset>
|
||||||
<fileset>
|
<fileset>
|
||||||
<directory>${basedir}/addons/uis/</directory>
|
<directory>${basedir}/addons/uis/</directory>
|
||||||
</fileset>
|
</fileset>
|
||||||
|
@ -295,8 +298,7 @@
|
||||||
if(name.contains('voice')) {
|
if(name.contains('voice')) {
|
||||||
def voiceId =
|
def voiceId =
|
||||||
it.name.replace('org.eclipse.smarthome.voice.', '').replace('org.openhab.voice.', '')
|
it.name.replace('org.eclipse.smarthome.voice.', '').replace('org.openhab.voice.', '')
|
||||||
def simpleVoiceNameDir = new
|
def simpleVoiceNameDir = new File(voice.path, voiceId)
|
||||||
File(voice.path, voiceId)
|
|
||||||
it.renameTo(simpleVoiceNameDir)
|
it.renameTo(simpleVoiceNameDir)
|
||||||
def readme = new
|
def readme = new
|
||||||
File(simpleVoiceNameDir.path, 'README.md')
|
File(simpleVoiceNameDir.path, 'README.md')
|
||||||
|
|
Loading…
Reference in New Issue