You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have already issued a fix for that in #2175. However, I still need to work on it because the web app doesn't use caching yet. It updates and downloads from the repository every time.
For now, you can download the required files from this link. Please download the favicon assets folder and the index.html file, then place them in:
C:\Users\santi.spotdl\web-ui\dist\ (you will need to create the dist folder since it doesn't exist)
System OS
Windows
Python Version
3.11 (CPython)
Install Source
pip / PyPi
Install version / commit hash
4.2.7
Expected Behavior vs Actual Behavior
When i run "spotdl web"
spotdl web
Using cached web app. To update use the
--force-update-gui
flag.╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ in _run_module_as_main:198 │
│ in _run_code:88 │
│ │
│ in :7 │
│ │
│ C:\Users\santi\AppData\Local\Programs\Python\Python312\Lib\site-packages\spotdl\console\entry_po │
│ int.py:53 in console_entry_point │
│ │
│ 52 │ else: │
│ ❱ 53 │ │ entry_point() │
│ 54 │
│ │
│ C:\Users\santi\AppData\Local\Programs\Python\Python312\Lib\site-packages\spotdl\console\entry_po │
│ int.py:119 in entry_point │
│ │
│ 118 │ │ # Start web ui │
│ ❱ 119 │ │ web(web_settings, downloader_settings) │
│ 120 │
│ │
│ C:\Users\santi\AppData\Local\Programs\Python\Python312\Lib\site-packages\spotdl\console\web.py:1 │
│ 18 in web │
│ │
│ 117 │ │ "/", │
│ ❱ 118 │ │ SPAStaticFiles(directory=web_app_dir, html=True), │
│ 119 │ │ name="static", │
│ │
│ C:\Users\santi\AppData\Local\Programs\Python\Python312\Lib\site-packages\starlette\staticfiles.p │
│ y:57 in init │
│ │
│ 56 │ │ if check_dir and directory is not None and not os.path.isdir(directory): │
│ ❱ 57 │ │ │ raise RuntimeError(f"Directory '{directory}' does not exist") │
│ 58 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
RuntimeError: Directory 'C:\Users\santi.spotdl\web-ui\dist' does not exist
Steps to reproduce - Ensure to include actual links!
spotdl web
Traceback
Other details
Python version 3.12.5 pip 24.2
The text was updated successfully, but these errors were encountered: