Ready to finally merge, fix GH-25

This commit is contained in:
krateng 2021-12-21 23:05:36 +01:00
parent ca78463989
commit 3ee68e75ac
2 changed files with 2 additions and 4 deletions

View File

@ -108,11 +108,11 @@ to run the server in the foreground.
### Customization
* Have a look at the [available settings](settings.md) and specifiy your choices in `/etc/maloja/settings/settings.ini`. You can also set each of these settings as an environment variable with the prefix `MALOJA_` (e.g. `MALOJA_SKIP_SETUP`).
* Have a look at the [available settings](settings.md) and specifiy your choices in `/etc/maloja/settings.ini`. You can also set each of these settings as an environment variable with the prefix `MALOJA_` (e.g. `MALOJA_SKIP_SETUP`).
* If you have activated admin mode in your web interface, you can upload custom images for artists or tracks by simply dragging them onto the existing image on the artist or track page. You can also manage custom images directly in the file system - consult `images.info` in the `/var/lib/maloja/images` folder.
* To specify custom rules, consult the `rules.info` file in `/etc/maloja/rules`. You can also apply some predefined rules on the `/setup` page of your server.
* To specify custom rules, consult the `rules.info` file in `/etc/maloja/rules`. You can also apply some predefined rules on the `/admin_setup` page of your server.
## How to scrobble

View File

@ -332,6 +332,4 @@ def newrule(**keys):
@authenticated_api
def set_settings(**keys):
from .. import globalconf
from pprint import pprint
pprint(keys)
globalconf.malojaconfig.update(keys)