JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 24.07.2016, 20:07
zabnat zabnat is offline
I will play nice!
 
Join Date: Jul 2016
Posts: 1
Default Cleanup deleted from download list

I'm mostly using JDownloader to download youtube-videos. I have a service that marks a video file as watched automatically by creating a file in the same folder as the video file. I am looking for a way to clean up the download list of the files (videos) I have already seen. Two methods come to mind.

First is that from the JDownloader I could default delete action for a option of "Delete the download folder and all files inside". This would have to delete that marker file also that my service created. Right now JDownloader only deletes the files it created and so the folder will remain with that one file.

Second option would be a cleanup command that would remove all finished links from the download list which don't have files on the disk. This way I could just remove the folders in windows explorer and then clean up the download list. I believe this would be more useful for other users than the first option.
Reply With Quote
  #2  
Old 25.07.2016, 07:31
ds1508's Avatar
ds1508 ds1508 is offline
DSL User
 
Join Date: Jul 2016
Location: Germany, NRW
Posts: 38
Default

You could do this using the EventScripter. But I think you still have to "call" a DOS Batchfile. But then it should work.
- add new event to eventscripter (Interval or Button)
- use its javascript to read the packages, and run the DOS batch
__________________
--
In special cases you may contact me on Discord: http://bit.ly/dsDisco
Reply With Quote
  #3  
Old 25.07.2016, 11:31
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,320
Default

You can ask mgpai for help (in english). He is very talented with the eventscripter.
As this is very special use case we won't add it to JDownloader. The eventscripter is the correct way to go
__________________
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 08:56.
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 - 2020, Jelsoft Enterprises Ltd.