update: store playlist files in database

Don't open the music directory for each "lsinfo" call.  Get the list
of playlist files from the memory database.
This commit is contained in:
Max Kellermann
2010-07-21 08:58:15 +02:00
parent e21ad70f3f
commit e598922133
10 changed files with 357 additions and 31 deletions

View File

@@ -23,6 +23,7 @@
#include "check.h"
#include "dirvec.h"
#include "songvec.h"
#include "playlist_vector.h"
#include <stdbool.h>
#include <sys/types.h>
@@ -35,6 +36,9 @@
struct directory {
struct dirvec children;
struct songvec songs;
struct playlist_vector playlists;
struct directory *parent;
time_t mtime;
ino_t inode;