GNOME Bugzilla – Bug 370604
Exception in ogg indexing
Last modified: 2006-12-16 01:39:22 UTC
I'm seeing the following exception when beagle tries to index some of my ogg files : Warn: Unable to filter /home/fcrozat/musique/Moby/Play/07 - Bodyrock.ogg: System.FormatException: Input string was not in the correct format at System.Int32.Parse (System.String s) [0x00014] in /tmp/BUILD/mono-1.1.17.1/mcs/class/corlib/System/Int32.cs:551 at System.Convert.ToInt32 (System.String value) [0x00008] in /tmp/BUILD/mono-1.1.17.1/mcs/class/corlib/System/Convert.cs:1220 at Entagged.Audioformats.Util.Utils.FieldListToIntArray (IList taglist) [0x00032] in /tmp/BUILD/beagle-0.2.9/Filters/entagged-sharp/Util/Utils.cs:117 at Entagged.AudioFile.get_TrackNumbers () [0x00000] in /tmp/BUILD/beagle-0.2.9/Filters/entagged-sharp/AudioFile.cs:117 at Beagle.Filters.FilterMusic.DoPullProperties () [0x00131] in /tmp/BUILD/beagle-0.2.9/Filters/FilterMusic.cs:108 at Beagle.Daemon.Filter.Open (System.IO.FileSystemInfo info) [0x0009a] in /tmp/BUILD/beagle-0.2.9/beagled/Filter.cs:518 From ogginfo on this file : New logical stream (#1, serial: 77842a4b): type vorbis Vorbis headers parsed for stream 1, information follows... Version: 0 Vendor: Xiph.Org libVorbis I 20030909 (1.0.1) Channels: 2 Rate: 44100 Nominal bitrate: 192,003000 kb/s Upper bitrate not set Lower bitrate not set User comments section follows... TITLE=Bodyrock COMMENT=Extrait avec Sound Juicer TRACKNUM=7/18 ARTIST=Moby ALBUM=Play TRACKNUMBER=7/18 Vorbis stream 1: Total data length: 4725197 bytes Playback length: 3m:36.440s Average bitrate: 174,651525 kb/s Logical stream 1 ended So, entagged-sharp doesn't seem to like X/Y tracknumber (don't forget to slap Ross for this, old version of sound-juicer were doing this ;)
Booo, we see this far too often ;P. I'm gonna mark this as dependent upon a shift to taglib-sharp. As the entagged-sharp is depreciated, and we need to get off our bums and do something about it. (Granted being as its probably been 2 weeks since I spent any real time on beagle, I can't say much.)
it would be nice to see a quick and dirty hack for old beagle code (stripping '/xxx' from the string before trying to cast it) too ;)
The crash is fixed in CVS. The problem isn't (the tracknumber will be ignored). But whats up with this X/Y tracknumber :)!