giavoni / get-flash-videos

Automatically exported from code.google.com/p/get-flash-videos
0 stars 0 forks source link

RFE: Single-click firefox companions script #371

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please find enclosed a script able to download a flash video running in firefox 
in a single click.

The usecase is e. g., mythtv or similar apps. Here, the situation is that a 
flash video is running in the browser and the user has just a remote control. 
User wants to push the the "Record" to start the download, and then find the 
downloaded file in a fixed location - anything involving more file mgmt is too 
messy with a remote. 

To my understanding, there is no easy way to do this generally for all 
browsers. So, this is for firefox (ff).

The script basically expects a single ff window. If there is multiple tabs, 
only the active (focused) one is used. The download URL fed to get-flash video 
is retrieved from this window.

The data is stored in a fifo of the last 5 (configurable) downloads. The last 
is stored under a fixed name such as 'youtube.flv' or 'svtplay.flv'. The older 
downloads get names based on the download source i. e., as hinted by 
get-flash-videos

The script is written in bash, with dependencies which makes it usable only in 
Linux or similar platforms using X11. It's in the "works for me (tm)" state.

Hopefully, the script can find a home in this project. For me, it's the 
necessary companion to make get-flash-videos  usable in the remote control 
context. It has a hard dependency on g-f-v, while the other deps are are quite 
general in a Linux perspective.

I'm doing this in an attempt to package the things I use for Fedora. If this is 
accepted into g-f-v, it will also find it's way into Fedora where I have a 
packaging for g-f-v under way at 
https://bugzilla.rpmfusion.org/show_bug.cgi?id=2200

Original issue reported on code.google.com by Leamas.A...@gmail.com on 18 Mar 2012 at 12:10

Attachments:

GoogleCodeExporter commented 9 years ago
Looks cool, I'll try it once I can get to my desktop.

Have you looked into using an official mythtv plugin? That way you could 
interpgrate with the browser easier.

Original comment by mjbauer95 on 15 Apr 2012 at 10:58