Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

[Feature request] "Open URL with..." option in Download File dialog #2585

Open
magiblot opened this issue Feb 1, 2018 · 14 comments
Open

[Feature request] "Open URL with..." option in Download File dialog #2585

magiblot opened this issue Feb 1, 2018 · 14 comments

Comments

@magiblot
Copy link

magiblot commented Feb 1, 2018

Hi there,

Some players such as mpv support playing multimedia directly in streaming mode. If I get to a download dialog but I don't want to spend time downloading the file, I will copy the URL, open a terminal and run the application with the URL as input parameter: I would find it very useful to be able to do this directly from the download dialog. It could also serve as a workaround for those installations of qupzilla lacking audio/video codecs.

I'm not sure of how useful this could be for other filetypes.

Thanks.

PS.: I'm enclosing two screenshots which describe what I said.
screenshot_20180201_124943
screenshot_20180201_125033

@ghost
Copy link

ghost commented Feb 1, 2018

It could also serve as a workaround for those installations of qupzilla lacking audio/video codecs.

QupZilla does not lacking anything!!! You have to read more about proprietary codecs!
By the way, did you ever try the Videoner plugin?

@magiblot
Copy link
Author

magiblot commented Feb 1, 2018

QupZilla does not lacking anything!!! You have to read more about proprietary codecs!

Excuse me, I used the wrong words.

By the way, did you ever try the Videoner plugin?

I didn't know about this plugin! It might be what I'm looking for.

@ghost
Copy link

ghost commented Feb 1, 2018

I didn't know about this plugin! It might be what I'm looking for.

Maybe not exactly, but you might find it useful.

Also, as workaround you can create a simple shell script which can pass the media files to mpv or save it to the disk, and then set this script as download manager in Qupzilla.

@ghost
Copy link

ghost commented Feb 1, 2018

@magiblot I was like you this may solve your problem QupZilla/qupzilla-plugins#75

@magiblot
Copy link
Author

magiblot commented Feb 1, 2018

@magiblot I was like you this may solve your problem QupZilla/qupzilla-plugins#75

Videoner is very useful for YouTube, but I'm not having problems with this site at the moment. It doesn't help with download links.

Also, as workaround you can create a simple shell script which can pass the media files to mpv or save it to the disk, and then set this script as download manager in Qupzilla.

Yes, it would take some time but this seems the simpliest way to attain the behaviour I'm looking for.

@ghost
Copy link

ghost commented Feb 2, 2018

@cranes-bill I was trying to recreate the problem of @magiblot. I wrote a simple 'mpv`script to stream those mp3's

#!/bin/sh
mpv $1

and added this executable in both the general and media elements tabs in videoner. The problem is download button in the site https://my-free-mp3.net/ redirects to a different site and the continue button in the second site dynammically generates a download link. Because the download link is dynamically generated we can only get the orginal download link with file only in the pop up download box Copy download link where we cant use third mouse key.

image

@ghost
Copy link

ghost commented Feb 2, 2018

That what i meant is quite different. Just create script which detect the file type and if it's media file pass it to mpv, otherwise use wget for example, then set it here:
capture du 2018-02-02 09 07 39

@ghost
Copy link

ghost commented Feb 2, 2018

@cranes-bill I didnt know that we can fix an external download manger in qupzilla. This is a nice feature but for now I am gonna stick with the native download manager. Can I ask what is the Arguments box here means. I have seen this box in both the download manger and videoner plugin. Is there any documentation about it?

@ghost
Copy link

ghost commented Feb 2, 2018

You might set binary file as executable, so if it needs rguments, you can set it here.
For example, if if you set /bin/wget as executable, you can set --continue --timeout=60 %d and so on as arguments

@magiblot
Copy link
Author

magiblot commented Feb 4, 2018

Also, as workaround you can create a simple shell script which can pass the media files to mpv or save it to the disk, and then set this script as download manager in Qupzilla.

I have been thinking about this. I came to this idea:

In addition to the "External download manager", the user could be allowed to set "Custom commands". A custom command would consist of a executable, a list of arguments and a name, so that the user can identify them.

In the Download File dialog there would be a third option named "Run Command" where the user could choose one of their preconfigured custom commands or create a new one.

This would be an efficient and friendly way of helping the user in these cases where they need to execute the same command for each file they follow the link of, which could be several times.

Excuse me for asking you to implement any of these. I don't have the knowledge yet to program this on my own either as a workaround or as a pull request.

@ghost
Copy link

ghost commented Feb 5, 2018

By the way, with simple modification, Videoner plugin can do the similar thing.
capture du 2018-02-05 18 25 04

@magiblot
Copy link
Author

magiblot commented Feb 6, 2018

Indeed, that is simpler than my whole idea. Maybe the easiest way to have this working with all links (including the dinamically generated ones, as @potholiday noticed) would be making the right-button work on the link in the Download File dialog.

@magiblot
Copy link
Author

magiblot commented May 6, 2018

Please, no. Not only the purpose of my request wasn't downloading music (it was just an example), but the site you linked will generate transcodes of YouTube videos (which are already transcodes on their own). No way.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@magiblot and others