JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08.09.2021, 13:03
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 744
Default If a package has only one mp3 file don't create package

If a package has only one mp3 (or music) file don't create package. Instead of creating package, save to default download folder. So that we don't have hundreds of folders each one contains one mp3. Is this possible?
Reply With Quote
  #2  
Old 08.09.2021, 13:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

That's what the "Various package" is for. It *collects* all single link items, but you have to disable https://support.jdownloader.org/Know...ackage-feature else JDownloader will create custom package with auto package name
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 08.09.2021, 14:41
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 744
Default

I enabled "Various package" then follow the guide. But without unchecked save > create subfolder but it doesn't work. I think I'm missing something at Predefined rule: Create subfolder by packagename section. Also rule must be available only for audio files.

Last edited by tunayx; 08.09.2021 at 14:51.
Reply With Quote
  #4  
Old 08.09.2021, 14:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

Create a copy for the subfolder rule, disable the default one and customize the copy to only process NON audio filetype. That should work as expected
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 08.09.2021, 15:08
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 744
Default

Now every single file downloading without package name.

Last edited by tunayx; 08.09.2021 at 15:18.
Reply With Quote
  #6  
Old 08.09.2021, 15:19
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 744
Default

I tried my settings below, now every file downloading without any package name.

**External links are only visible to Support Staff****External links are only visible to Support Staff**
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Last edited by tunayx; 08.09.2021 at 15:21.
Reply With Quote
  #7  
Old 08.09.2021, 15:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

First checkbox: matches on any
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 08.09.2021, 15:26
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 744
Default

Already checked.
Reply With Quote
  #9  
Old 08.09.2021, 15:33
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

You have to uncheck it, else the rule will match on ANY link
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 08.09.2021, 15:35
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 744
Default

I see you mean uncheck matches on any. Now only problem I want if package has only 1 audio file then don't create package name just download to predefined folder. Another problem even for exe files package name always "Various Files" in other words package name can't be automatically created.

my settings
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #11  
Old 08.09.2021, 15:39
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

Your rule is correct. JDownloader processes rules from top to bottom, so make sure the rule is at last.
You should also specify a package name for list. the directory doesn't contain package tag, so JDownloader doesn't create extra folder for it
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 08.09.2021, 15:54
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 744
Default

It's the only rule enabled. But multiple audio files also downloaded without package name. I want only if the package has one audio file then download without package name.
Reply With Quote
  #13  
Old 08.09.2021, 15:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

It's not possible to create such rules. Rules don't have any knowledge about other links/packages.
Such rules can easily create loops and the outcome of the rules define the information that is condition of the rule itself.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #14  
Old 08.09.2021, 17:53
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 744
Default

Currently with my rule in the screenshot, the packages even more than one mp3 files also go to same folder. Albums, eps must be downloaded the package name I choose and all single mp3s must go to the predefined folder. But there's no rule "if package has 1" file so I can't do it.

P.S Sorry for late answer. There's a vagabond donkey in on our district, I go to feed him.
Reply With Quote
  #15  
Old 08.09.2021, 18:58
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

@tunayx: Do you add individual links manually or a link that results in multiple links? Can you provide examples? In case a decrypter plugin is involved, maybe we can find a solution.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #16  
Old 08.09.2021, 20:32
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 744
Default

Sure, I add multiple links (I don't use link that results in multiple links) then create package by giving it a name so all songs related to album goes that folder. But sometimes I add multiple links but each belongs different artist-album so I don't want any package-folder name for each one but I want them to be saved to predefined folder. This must be valid for only audio files.

Here's example, I set the package name by myself as Sugardaddy - How Long
Will be saved to:
e:\1 DOWNLOADS\Sugardaddy - How Long\

<a href="**External links are only visible to Support Staff**>Download</a>
<a href="**External links are only visible to Support Staff**>Download</a>
<a href="**External links are only visible to Support Staff**>Download</a>
<a href="**External links are only visible to Support Staff**>Download</a>
<a href="**External links are only visible to Support Staff**>Download</a>
<a href="**External links are only visible to Support Staff**>Download</a>
<a href="**External links are only visible to Support Staff**>Download</a>

And for just one track, this should be go to predefined folder (like MyMP3s) without package name created.

**External links are only visible to Support Staff****External links are only visible to Support Staff**

Such one track songs always will be saved to without any user interaction:
e:\1 DOWNLOADS\MyMP3s\

Not

e:\1 DOWNLOADS\<jd:packagename>
Reply With Quote
  #17  
Old 09.09.2021, 12:33
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 744
Default

Visual explain

**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #18  
Old 09.09.2021, 16:42
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

@tunayx: What I don't understand? You add the links first and them customize the package name? and move/organize the links? When you organize them, easily rightclick-> move to new package, there you specify the package name and can enable/disable the subfolder checkbox?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #19  
Old 09.09.2021, 21:33
tunayx's Avatar
tunayx tunayx is offline
JD Legend
 
Join Date: Mar 2009
Location: Xp Sp3 wth Java 7 No Firewall / Turkey
Posts: 744
Default

Enable/disable the subfolder checkbox or set the package name for each "one song" package is really tiring & time wasting. Also such folders each has one songs in my computer causes big mess. I want albums have folders and all such single songs go to predefined directory so no more digging to find out which folder is an album.
Reply With Quote
  #20  
Old 10.09.2021, 19:10
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,342
Default

@tunayx: why not disable subfolders by default? then you only have to enable it once for each album package
eg create subfolder rule that does not auto subfolder links from your source and then you can organize them and last step, set subfolder for those album packages easily

You could also create a custom rightclick context menu action that auto handles this for you, see
https://board.jdownloader.org/showthread.php?t=70525
maybe ask mgpai for hints/help with creating such a script.
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 11:27.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.