Skip to content
Extraits de code Groupes Projets

Queue download if update asked per ID

1 file
+ 1
1
Comparer les modifications
  • Côte à côte
  • En ligne
+ 14
17
@@ -59,7 +59,8 @@ The manual way of installing and setting up lektor:
@@ -59,7 +59,8 @@ The manual way of installing and setting up lektor:
```sh
```sh
cmake -Bbuild \
cmake -Bbuild \
-DCMAKE_C_COMPILER=clang \ # Choose the compiler
-DCMAKE_C_COMPILER=clang \ # Choose the compiler
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug # The debug stuff
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ # For clangd/ccls
 
-DCMAKE_BUILD_TYPE=Debug # The debug stuff
```
```
Note that the last option is here to generate the `compile_commands.json`, you
Note that the last option is here to generate the `compile_commands.json`, you
@@ -68,7 +69,9 @@ should copy it at the root of the project.
@@ -68,7 +69,9 @@ should copy it at the root of the project.
The sqlite database and the config file will be created automatically if needed,
The sqlite database and the config file will be created automatically if needed,
i.e. on the first run. If you are upgrading lektor, the config might not be
i.e. on the first run. If you are upgrading lektor, the config might not be
correct. You can delete the config file or use the `lkt admin config` to
correct. You can delete the config file or use the `lkt admin config` to
generate the config file again.
generate the config file again. If you are using special modules or are
 
compiling lektor without static modules, you may set their **absolute path**
 
inside the lektor's config file.
> **Important note**: Upgrading the config or the database scheme automatically
> **Important note**: Upgrading the config or the database scheme automatically
is not supported yet. If you are experiencing weird things with lektord, please
is not supported yet. If you are experiencing weird things with lektord, please
@@ -76,9 +79,6 @@ try first to delete the database and config and regenerate them. There are
@@ -76,9 +79,6 @@ try first to delete the database and config and regenerate them. There are
currently no way of doing a backup of playlists and stickers with lektor, this
currently no way of doing a backup of playlists and stickers with lektor, this
is WIP.
is WIP.
If you are using special modules or are compiling lektor without static modules,
you may set their **absolute path** inside the lektor's config file.
## Preparing a kara for lektor
## Preparing a kara for lektor
The ideal way of populating lektor is using *Kurisu*. The `update` is here for
The ideal way of populating lektor is using *Kurisu*. The `update` is here for
@@ -92,15 +92,12 @@ command.
@@ -92,15 +92,12 @@ command.
To run lektor, you can simply run the binary like: `./lektord`. If lektord did
To run lektor, you can simply run the binary like: `./lektord`. If lektord did
not exited normally (i.e. without the `lkt adm kill` command), the database will
not exited normally (i.e. without the `lkt adm kill` command), the database will
still store the fact that lektord is running. To by-pass it, you will need to
still store the fact that lektord is running. To by-pass it, you will need to
launch lektord with the `-F` (forced) option, like `lektord -F`.
launch lektord with the `-F` (forced) option, like `lektord -F`. It is not
recommended to launch always lektord with the `-F` option, because that way you
It is not recommended to launch always lektord with the `-F` option, because
could launch multiple instances of the lektod daemon, which could results in
that way you could launch multiple instances of the lektod daemon, which could
undefined behaviours. Lektor will use specialized software (hwdec set to yes),
results in undefined behaviours.
if you have an nvidia card with optimus (in almose every laptop), please use
`optirun` or `primusrun`: `optirun ./lektord`
Lektor will use specialized software (hwdec set to yes), if you have an nvidia
card with optimus (in almose every laptop), please use `optirun` or `primusrun`:
`optirun ./lektord`
### How to update the lektord database
### How to update the lektord database
@@ -142,6 +139,6 @@ Please, refer to the [CONTRIBUTING](CONTRIBUTING.md) file.
@@ -142,6 +139,6 @@ Please, refer to the [CONTRIBUTING](CONTRIBUTING.md) file.
## MPD
## MPD
Lektor is almost MPD compatible, at least it uses the same protocol, which can
Lektor is almost MPD compatible, at least it uses the same protocol, which can
be consulted [here](https://www.musicpd.org/doc/html/protocol.html#). The full
be consulted [here](https://mpd.readthedocs.io/en/stable/protocol.html). The
support for MPD clients (like mpc and ncmpc) is still WIP. For the MPD
full support for MPD clients (like mpc and ncmpc) is still WIP. For the MPD
compatibility list, see the [CONTRIBUTING](CONTRIBUTING.md) file.
compatibility list, see the [CONTRIBUTING](CONTRIBUTING.md) file.
Chargement en cours