Firefox downloads

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Firefox downloads Thu Dec 29, 2016 10:27 am • by Drifter
Hi guys,

I'm using Firefox's Video DownloadHelper to get some streaming videos and I realised that it actually creates two files, a .mp4 and a .part file in the folder while it's downloading. So I am unable to track the folder and just watch for .mp4 files.

I'm thinking a way could be to check for duplicate filenames, so when the .part file completes and disappears, and only a single .mp4 filename is there, then an action can be issued. But I've no idea how to do that.
Or is there a better way to wait to apply the action only when the download completes?

I've searched the forum and found the old thread about Firefox where someone asked about the PDF download, but I think the solution doesn't seem to be applicable here? Like checking date modified (it doesn't seem to change until download completes) or waiting for a few minutes as the download ranges from few minutes to few hours, so can't really have an accurate gague for that.

Thanks in advance!
Drifter
 
Posts: 10
Joined: Thu Dec 29, 2016 10:20 am

Re: Firefox downloads Thu Dec 29, 2016 11:48 am • by Mr_Noodle
The .part file indicates an incomplete download so Hazel should be ignoring it and it's non-part counterpart. It won't even be processed by Hazel until the .part disappears.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Firefox downloads Thu Dec 29, 2016 8:31 pm • by Drifter
Hmm... That's weird, I have a rule looking for .mp4 files while ignoring .part files, and it keeps moving the .mp4 file before the download completes though.
Drifter
 
Posts: 10
Joined: Thu Dec 29, 2016 10:20 am

Re: Firefox downloads Fri Dec 30, 2016 10:40 am • by Mr_Noodle
Is this in a folder that is considered to be Firefox's download folder?
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Firefox downloads Fri Dec 30, 2016 8:01 pm • by Drifter
Yup, it is. I mean it's not the default folder, but I've set the download folder in preferences.

I've found a workaround for this in case anyone is facing the same issue.
Check for new files,
ignore .part files and
ignore files that have less than 1mb in size (as I realised the .mp4 when is not completed stays at a really low size).
Drifter
 
Posts: 10
Joined: Thu Dec 29, 2016 10:20 am

Re: Firefox downloads Mon Jan 02, 2017 12:41 pm • by Mr_Noodle
You can try a more exact rule which checks whether a sibling file is present but it's a bit more complicated. If that works for you then might as well leave it but if you find you need something more exact, then let me know.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support