#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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 |
#3
|
||||
|
||||
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 |
Thread Tools | |
Display Modes | |
|
|