[ubuntu-mono] [Bug 40934] Re: Beagle does not index ogg files
Stefan Glasenhardt
glasen at web.de
Tue Apr 25 18:30:32 UTC 2006
Hi,
I've made two very small diffs for this bug (it is fixed in CVS) :
First diff (name it OggFileReader.diff) :
http://cvs.gnome.org/viewcvs/beagle/Filters/entagged-sharp/Ogg/OggFileReader.cs?rev=1.4&sortby=date&view=markup
+++ beagle-0.2.5/Filters/entagged-sharp/Ogg/OggFileReader.cs
35a36
> [SupportedMimeType ("audio/x-vorbis+ogg")]
Second diff (name it EncodingInfo.cs) :
http://cvs.gnome.org/viewcvs/beagle/Filters/entagged-sharp/EncodingInfo.cs?rev=1.3&sortby=date&view=markup
+++ beagle-0.2.5/Filters/entagged-sharp/EncodingInfo.cs
81c81,89
< get { return (TimeSpan) content["DURATION"]; }
---
> get {
> object o = content["DURATION"];
> if(o is TimeSpan) {
> return (TimeSpan)o;
> }
>
> int duration = (int)o;
> return duration < 0 ? new TimeSpan(0) : new TimeSpan(duration * TimeSpan.TicksPerSecond);
> }
--
Beagle does not index ogg files
https://launchpad.net/bugs/40934
More information about the Ubuntu-mono
mailing list