mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-20 01:50:26 -05:00
[spotify] Trigger scan after retrieving a valid access token from the
webinterface Library now offers the function "library_exec_async". This allows library sources to offer functions that will be executed in the library thread. Useful to allow partial scans of only one source.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "commands.h"
|
||||
#include "db.h"
|
||||
|
||||
/*
|
||||
@@ -88,6 +89,9 @@ library_set_scanning(bool is_scanning);
|
||||
bool
|
||||
library_is_exiting();
|
||||
|
||||
int
|
||||
library_exec_async(command_function func, void *arg);
|
||||
|
||||
int
|
||||
library_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user