JDownloader -> FileBot is moving files too early

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Pulpi
Posts: 22
Joined: 29 Aug 2014, 22:25

JDownloader -> FileBot is moving files too early

Post by Pulpi »

Following case:

JDownloader had extracted package 1 and is calling the event scripter --> FileBot (ON_ARCHIVE_EXTRACTED), to rename and move package 1. If you are downloading more packages, the following situation can appear: While FileBot starts, JDownloader is extracting package 2 and FileBot also moves package 2, but package 2 isn´t fully extracted. That means the incomplete file was also renamed and moved.

Is there another event to start FileBot via event scripter in order to avoid this case? For instance something like "after all packages are finished"? Do I have another choice?
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: JDownloader -> FileBot is moving files too early

Post by rednoah »

Not sure. But you're welcome to investigate and contribute fixes and improvements:
https://github.com/filebot/plugins/tree ... downloader
:idea: Please read the FAQ and How to Request Help.
Pulpi
Posts: 22
Joined: 29 Aug 2014, 22:25

Re: JDownloader -> FileBot is moving files too early

Post by Pulpi »

I´m not quite sure, but I think that it had worked before and hadn´t resulted in that problem. Is that possible?

Is it a customized "ArchiveExtracted.js" file for JD? Do you still use it? Will it work if I replace "my" ArchiveExtracted.js-file with that one?
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: JDownloader -> FileBot is moving files too early

Post by rednoah »

These are the solutions I developed and tested ~1 year ago. I don't personally use JD though so I haven't personally used or tested any of this since then.
:idea: Please read the FAQ and How to Request Help.
Pulpi
Posts: 22
Joined: 29 Aug 2014, 22:25

Re: JDownloader -> FileBot is moving files too early

Post by Pulpi »

I guess the problem occures due to my new HDD (2nd). Now I have two volumes. volume 1 and volume 2. JD downloads to volume 1 and then moves filmes to volume 1 and series to volume 2. I´ve got the problem since my 2nd HDD. Any other advice about what to do in this specific case?
User avatar
rednoah
The Source
Posts: 22974
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: JDownloader -> FileBot is moving files too early

Post by rednoah »

Bad idea. Keep things on the same volume when moving files, because moving files on the same volume means that it's not doing anything on disk, making the operation instant.
:idea: Please read the FAQ and How to Request Help.
Post Reply