---
 src/decoder/modplug_plugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/decoder/modplug_plugin.c b/src/decoder/modplug_plugin.c
index f636f2f..31f0a47 100644
--- a/src/decoder/modplug_plugin.c
+++ b/src/decoder/modplug_plugin.c
@@ -186,7 +186,7 @@ static struct tag *mod_tagdup(const char *file)
                return NULL;
         }
        ret = tag_new();
-       ret->time = 0;
+       ret->time = ModPlug_GetLength(f) / 1000;
 
        title = g_strdup(ModPlug_GetName(f));
        if (title)
-- 
1.6.3.2


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to