mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-26 12:36:15 -05:00
Remove provisions for multi-library support
It is now clear that multi-library support will not happen, so remove whatever provisions were in the code for that. It comes with a small change to the configuration file, too. With this, DB schema version went to 9.
This commit is contained in:
@@ -242,7 +242,7 @@ register_services(char *ffid, int no_rsp, int no_daap)
|
||||
|
||||
srand((unsigned int)time(NULL));
|
||||
|
||||
lib = cfg_getnsec(cfg, "library", 0);
|
||||
lib = cfg_getsec(cfg, "library");
|
||||
|
||||
libname = cfg_getstr(lib, "name");
|
||||
hash = djb_hash(libname, strlen(libname));
|
||||
|
||||
Reference in New Issue
Block a user