Skip to content

Commit

Permalink
Add some more fixes to make the filename feature work
Browse files Browse the repository at this point in the history
  • Loading branch information
deepjyoti30 committed Aug 27, 2023
1 parent 398a5ab commit 72e0e31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
exec(open("ytmdl/__version__.py").read())

req_pkgs = [
'yt-dlp>=2022.03.08.1',
'yt-dlp>=2022.7.6',
'mutagen',
'itunespy',
'requests',
Expand Down
2 changes: 1 addition & 1 deletion ytmdl/dir.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def cleanup(TRACK_INFO, index, datatype, remove_cached=True, filename_passed=Non
# special characters like `$` though the config then that will
# overwrite the filename_passed.
if filename_passed is not None:
SONG_NAME = filename_passed
SONG_NAME = filename_passed + ".{}".format(datatype)

DIR = defaults.DEFAULT.SONG_DIR
logger.debug(DIR)
Expand Down

0 comments on commit 72e0e31

Please sign in to comment.