Skip to content
Extraits de code Groupes Projets
Vérifiée Valider ab3792d2 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

CONF: Update default config file to take into account new routes and add the fav and plt routes

parent 28fb4c22
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!122Resolve "Import the "Favoris" from kurisu"
......@@ -10,11 +10,11 @@ value("max_clients", "16")
section("database")
value("kara_dir", "/home/kara") /* All the folder and sub folder
must be on the same partition */
* must be on the same partition */
value("db_path", "/home/kara/kara.db")
/* The repo module, here to be able to sync the bakabase with kurisu or
any other server, if configured correctly */
* any other server, if configured correctly */
section("repo")
value("obfuscate", "1")
value("module", "repo")
......@@ -22,12 +22,14 @@ value("name", "Kurisu")
value("workers_count", "2")
value("url", "https://kurisu.iiens.net")
value("json", "https://kurisu.iiens.net/api")
value("id_json", "https://kurisu.iiens.net/api?id=%ld")
value("id_kara", "https://kurisu.iiens.net/download.php?id=%ld")
value("id_json", "https://kurisu.iiens.net/api/%ld")
value("id_kara", "https://kurisu.iiens.net/api/download/%ld")
value("fav_json", "https://kurisu.iiens.net/api/fav/%s")
value("plt_json", "https://kurisu.iiens.net/api/plt/%s")
/* The player module, so that people can 'sing' when using lektor. By
default it's sdl, but one can create any module, for audio support
only for example. */
* default it's sdl, but one can create any module, for audio support
* only for example. */
section("player")
value("module", "sdl2")
value("autoclear", "true")
......@@ -40,15 +42,17 @@ value("font_name", "Hack Nerd Font")
value("msg_duration", "4")
value_opt("force_x11", "1") /* Force libmpv to use x11, may segfault on some PCs... */
/* To place hooks, when some things are done in lektor. The default value 'none' is here so that
nothing happens. Like any module, the value can point to a module or a function in the internal
register. To specify multiple modules, use a comma separated list, line this:
`kara_load = print_stdout, print_stderr`
For the moment, only functions in the server register are supported.
NOTE: All the functions will recieve a va_list as a unique argument. */
/* To place hooks, when some things are done in lektor. The default value
* 'none' is here so that nothing happens. Like any module, the value can point
* to a module or a function in the internal register. To specify multiple
* modules, use a comma separated list, line this: `kara_load = print_stdout,
* print_stderr`. For the moment, only functions in the server register are
* supported.
* NOTE: All the functions will recieve a va_list as a unique argument. */
section("hook")
value("kara_load", "none") /* Before a kara is loaded to be played,
the 'player' module needs to support it */
value("queue_begin", "none") /* On play, when the player is not already playing or paused */
* the 'player' module needs to support it */
value("queue_begin", "none") /* On play, when the player is not already playing
* or paused */
// vi:syntax=c
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter