Comments (19)
So, I actually made this long ago and can be found here: http://streamprotocol.tidalstream.org/ - it's a way to get data from websites into media players right now. There's a few GreaseMonkey scripts to show how to integrate it into websites.
I am both waiting for an actual Butter Project release (need to see how to auto-detect it) and hopefully a way to handle multi-file torrents.
from butter-desktop.
Nice feature should get the enhancement tag
from butter-desktop.
It should already work, at least it did before. But like normal torrent client to pick up the magnet protocol from browser and start it. Also with .torrent file to set as default application.
from butter-desktop.
@streger A lot of people (me included) have the magnet://
protocol reserved for their standard Torrent clients. A custom protocol would allow us to start streams in 1 click without having to change applications every time when clicking the anchor.
from butter-desktop.
...and you would need to convince people to include new protocol on their websites or make a browser extension that would inject it on pages when magnet link is detected.
from butter-desktop.
@streger You don't have to convince anyone to use a new protocol. The app could support both magnet://
and butter://
and people can choose to use or integrate the app however they want :)
from butter-desktop.
Creating another protocol just for reading a magnet link when you have "magnet" for that it's like adding more noise. It's like the inverse of this: https://xkcd.com/927/
from butter-desktop.
I believe we should stick to the magnet
protocol
from butter-desktop.
I like @iadj's solution. It isn't noisy and ultimately comes down to the user's preference. Making Butter work with the magnet
protocol would be annoying, because most of the users don't always want to open torrents with Butter if they are not videos. Btw, creating a Butter browser extension to detect the magnet link and allow users to click to extension's icon to start streaming immediately seems reasonable for me.
from butter-desktop.
@iadj Idea is great, you can use both, Butter + Magnet.
from butter-desktop.
We could merge a torrent client and stick with magnets then have butter decide to stream or download. Eventually I think we will want to stream straight from the browser using something like webtorrent: https://github.com/feross/webtorrent
from butter-desktop.
I believe that if we are going to add another protocol and try to make it
an standard. We should go for a more "generic" term... like "Play" or
something like that. That way if someone forks this project or wants to use
another app for streaming, they could use the same sites.
I still prefer to use the magnet protocol, but if not let the user decide
which kind of application to use when clicking in a magnet/torrent...
On Tue, Oct 27, 2015 at 3:38 PM, physiii [email protected] wrote:
We could use a torrent client and stick with magnets then have butter
decide to stream or download. Eventually I think we will want to stream
straight from the browser using something like webtorrent:
https://github.com/feross/webtorrent—
Reply to this email directly or view it on GitHub
#54 (comment)
.
Ezequiel Calderara,
- .Net Developer. Http://www.ironicnet.com Http://www.ironicnet.com |
[email protected] [email protected]*
from butter-desktop.
There's room for a way to link external media players with e.g. webbrowsers.
Currently, there's no smart way to play an HTTP link in VLC without some copy/paste stuff.
What I have in mind is something like stream://. The problem is that it'd lose its original protocol meaning, i.e. nobody knows how to fetch the stream. This can be solved by taking a lesson from git urls and throw in a + and add the original protocol, e.g. stream+http:// where http is the protocol used to get the streamable item.
A concrete example:
The initial link clicked is: stream+magnet:?xt=urn:btih:5dee65101db281ac9c46344cd6b175cdcad53426&dn=download
The torrent is downloaded by butter and then either played back or another link is shown. stream+http://127.0.0.1:21584/some-item.mp4 - The new link can be played in an external player like VLC.
The only thing required is a small program to handle the redirection of links to applications and it will be generic enough to allow others to use it.
from butter-desktop.
@JohnDoee take my +1
from butter-desktop.
@JohnDoee That's kinda what i was talking about. That will allow the protocol to be compatible with more programs!
If someone is planning to create such app, post the link here
from butter-desktop.
I was unable to find anyone else solving this problem and therefore whipped up a small solution to this that should be good to go this weekend.
One big issue remains, given a multi-file torrent, how do I tell butter which file I want to stream ? Judging by https://github.com/butterproject/butter-desktop/blob/master/src/app/app.js#L619-L623 it does not seem like it's supported. Should I just open a ticket regarding specifying file with command-line arguments ?
What I'd want is something like this:
butter.exe http://example.com/somefile.torrent path/to/file.mp4
or
butter.exe --file=path/to/file.mp4 http://example.com/somefile.torrent
from butter-desktop.
Link to connect this to more general discussion about this:
webtorrent/webtorrent-desktop#83
from butter-desktop.
I think we should stick to WebTorrent decision to use stream-magnet
protocol afterall
from butter-desktop.
yes it's tracket to #422
from butter-desktop.
Related Issues (20)
- Collaboration with Nuclear HOT 1
- Black screen HOT 2
- Doesn't run on Linux using flatpak
- Doesn't run on Linux using flatpak HOT 1
- Not connecting and downloading
- Bug: Thumbnails not loading. HOT 1
- [Feature Request] In App Torrent Search Using Jackett API
- Contribute guide is missing
- Using Yarn to build failed
- two device can not be sync
- unable to run yarn build & start HOT 1
- Add appimage support HOT 3
- Enable startup notifications
- Database directory field uneditable
- Unmaintained ?
- You're hosting on GitHub HOT 1
- "Watch Now"
- Bug: avengers infinity war subtitles in french are shifted HOT 1
- New Update is not working. Low quality 480P is not loading and following errors shwing as in screenshot HOT 3
- Bug:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from butter-desktop.