add help text to recently played

+ read app version from the env
This commit is contained in:
mungai-njoroge
2023-12-09 22:18:20 +03:00
parent 336360d509
commit 312df06fc3
8 changed files with 31 additions and 13 deletions
+1 -1
View File
@@ -42,9 +42,9 @@ class Albums(Resource):
sort_is_count = sort == "count"
sort_is_duration = sort == "duration"
sort_is_create_date = sort == "created_date"
sort_is_date = is_albums and sort == "date"
sort_is_create_date = is_albums and sort == "created_date"
sort_is_artist = is_albums and sort == "albumartists"
sort_is_artist_trackcount = is_artists and sort == "trackcount"
+3 -2
View File
@@ -5,7 +5,7 @@ from app.db.sqlite.settings import SettingsSQLMethods as sdb
from app.lib import populate
from app.lib.watchdogg import Watcher as WatchDog
from app.logger import log
from app.settings import Paths, SessionVarKeys, set_flag
from app.settings import Keys, Paths, SessionVarKeys, set_flag
from app.store.albums import AlbumStore
from app.store.artists import ArtistStore
from app.store.tracks import TrackStore
@@ -182,7 +182,8 @@ def get_all_settings():
root_dirs = sdb.get_root_dirs()
s["root_dirs"] = root_dirs
s['plugins'] = plugins
s["plugins"] = plugins
s["version"] = Keys.SWINGMUSIC_APP_VERSION
return {
"settings": s,