Commit 297d749f authored by Serge Ziryukin's avatar Serge Ziryukin Committed by Max Kellermann

modplug: get track length

parent 6233de05
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment