mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 03:56:21 -05:00
Purge old files and playlists after bulk scan
This commit is contained in:
5
src/db.h
5
src/db.h
@@ -2,6 +2,8 @@
|
||||
#ifndef __DB_H__
|
||||
#define __DB_H__
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <sqlite3.h>
|
||||
@@ -181,6 +183,9 @@ free_mfi(struct media_file_info *mfi, int content_only);
|
||||
void
|
||||
free_pli(struct playlist_info *pli, int content_only);
|
||||
|
||||
void
|
||||
db_purge_cruft(time_t ref);
|
||||
|
||||
/* Queries */
|
||||
int
|
||||
db_query_start(struct query_params *qp);
|
||||
|
||||
Reference in New Issue
Block a user