Support voiceover for Russian files

Use RHVoice to generate voiceover for Russian files and pico2wave for
all other files.
Detect Russian file names using a simple regexp.

Assume iPod is mounted using utf8 instead of latin-1 codepage to allow
Russian file names. (long file names are UTF-16 on disk anyway)
This commit is contained in:
Andrey Mazo 2014-06-24 04:26:06 +04:00
parent 920589e23a
commit f64a67403f
2 changed files with 49 additions and 11 deletions

View file

@ -31,7 +31,9 @@ This script requires:
* [Python 2.7](http://www.python.org/download/releases/2.7/)
* [Mutagen](https://code.google.com/p/mutagen/)
* [PicoSpeaker](http://picospeaker.tk/readme.php)
* [PicoSpeaker](http://picospeaker.tk/readme.php) -- for non-Russian files
* [RHVoice (master branch, 3e31edced402a08771d2c48c73213982cbe9333e)](https://github.com/Olga-Yakovleva/RHVoice) -- for Russian files only
* [SoX](http://sox.sourceforge.net) -- for Russian files only
##### Ubuntu