Replacing file names in filelist with metadata information
|Assignee:||Oleg Malashenko||% Done:|
|Found in version:||2.99.401.gfd820||Platform:|
Showtime replaces file names in filelist with metadata information even if that data cannot be correctly interpreted or displayed.
Some of my .avi files have metadata in them in Russian in 1-byte encoding (I don't bother finding out which encoding it is: could be
cp1251, cp866 or koi8-r, but it doesn't matter). After first showing the file names in filelist showtime will eventually replace them
with empty strings (probably because it tries interpret the data as multibyte encoding and fails).
#2 Updated by Oleg Malashenko almost 10 years ago
- File meta.tar.bz2 added
Here is a link to my home ftp server folder containing 2 sample .avi files http://bit.ly/iDbCVt
Attached is extracted metadata information from them as shown by mplayer. Metadata is in CP-1251.
For 01.avi 'Name' doesn't contain any ASCII (<128) chars but spaces. Probably that is why I see "empty" string for it.
02.avi 'Name' contains '(2-).' ASCII chars. That is exactly what I see after showtime has replaced the file name.
I don't think it is worthwhile to 'guess' the encoding of metadata fields. Probably the best behavior is to leave it alone if
metadata is not a proper utf-8 string.