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

Location of plugins/Connecting already installed plugins #411

Closed
Vladimir-russian opened this issue Jun 9, 2024 · 9 comments
Closed

Location of plugins/Connecting already installed plugins #411

Vladimir-russian opened this issue Jun 9, 2024 · 9 comments

Comments

@Vladimir-russian
Copy link

Hello all,

I have been using YTDLP and Gallery-dl separately for most of the download. I never knew about this repository but i think this is simply a best idea

I already have Gallery-dl and ytdlp installed. How do I direct media-downloader to use these already installed applications ? where do I find the Json or exe file for already-installed repositories?

@mhogomchungu
Copy link
Owner

What operating system are you using?

Start the application, go to "basic downloader" and look for "App Data Path" folder path. All application data are in that folder. Extension's binaries are in "bin" subfolder and extension's json files are in "engines.v1" subfolder.

Media Downloader uses its own private copies plugin's binaries to make it possible to download and auto update them.

Instructions of how to install gallery-dl extension is here: https://github.com/mhogomchungu/media-downloader/wiki/Extensions#4-gallery-dl

Yt-dlp extension is already installed.

@Vladimir-russian
Copy link
Author

What operating system are you using?

Start the application, go to "basic downloader" and look for "App Data Path" folder path. All application data are in that folder. Extension's binaries are in "bin" subfolder and extension's json files are in "engines.v1" subfolder.

Media Downloader uses its own private copies plugin's binaries to make it possible to download and auto update them.

Instructions of how to install gallery-dl extension is here: https://github.com/mhogomchungu/media-downloader/wiki/Extensions#4-gallery-dl

Yt-dlp extension is already installed.

I am using windows

I have already installed Gallery-dl and I was hoping to use this installed version. Reason is I have already done a lot of setup/rules etc and I have archive file where I keep record of all downloads. I want Media downloader to use same gallery-dl so archive/records can be updated.

@Vladimir-russian
Copy link
Author

If it is not possible to connect both,
how do I setup a rule/condition/set that whenever mediadownloader runs and it used gallery dl, it should update a particular sqlitte file at specific location?

@mhogomchungu
Copy link
Owner

It is not possible for Media Downloader to use galley-dl or any other programs it depends that is located outside of its internal folder.

Why not delete the version of gallery-dl you downloaded and then reconfigure your setup to use this version?

@Vladimir-russian
Copy link
Author

What if I create links to already downloaded GL version and place it in that internal folder ?

My biggest problem is that I have a config file with lots of options setup . How would I use that file with Media-downlader version of GL ?

@mhogomchungu
Copy link
Owner

Gallery-dl has a "--config" option you can use to tell it where the config file is.

In Media Downloader:-

  1. Go to "Configure" tab and then go to "Engine's Default Option" subtab.
  2. At the "Engine's Name" menu, select "gallery-dl".
  3. At the "Options to add" text field, add --config "ABC" where ABC is a full path to where you put the config file. Quotes are necessary if the path has a space character in it.
  4. Click "Add".
  5. Right click the added entry and then select "Set As Default".

Continue to use Media Downloader with gallery-dl and it should not start using the config file from where you prefer to put it.

@Vladimir-russian
Copy link
Author

Thank you . So if path is like this C:\Users\XXX\AppData\Roaming\gallery-dl

I should enter below command ?

-config C:\Users\XXX\AppData\Roaming\gallery-dl (without quotes)

@mhogomchungu
Copy link
Owner

Option to enter should be

--config C:\Users\XXX\AppData\Roaming\gallery-dl.conf

The last component of the path should be the name of gallery-dl configuration file.

@mhogomchungu
Copy link
Owner

Closing this one as "fixed" but feel free to post if suggestion above is not working for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants