When adding music to mediatomb v. 0.9 I get the following messages:
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
2007-00-03 22:40:38 ERROR: iconv: Invalid or incomplete multibyte or wide character
2007-00-03 22:40:38 ERROR: ABC Caf\uffff/Red and Black could not be converted to new encoding: invalid character sequence!
All songs have a sample rate at 256kbit, and this has not been a problem with the 0.8 release.
Filenames containing an é has nether been a problem. I have many norvegian songs containing the norvegian letters æøå, and the new version also seems to have a problem with them.
Do you see a solution to this?
Best regards Øivind.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have seen the samplerate problem, I am not yet sure what is causing this - but it seems to be a taglib related problem. If you do not like taglib you can always compile with id3lib - it's just a switch to configure.
Regarding the filenames: you have to set correct filesystem and metadata charset in your config.xml
We are trying to autodetect default system settings, but I noticed some problems with it. Anyway, just set the <filesystem-charset> and <metadata-charset> correctly in the <import> section of your config.xml and reimport the media that has norvegian letters, it then should get imported correctly.
The "?" thing is coming in when iconv fails to convert some characters to UTF-8, because it assumes a different import encoding. The 0.8 version did not handle this case at all...
Let me know if it works :)
Greetings,
Jin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems like you have some problem with the defaulting of the character sets. The filename-charset was already set to ISO-8859-1, but the metadata-charset was not defined explicitly. According to the README file the default should be as the filename-charset (ISO-8859-1), but when I defined it explicitly to that value the iconv-error disappeared. I don't think it should be much converting between ISO-8859-1 and UTF-8.
When I build the version with id3lib, the taglib-errors of course disappereard, and it looks like the files are loaded ok.
Thank you for the assistance.
Øivind
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
sorry, the README is somewhat outdated, we need to add new documentation for the upcoming 0.9 release
regarding charsets: we now try to autodetect them from the system locale, however that does not always work. I still need to investigate what is going wrong there. So for now you will have to set both in the config manually...
I wonder why taglib choked on those mp3 files...
Greetings,
Jin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
When adding music to mediatomb v. 0.9 I get the following messages:
TagLib: MPEG::Header::parse() -- Invalid sample rate.
TagLib: MPEG::Header::parse() -- Invalid sample rate.
2007-00-03 22:40:38 ERROR: iconv: Invalid or incomplete multibyte or wide character
2007-00-03 22:40:38 ERROR: ABC Caf\uffff/Red and Black could not be converted to new encoding: invalid character sequence!
All songs have a sample rate at 256kbit, and this has not been a problem with the 0.8 release.
Filenames containing an é has nether been a problem. I have many norvegian songs containing the norvegian letters æøå, and the new version also seems to have a problem with them.
Do you see a solution to this?
Best regards Øivind.
Hi,
I have seen the samplerate problem, I am not yet sure what is causing this - but it seems to be a taglib related problem. If you do not like taglib you can always compile with id3lib - it's just a switch to configure.
Regarding the filenames: you have to set correct filesystem and metadata charset in your config.xml
We are trying to autodetect default system settings, but I noticed some problems with it. Anyway, just set the <filesystem-charset> and <metadata-charset> correctly in the <import> section of your config.xml and reimport the media that has norvegian letters, it then should get imported correctly.
The "?" thing is coming in when iconv fails to convert some characters to UTF-8, because it assumes a different import encoding. The 0.8 version did not handle this case at all...
Let me know if it works :)
Greetings,
Jin
It seems like you have some problem with the defaulting of the character sets. The filename-charset was already set to ISO-8859-1, but the metadata-charset was not defined explicitly. According to the README file the default should be as the filename-charset (ISO-8859-1), but when I defined it explicitly to that value the iconv-error disappeared. I don't think it should be much converting between ISO-8859-1 and UTF-8.
When I build the version with id3lib, the taglib-errors of course disappereard, and it looks like the files are loaded ok.
Thank you for the assistance.
Øivind
Hi,
sorry, the README is somewhat outdated, we need to add new documentation for the upcoming 0.9 release
regarding charsets: we now try to autodetect them from the system locale, however that does not always work. I still need to investigate what is going wrong there. So for now you will have to set both in the config manually...
I wonder why taglib choked on those mp3 files...
Greetings,
Jin