Reply to topic

KGET - Auto-paste mode ignore certain filetypes

27

Votes
27
0
mbgaski
Registered Member
Posts
1
Karma
0
Hi guys. Just had a suggestion for Kget that I don't think exists yet.

Since I primarily browse with Chromium, the only way I have to really "integrate" with KGet is to use the Auto-paste mode. Copy the link to the clipboard, and my download pops up.

The problem with this though, is that it triggers for every link (including just html links to pages). I typically only want to use the download manager for certain file types.

It would be very useful if you could set the Auto-paste mode to either ignore a list of user-definable file types, or (just as good - possibly better), allow it to opt-in certain file types and only pop up to download that list of types when a link appears on the clipboard.

Downloader for X had/has this capability, but that project is seemingly unmaintained (and unfortunately, was not released under a true open source license as you can't distribute modifications to the source).

Thanks.
mat69
KDE Developer
Posts
45
Karma
0
Please add this as wish to bko, so that is easier to keep track of it. Nice idea. :)


mat69, proud to be a member of KDE forums since 2008-Oct.
mat69
KDE Developer
Posts
45
Karma
0
I am currently working on implementing this feature. Is there a way to mark this thread as such?

Btw. I'll implement it with whitelist and blacklist combined.

I'll illustrate the workflow:
1. choose type (include/exclude)
2. choose syntax (RegExp/WildCard)
3. enter pattern

The order of the items defines their priority e.g.
1. - | http://kde* | WildCard
2. + | .*\.(rar|zip) | RegExp

This will apply to any rar or zip file _unless_ it is from http://kde*, as the first item has a higher priority than the second. [1]
In fact the link still has to be valid and still is not allowed to be a local file. So file:///home/x/a.rar would not match.

[1] If the order was the other way round then zip and rar files would even be downloaded from http://kde* since that rule has a lower priority.


mat69, proud to be a member of KDE forums since 2008-Oct.
User avatar Moult
Global Moderator
Posts
663
Karma
2
OS
Marked - be sure to post somewhere (here, planetkde or anywhere other than hidden in some remote commit log :P) when it's complete!


Moult, proud to be a member of KDE forums since 2008-Oct.
thinkMoult - source for tech, art, and animation: hilarity and interest ensured!
WIPUP.org - a unique system to share, critique and track your works-in-progress projects.
mat69
KDE Developer
Posts
45
Karma
0
Moult wrote:Marked - be sure to post somewhere (here, planetkde or anywhere other than hidden in some remote commit log :P) when it's complete!

OK, commited it. Will be in 4.6.


mat69, proud to be a member of KDE forums since 2008-Oct.

 
Reply to topic

Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Drecker, Frousties, Google [Bot], ipwizard, JesusM, Kdesr, pulltheo, robgriff444, Section_8, Sogou [Bot], tymond, YaCy [Bot], Yahoo [Bot]