core/playlists/system: Load favorites and hidden playlists first

If we don't, then the Collection playlist will include hidden tracks
when it initializes.

Fixes #109: Hidden tracks showing up in Collection
Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
Anna Schumaker 2017-08-22 09:54:49 -04:00
parent 8614aa37cd
commit 79accb5bb0
1 changed files with 2 additions and 2 deletions

View File

@ -405,6 +405,8 @@ void pl_system_init(void)
struct playlist *playlist;
unsigned int i;
idle_schedule(IDLE_SYNC, __sys_pl_load_new, NULL);
for (i = 0; i < SYS_PL_NUM_PLAYLISTS; i++) {
playlist = pl_system_get(i);
@ -424,8 +426,6 @@ void pl_system_init(void)
break;
}
}
idle_schedule(IDLE_SYNC, __sys_pl_load_new, NULL);
}
void pl_system_deinit()