JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 22.05.2021, 08:55
Enomine Enomine is offline
Bandwidth Beast
 
Join Date: Oct 2010
Posts: 137
Default Make Hostername part of the Filename

Hi,

is there a way to automate add the Hostername into the Filename?

Thanks - Enomine
Reply With Quote
  #2  
Old 22.05.2021, 09:44
Enomine Enomine is offline
Bandwidth Beast
 
Join Date: Oct 2010
Posts: 137
Default

I could write my own script if i knew the variables where the information are available in.
Could any dev tell me the variable names, which i need to implement it by myself?
I think it should be a 5 lines script in script-manager.

Thanks - Enomine
Reply With Quote
  #3  
Old 23.05.2021, 15:45
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Yes, you should try to use the Eventscripter. Best would be to ask here for help, https://board.jdownloader.org/showthread.php?t=70525

But should also be possible via Packagizer
https://support.jdownloader.org/Know...the-packagizer
if
DownloadURL - contains - https?://(.*?)/.+ (and enable regex checkbox)
Plugin - has - dedicated plugin
then
filename set <jd:hoster:1>-<jd:orgfilename>

alternative
Plugin - has - dedicated plugin
then
filename set <jd:hoster>-<jd:orgfilename>
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 23.05.2021 at 15:48.
Reply With Quote
  #4  
Old 25.05.2021, 16:46
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,921
Default

Jiaz' first example is even present in our knowledgebase.

-psp-
__________________
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?
Reply With Quote
  #5  
Old 20.12.2021, 23:49
snuffleupagus snuffleupagus is offline
Giga Loader
 
Join Date: Feb 2020
Posts: 94
Default

delete

Last edited by snuffleupagus; 21.12.2021 at 00:15.
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 18:40.
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.