Update web_server.py
This commit is contained in:
parent
2ab0b387d6
commit
694f190b6d
1 changed files with 3 additions and 0 deletions
|
|
@ -3079,6 +3079,9 @@ def select_jellyfin_music_library():
|
|||
def get_navidrome_music_folders():
|
||||
"""Get list of available music folders from Navidrome"""
|
||||
try:
|
||||
if not navidrome_client:
|
||||
return jsonify({"success": False, "error": "Navidrome client not configured"}), 400
|
||||
|
||||
folders = navidrome_client.get_music_folders()
|
||||
|
||||
from database.music_database import MusicDatabase
|
||||
|
|
|
|||
Loading…
Reference in a new issue