SchizoDuckie / DuckieTV

A web application built with AngularJS to track your favorite tv-shows with semi-automagic torrent integration
http://schizoduckie.github.io/DuckieTV/
Other
1.13k stars 274 forks source link

[Feature Request] Use of command line terminal clients. #1171

Open metacritical opened 5 years ago

metacritical commented 5 years ago

Instead of just using a fix set of torrent clients there should be a mechanism to invoke any torrent client through the command line with command line parameters. Especially useful for terminal based torrent clients.

garfield69 commented 5 years ago

only useful if you are just going to post commands without interest in the results. but the moment you want to process what the client returns after posting a command, you then need to know how to process the presentation, and scope of the response. and since each client does this differently, you are back to crafting a unique processor for each client..

metacritical commented 5 years ago

Well i really want catch the magnet link and pass the link to peerflix like so : peerflix "magnet link| -v to open vlc so that i can stream it. @garfield69

garfield69 commented 5 years ago

Dtv is written in Javascript as a Chrome Browser Extension. As such it's restricted by Browser security rules. One such rule is that Browsers cannot open CLI shells, as this is an obvious vector for browser malware.

metacritical commented 5 years ago

Thanks for the reply. I understand that but i think it could be done for the desktop app which is packaged as a nw.js app. In any case if you could integrate some other streaming torrent client that would be fine too.

garfield69 commented 5 years ago

I'll open the ticket again and see if any one wants to volunteer to implement. Personally i'm only fixing urgent bugs that stop Dtv from working, I am not doing any enhancement work any more, got other projects i'm working on.

metacritical commented 5 years ago

@garfield69 Thankyou! :)