Update Sample Config

This commit is contained in:
aditya-K2 2021-12-08 00:42:50 +05:30
parent bb1f581110
commit abb47a8818
1 changed files with 31 additions and 1 deletions

View File

@ -49,4 +49,34 @@ MPD_PORT : "6600"
DEFAULT_IMAGE_PATH: "default.jpg"
COVER_IMAGE_PATH: "cover.jpg" # path to store the embedded cover art
GET_COVER_ART_FROM_LAST_FM : "TRUE" # Turn On Getting Album art from lastfm api
LASTFM_API_KEY: "YOUR API KEY HERE"
LASTFM_API_SECRET: "YOUR API SECRET HERE"
LASTFM_AUTO_CORRECT: 1 # 0 means it is turned off
# according to lastfm documentation
# autocorrect[0|1] (Optional) : Transform misspelled artist names into correct artist names, returning the correct version instead.
# Mappings
#
# Mapping works in the following way:
# Function: [ firstMapping, secondMapping, thirdMapping, ...... ]
# for e.g
togglePlayBack : [ "p", "SPACE", "]" ] # using the quotes is neccessary.
# all the three keys now have the same function.
# To see Availabe Keys and Functions : https://github.com/aditya-K2/goMP#key-mappings
# Caching
#
# The Covert arts that are extracted from the file or downloaded from lastfm are cached.
# It Is neccessary to define a cache directory to store all the cover arts.
# The Caching works as follows
# 1. Check if there is an embedded cover art if not then 2
# 2. Check if lastfm has album art if not then 3
# 3. Fallback to the default image.
#
#
CACHE_DIR : "/path/to/the/cache/Directory" # for e.g "~/.config/goMP/cache"
# You will have to manually create this directory.
CACHE_FILE : "/path/to/the/cache/file" # Cache file stores the path to all the images ( think of it like a database. )
# Soon will be deprecated.