-
Notifications
You must be signed in to change notification settings - Fork 1
Troubleshooting
Here we describe various issues with Vadelma and how to work around them.
The toolchain used to build Vadelma is not compiling in support in libxml2 to open XML files with encoding 'windows-1252'. Thus, when a user tries to read a book with this encoding, it fails and the "error in content" message is played.
If the book is on a local storage media, i.e. USB disk, one can easily change the encoding type and make the book readable. Keep in mind that changing the encoding type may corrupt the book when opened in other players. So make a backup of the book before continuing. This fix works in Vadelma since it is not rendering the text content in a book. Vadelma only plays the audio files in a book.
Linux users can run a single command in a terminal and replace the encoding. Open the terminal, go to the directory where the book is and run the command below.
sed -i 's/windows-1252/iso-8859-1/' *.smil *.html
Windows users have a harder time changing the encoding type. They must open each .smil and .html file in a text editor, search for all occurrences of 'windows-1252' and replace it with 'iso-8859-1'.
TODO