Closed hariprasanths closed 12 months ago
@hariprasanths Thanks for the request. I have seen this request come up a few while back as well, let me see if this can be done.
@hariprasanths I checked on this and it will be hard to support that behaviour based on the current architecture of config in ytmdl
. Unless I do a complete rework of how config is handled, this will not be possible.
Will it be possible to have dynamic output paths via -o arg param? Or a combination of output path in dynamic path in config file? Something like this in the config file - $OutputPathFromArgs$Album$Artist
@hariprasanths Let me check on that. Is your use-case just to be able to pass dynamic path params from the arguments?
I am interested in overriding the providers and passing the dynamic output path on every run. Can work with the support to pass a dynamic output path via args.
I am getting the following error when trying to download a playlist with 600+ songs: [Errno 24] Too many open files
Following are some the places where I think the files aren't closed: download archive file, song's cache file, artwork file
Shall I open a new issue for this?
@hariprasanths Yes, a new issue is suggested.
@hariprasanths Support for advanced path (dynamic naming) is added and will be included in the next release.
Just a sneak peak of how it will work:
ytmdl "sundown" --output-dir "/Users/deepjyoti30/Music\$Artist->Album->Title"
@hariprasanths This is now included in the latest release!
Feature Request
Checklist
Description
Currently all the ytmdl instances use a global config - ~/.config/ytmdl. Support for overriding the config every run can help in automating multiple configurations with different providers/dynamic directories.
Something like the following ytmdl --ytdml-config ~/.config/ytmdl/spotifyConfig --url <>