JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 21.12.2020, 01:12
SirJohnny SirJohnny is offline
Baby Loader
 
Join Date: Oct 2019
Posts: 9
Default How can I use custom filename with Folder Watch ?

I want to create a crawljob with music links. The issue is that I don't want to use the video_name or title as it is for the filename.

For example, a video titled "Pink Floyd - Wish You Were Here" should be just "Wish You Were Here". video titles include things that I don't want like: "Official Audio", "Lyrics Video", etc or the titles are inconsistent in format.

The crawljob file would be created programmatically and the desired filenames would be provided so I am not looking to remove things from the video_name or title, just to use my own.

If I use the filename field both audio and video would have the same filename including the extension.

So, either I need to specify the filetype I want or set the filename without the extension or something else I haven't thought of yet.

Is any of this possible ? Thanks.

Last edited by Jiaz; 21.12.2020 at 09:51.
Reply With Quote
  #2  
Old 21.12.2020, 09:51
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,520
Default

You can append meta information to the URL in your crawljob and then use packagizer to parse that information and set as filename
see for example https://board.jdownloader.org/showpo...6&postcount=12

As an alternative you can use Eventscripter to rename after download, eg place the wished information as comment and then use script
to parse comment and rename file or script that has filename cleanup logic, see https://board.jdownloader.org/showthread.php?t=70525
ask mgpai for help. He's our script master of the universe
__________________
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 12:21.
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.