mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Ready to finally merge, fix GH-25
This commit is contained in:
parent
ca78463989
commit
3ee68e75ac
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user