muine r1253 - in trunk: . src
- From: dgsiegel svn gnome org
- To: svn-commits-list gnome org
- Subject: muine r1253 - in trunk: . src
- Date: Mon, 15 Dec 2008 11:10:38 +0000 (UTC)
Author: dgsiegel
Date: Mon Dec 15 11:10:38 2008
New Revision: 1253
URL: http://svn.gnome.org/viewvc/muine?rev=1253&view=rev
Log:
use Duration.TotalSeconds to get the correct duration of a song, fixes bug #564578
Modified:
trunk/ChangeLog
trunk/src/Metadata.cs
Modified: trunk/src/Metadata.cs
==============================================================================
--- trunk/src/Metadata.cs (original)
+++ trunk/src/Metadata.cs Mon Dec 15 11:10:38 2008
@@ -140,7 +140,7 @@
// Properties :: Duration (get;)
public int Duration {
- get { return file.Properties.Duration.Seconds; }
+ get { return (int) file.Properties.Duration.TotalSeconds; }
}
// Properties :: MimeType (get;)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]