modplug: get track length
This commit is contained in:
parent
6233de0546
commit
297d749fc8
@ -186,7 +186,7 @@ static struct tag *mod_tagdup(const char *file)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
ret = tag_new();
|
ret = tag_new();
|
||||||
ret->time = 0;
|
ret->time = ModPlug_GetLength(f) / 1000;
|
||||||
|
|
||||||
title = g_strdup(ModPlug_GetName(f));
|
title = g_strdup(ModPlug_GetName(f));
|
||||||
if (title)
|
if (title)
|
||||||
|
Loading…
Reference in New Issue
Block a user