Skip to content
Extraits de code Groupes Projets

Resolve "Import the "Favoris" from kurisu"

Fusionnées Kubat a demandé de fusionner plt-import vers master
1 file
+ 18
14
Comparer les modifications
  • Côte à côte
  • En ligne
+ 18
14
@@ -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")
@@ -39,15 +41,17 @@ value("font_size", "20")
value("font_name", "Hack Nerd Font")
value("msg_duration", "4")
/* 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
Chargement en cours