# HG changeset patch # User samer # Date 1424484516 0 # Node ID f6dc7a0bb309f0f8402e70c46df139a7cd231eda # Parent 52a3e7d441c5637edfe6ef8892dc61e918cf4f1a Changes to config. diff -r 52a3e7d441c5 -r f6dc7a0bb309 var/dml/config-enabled/cache.pl --- a/var/dml/config-enabled/cache.pl Sun Feb 15 01:04:50 2015 +0000 +++ b/var/dml/config-enabled/cache.pl Sat Feb 21 02:08:36 2015 +0000 @@ -1,1 +1,22 @@ -../../../src/github/ClioPatria/config-available/cache.pl \ No newline at end of file +:- module(conf_cache, []). +:- use_module(library(semweb/rdf_cache)). + +/** Configure caching of RDF inputs + +Configure caching of RDF inputs. If enabled, RDF input graphs are stored +in fast-load format in the given cache directory. This provides a huge +speedup for loading RDF into the database. Note that if persistency is +enabled (default), RDF data is stored efficiently in the files that +realise the persistent RDF database and enabling caching only makes +sense if the persistent database is frequently wiped and re-filled with +(partially) the same data. + +Unloading this plugin does _not_ disable caching. Instead, change +*enabled* to =false=. +*/ + +:- rdf_set_cache_options([ enabled(true), + global_directory('cache/rdf'), + create_global_directory(true) + ]). + diff -r 52a3e7d441c5 -r f6dc7a0bb309 var/dml/run.pl --- a/var/dml/run.pl Sun Feb 15 01:04:50 2015 +0000 +++ b/var/dml/run.pl Sat Feb 21 02:08:36 2015 +0000 @@ -39,9 +39,9 @@ % Make loading files silent. Comment if you want verbose loading. -:- current_prolog_flag(verbose, Verbose), - asserta(saved_verbose(Verbose)), - set_prolog_flag(verbose, silent). +%:- current_prolog_flag(verbose, Verbose), +% asserta(saved_verbose(Verbose)), +% set_prolog_flag(verbose, silent). /******************************* diff -r 52a3e7d441c5 -r f6dc7a0bb309 var/dml/settings.db --- a/var/dml/settings.db Sun Feb 15 01:04:50 2015 +0000 +++ b/var/dml/settings.db Sat Feb 21 02:08:36 2015 +0000 @@ -1,5 +1,5 @@ /* Saved settings - Date: Thu Feb 12 01:52:40 2015 + Date: Mon Feb 16 12:46:19 2015 */ @@ -25,10 +25,7 @@ setting(musicbrainz:min_wait, 0.91). % IP addresses from which remotes are allowed to connect -setting(pengines:allow_from, ['127.0.0.1','192.168.1.68','192.168.1.76']). - -% Pixels per inch for in browser figures -setting(matlab:pixels_per_inch, 300). +setting(pengines:allow_from, [*]). % Decoration for AudioFile URIs setting(audio_ui:audiofile_decoration, player). @@ -38,3 +35,9 @@ % Soundfont directory setting(score_ui:soundfont_dir, "~/lib/sounds/sf2"). + +% Fluidsynth initialisation file +setting(score_ui:fluidsynth_rc, piano). + +% Pixels per inch for in browser figures +setting(matlab:pixels_per_inch, 300).