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

I can't find config file anywhere. #257

Open
ppaauuoo opened this issue Apr 9, 2023 · 3 comments
Open

I can't find config file anywhere. #257

ppaauuoo opened this issue Apr 9, 2023 · 3 comments
Labels
request: feature A request, for a new feature. request: site A request, for a new site.

Comments

@ppaauuoo
Copy link

ppaauuoo commented Apr 9, 2023

I would love to be able to config the tool from the cmd without go through the file manager.

@ppaauuoo ppaauuoo added request: feature A request, for a new feature. request: site A request, for a new site. labels Apr 9, 2023
@Wamadx
Copy link

Wamadx commented Apr 17, 2023

There are 2 methods that I know to edit the config:

  1. Make a new config file yourself: [Recommended]
      1. Create a new file called animdl_config.yml in the directory you are running the command prompt.
      2. Use a text editor and open animdl_config.yml. Set the configurations. Example of the yml file content:
          default_player: vlc
      4. Save the file.
      5. animdl should now follow the new config file.

  2. Editing the init.py: (I don't think this is the recommended way but it works for me)
      1. You can run pip show animdl to see where the package was installed.
      2. In the directory: "installed packages path" > animdl > core > config > __init__.py
      3. Edit the __init__.py with a text editor and there should be a config section. Save the file after editing.

@h4rldev
Copy link

h4rldev commented Apr 18, 2023

__init__.py shouldn't be edited.

Make a new file in animdl's default config directory or in working directory.
animdl default config directory:

windows:

  • %LOCALAPPDATA%\.config\animdl\config.yml

*nix

  • $HOME/.config/animdl/config.yml

@h4rldev
Copy link

h4rldev commented Apr 18, 2023

And you can just use vim, nvim, nano, emacs or any other terminal text editor to edit the files from cmd either way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request: feature A request, for a new feature. request: site A request, for a new site.
Projects
None yet
Development

No branches or pull requests

3 participants