playlist_vector: add new playlist to the end of the list
Avoid reversing the order after every update.
This commit is contained in:
parent
89f5e60422
commit
dd26fa67f2
@ -74,7 +74,7 @@ playlist_vector_add(struct list_head *pv,
|
||||
const char *name, time_t mtime)
|
||||
{
|
||||
struct playlist_metadata *pm = playlist_metadata_new(name, mtime);
|
||||
list_add(&pm->siblings, pv);
|
||||
list_add_tail(&pm->siblings, pv);
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user