JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 07.06.2020, 15:47
Lode Lode is offline
Junior Loader
 
Join Date: Jun 2020
Posts: 11
Default Rename files with packager

Hi all, I've just downloaded JD2 and I'd like to know how can I rename files downloaded?
I've followed the instructions I've found on some tutorial and online, so I used Packager
rules.
I've selected filename and in the field I have done some test.
It's seems that only the 4 default value works correctly (date, package name, original file
name and file type).
None of other tags I've found on other discussions works correctly (e.g.: <jd:source:1> <jd:hoster:1>)
What's wrong?

My goal is to rename files with their URL + original file name.

Thanks to all
Reply With Quote
  #2  
Old 07.06.2020, 15:55
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,338
Default

source with be source url & hoster is the download url
for the dynamic tags to be available you need to have listeners present either in wildcard format * or regex (patternhere)
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 07.06.2020, 20:27
Lode Lode is offline
Junior Loader
 
Join Date: Jun 2020
Posts: 11
Default

Thank you for your quick reply, but I'm really a newbie in JD, so
I haven't probably understood your answer.
What do you mean with 'listeners'? Where I can find its?

Or better: Could you tell me which field I need to fill and how?

I obviously checked the 'Match on any files or link and ignore conditions below'
and only in the filename field I have inserted <jd:hoster:1>_<jd:orgfilename> and nothing else in any other field.

But it seems not working at all.
What I obtain is:

_jd_hoster_1__trailer.mp4 (trailer.mp4 is the name of the file, of course)

Could you indicates me step by step which field I have to fill and how?
Or if I can dowload and add a rule already done?

..and please with basically terms, because my english is a little bit rusty.
:biggrin::biggrin:
Reply With Quote
  #4  
Old 07.06.2020, 22:53
Lode Lode is offline
Junior Loader
 
Join Date: Jun 2020
Posts: 11
Default

OK! Solved.

I need a wildcard in the suorce(s)url field.

Thanks
Reply With Quote
  #5  
Old 08.06.2020, 03:10
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,338
Default

Nice you figured it out whilst I was sleeping =]
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #6  
Old 08.06.2020, 15:24
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 58,159
Default

:)
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
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 01:57.
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 - 2021, Jelsoft Enterprises Ltd.