1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Minor visual improvements

This commit is contained in:
Krateng 2019-05-17 15:05:17 +02:00
parent 981c0e4ae2
commit 604f897571
2 changed files with 7 additions and 7 deletions

View File

@ -4,9 +4,7 @@ Simple self-hosted music scrobble database to create personal listening statisti
You can check [my own Maloja page](https://maloja.krateng.ch) to see what it looks like. You can check [my own Maloja page](https://maloja.krateng.ch) to see what it looks like.
## Never Asked Questions ## Why not Last.fm / Libre.fm / GNU FM?
### Why not Last.fm / Libre.fm / GNU FM?
Maloja is **self-hosted**. You will always be able to access your data in an easily-parseable format. Your library is not synced with any public or official music database, so you can **follow your own tagging schema** or even **group associated artists together** in your charts. Maloja is **self-hosted**. You will always be able to access your data in an easily-parseable format. Your library is not synced with any public or official music database, so you can **follow your own tagging schema** or even **group associated artists together** in your charts.
@ -84,6 +82,8 @@ API URL | Your Maloja URL followed by `/api/s/listenbrainz`
Username | Any name, doesn't matter Username | Any name, doesn't matter
Auth Token | Any of your API keys Auth Token | Any of your API keys
These are tested with the Pano Scrobbler and the Simple Last.fm Scrobbler for Android. I'm thankful for any feedback whether other scrobblers work!
It is recommended to define a different API key for every scrobbler you use in `clients/authenticated_machines.tsv` in your Maloja folder. It is recommended to define a different API key for every scrobbler you use in `clients/authenticated_machines.tsv` in your Maloja folder.
### Manual ### Manual

6
maloja
View File

@ -64,14 +64,14 @@ def setup():
for k in apikeys: for k in apikeys:
key = settings.get_settings(k) key = settings.get_settings(k)
if key is None: if key is None:
print("Currently not using a " + apikeys[k] + " for image display.") print("\t" + "Currently not using a " + apikeys[k] + " for image display.")
elif key == "ASK": elif key == "ASK":
print("Please enter your " + apikeys[k] + ". If you do not want to use one at this moment, simply leave this empty and press Enter.") print("\t" + "Please enter your " + apikeys[k] + ". If you do not want to use one at this moment, simply leave this empty and press Enter.")
key = input() key = input()
if key == "": key = None if key == "": key = None
settings.update_settings("settings/settings.ini",{k:key},create_new=True) settings.update_settings("settings/settings.ini",{k:key},create_new=True)
else: else:
print(apikeys[k] + " found.") print("\t" + apikeys[k] + " found.")
# OWN API KEY # OWN API KEY