Skip to content

Commit 7fbad9b

Browse files
committed
remove old cli args
1 parent c9360dd commit 7fbad9b

File tree

2 files changed

+1
-35
lines changed

2 files changed

+1
-35
lines changed

docs/usage.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -338,9 +338,6 @@ If you don't want config to load automatically change `load_config` option in co
338338
"ca_file": null,
339339
"allowed_origins": null,
340340
"keep_sessions": false,
341-
"force_update_gui": false,
342-
"web_gui_repo": null,
343-
"web_gui_location": null
344341
}
345342
```
346343

@@ -435,7 +432,7 @@ Spotify options:
435432
--max-retries MAX_RETRIES
436433
The maximum number of retries to perform when getting metadata.
437434
--headless Run in headless mode.
438-
--use-cache-file Use the cache file to get metadata. It's located under C:\Users\user\.spotdl\.spotify_cache or ~/.spotdl/.spotify_cache under linux. It only caches tracks and
435+
--use-cache-file Use the cache file to get metadata. It's located under C:\Users\<user>\.spotdl\.spotify_cache or ~/.spotdl/.spotify_cache under linux. It only caches tracks and
439436
gets updated whenever spotDL gets metadata from Spotify. (It may provide outdated metadata use with caution)
440437
441438
FFmpeg options:
@@ -510,11 +507,6 @@ Web options:
510507
The allowed origins for the web server.
511508
--web-use-output-dir Use the output directory instead of the session directory for downloads. (This might cause issues if you have multiple users using the web-ui at the same time)
512509
--keep-sessions Keep the session directory after the web server is closed.
513-
--force-update-gui Refresh the web server directory with a fresh git checkout
514-
--web-gui-repo WEB_GUI_REPO
515-
Custom web gui repo to use for the web server. Example: https://github.com/spotdl/web-ui/tree/master/dist
516-
--web-gui-location WEB_GUI_LOCATION
517-
Path to the web gui directory to use for the web server.
518510
--enable-tls Enable TLS on the web server.
519511
--cert-file CERT_FILE
520512
File Path to the TLS Certificate (PEM format).

spotdl/utils/arguments.py

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -684,32 +684,6 @@ def parse_web_options(parser: _ArgumentGroup):
684684
help="Keep the session directory after the web server is closed.",
685685
)
686686

687-
# Add keep sessions argument
688-
parser.add_argument(
689-
"--force-update-gui",
690-
action="store_const",
691-
const=True,
692-
default=False,
693-
help="Refresh the web server directory with a fresh git checkout",
694-
)
695-
696-
# Add custom web gui repo
697-
parser.add_argument(
698-
"--web-gui-repo",
699-
type=str,
700-
help=(
701-
"Custom web gui repo to use for the web server. "
702-
"Example: https://github.com/spotdl/web-ui/tree/master/dist"
703-
),
704-
)
705-
706-
# Add custom web gui repo
707-
parser.add_argument(
708-
"--web-gui-location",
709-
type=str,
710-
help="Path to the web gui directory to use for the web server.",
711-
)
712-
713687
# Enable TLS for the web server
714688
parser.add_argument(
715689
"--enable-tls",

0 commit comments

Comments
 (0)