mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-27 13:34:38 -04:00
Add option to restrict filenames to ASCII #161
This commit is contained in:
parent
cddbd98224
commit
372a755215
4 changed files with 54 additions and 17 deletions
|
@ -145,6 +145,9 @@ folder_format = "{albumartist} - {title} ({year}) [{container}] [{bit_depth}B-{s
|
|||
# Available keys: "tracknumber", "artist", "albumartist", "composer", "title",
|
||||
# and "albumcomposer"
|
||||
track_format = "{tracknumber}. {artist} - {title}"
|
||||
# Only allow printable ASCII characters in filenames.
|
||||
restrict_characters = false
|
||||
|
||||
|
||||
# Last.fm playlists are downloaded by searching for the titles of the tracks
|
||||
[lastfm]
|
||||
|
@ -160,4 +163,4 @@ progress_bar = "dainty"
|
|||
|
||||
[misc]
|
||||
# Metadata to identify this config file. Do not change.
|
||||
version = "1.4"
|
||||
version = "1.5"
|
||||
|
|
|
@ -223,6 +223,7 @@ class RipCore(list):
|
|||
)
|
||||
concurrency = session["downloads"]["concurrency"]
|
||||
return {
|
||||
"restrict_filenames": filepaths["restrict_characters"],
|
||||
"parent_folder": session["downloads"]["folder"],
|
||||
"folder_format": filepaths["folder_format"],
|
||||
"track_format": filepaths["track_format"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue