Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows relative directories not working #968

Open
jmbannon opened this issue Apr 24, 2024 · 0 comments
Open

Windows relative directories not working #968

jmbannon opened this issue Apr 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jmbannon
Copy link
Owner

I like to put my subscription.yaml file in the same directory as its output so I can better keep track of things.

To do this, I try this:

__preset__:
  output_options:
    output_directory: "."

but get the error " The system cannot find the path specified: ''

[ytdl-sub] The following error occurred for the subscription XYZ:
Traceback (most recent call last):
  File "ytdl_sub\subscriptions\subscription_download.py", line 375, in exception_handling
  File "ytdl_sub\cli\entrypoint.py", line 126, in _download_subscriptions_from_yaml_files
  File "ytdl_sub\subscriptions\subscription_download.py", line 362, in download
  File "ytdl_sub\subscriptions\subscription_download.py", line 319, in _process_subscription
  File "ytdl_sub\subscriptions\subscription_download.py", line 250, in _process_entry
  File "ytdl_sub\subscriptions\subscription_download.py", line 225, in _post_process_entry
  File "ytdl_sub\plugins\output_directory_nfo_tags.py", line 111, in post_process_entry
  File "ytdl_sub\plugins\nfo_tags.py", line 187, in _create_nfo
  File "ytdl_sub\ytdl_additions\enhanced_download_archive.py", line 737, in save_file
  File "ytdl_sub\ytdl_additions\enhanced_download_archive.py", line 660, in save_file_to_output_directory
  File "ytdl_sub\utils\file_handler.py", line 474, in move_file_to_output_directory
  File "os.py", line 225, in makedirs
FileNotFoundError: [WinError 3] The system cannot find the path specified: ''
@jmbannon jmbannon added the bug Something isn't working label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant