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

Packagizer ignores package name setting #44

Open
Salvora opened this issue Apr 4, 2021 · 1 comment
Open

Packagizer ignores package name setting #44

Salvora opened this issue Apr 4, 2021 · 1 comment

Comments

@Salvora
Copy link

Salvora commented Apr 4, 2021

I use jdownloader 2.0 with firefox with the "Download with Jdownloader" addon. I have a longstanding custom rule defined in the packagizer, I have been using for a long time.
The last time I downloaded something was like a month ago and there was no problem.
Today, I tried to download again but I noticed that the packagizer rule for setting the package name is getting ignored.
The rule sets the download destination correctly but not sets the package name. It sets the package name per individual file.
But packagizer should gather those files from the same host under the same package name so it is easy to see them all together.
I think some update broke this because I use the same host everytime with same file types.
I noticed that whichever tab is focused on the firefox while I am sending the file to jdownloader sets the package name.
I am not sure if this due to the addon or the jdownloader itself but it is highly likely that some update for the jdownloader broke the addon.

@hunkyburrito
Copy link

This is due to the extension hardcoding the packagename to be either the tab title or an empty string if it can't get that. I don't know of any way to fix that without editing it manually other than removing/commenting that line in the add-on code (which I can confirm works). Relevant line is in worker.js file, line 62 (body.append('package', tab.title || '');) if you want to edit it.

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