lad1337 / XDM

XDM: eXtendable Download Manager. Plugin based media collection manager.
xdm.lad1337.de
Other
203 stars 46 forks source link

[Request?] Generic downloader plugins? #39

Open MiTeePingWin opened 11 years ago

MiTeePingWin commented 11 years ago

I love the idea of a modular setup and really hope it picks up. I have a question/request but I don't know if this is in line with your vision:

Would a generic file downloader plugin (non-NZB) be possible? I ask because I remotely control my services from work. Often I find things I'd like to download, but I want to send it directly to my NAS/home PC and not my work PC. Sometimes these are just docs, or .zips, or .exes. Would a plugin be possible (practical?) that will let someone copy/paste a URL or multiple URLs and direct download to save it to the NAS?

Would a SoundCloud downloader plugin also be an option?https://github.com/yasoob/soundcloud-dl

lad1337 commented 11 years ago

short answer: yes

long answer:

"everything" is generic in XDM ... each indexer returns a list of download objects where each can be any type of download... download types are again plugins you can see them on the settings page (and when you hover a downloader/indexer they light up... ok that list is to long to fit nicely on my screen :/ )

so yes new indexers can create "http" downloads which are defined by the "http" download type and are downlaoded by the "wget" downloader (hypothetical speaking) and you can get whatever you want as long as you have a downloader that works with the type of download item

for example i am testing a irc downloader

for the situation "i would like to send a http link to XDM" thats a little more complicated because each downloadable item is tied to something like a game or album BUT we could have a generic HTTP MediaType. now create an email indexer (that might sound strange at first) which checks an email account, looks at each email gets the link and creates a download object AND create a MediaAdder plugin that checks the same email account creates the HTTP MediaTypes object and boom ... we have a snatch all this can be done without me changing anything in XDM ... it can be done by anyone right now

lad1337 commented 11 years ago

More Info on the "I send a link" idea The method with the email would require

That's an aweful lot for just downloading the URL you already have yes but all managing and plugins could interact with them in some way (FYI most of these plugins would be very very simple compared to the ones that I already provide)

And it is that much because XDM is ment to search on its own not given a source by the user

But that will change after I have redone the API with / for API extender plugins

EDIT

oh and soundcloud yes sure ... what would you want from soundcloud ? single songs ? the music plugin right now wants full albums. i dont use soundcloud so i dont know if the library / site can provide the list of songs ... if it can the souncloud indexer would create a single download item for the album fyi the available downloads of different types for one Element e.g album can co exist so XDM might find a few items on the usenet and on soundcloud the download filters would then take action and a download is choosen an appropriate downloader plugin is choosen for it and used to snatch it