butterproject / butter-desktop

All the free parts of Popcorn Time
http://butterproject.org/
GNU Affero General Public License v3.0
4.29k stars 1.08k forks source link

Butter connect #658

Open woutervddn opened 7 years ago

woutervddn commented 7 years ago

Description

Spotify has a feature called Spotify Connect, It works kind of like a chromecast but it chooses the appropriate stream protocol without the user noticing it. It can play from & to the following type of devices:

While to broad for butter, it would be a nice feature to be able have the same type of functionality so that I can play from my mobile device on my desktop/htpc. I've got a Philips 'smart' tv myself, but the miracast support is awful and streaming from butter project doesn't work at all. It tries to, but it fails. A feature like this might solve that

Expected behavior

  1. Navigate to content you want to watch on your (mobile) device.
  2. Apart from the watch now via VLC, internal, Cast,... options there can be a 'DeviceName nearby' option
  3. Just like how casting works, the device can have a 'player' functionality that in this case controls the stream (butter remote)
  4. The media file is loaded on the nearby device
williamandre commented 7 years ago

I may want to work on this

Persei08 commented 6 years ago

Well, we need a good DNLA renderer package (any to recommend ?) So, we see how to put it in butter and benefit a similar feature.

Am I wrong ? Someone have other idea on how to do this ?

edit: typo

xaiki commented 6 years ago

for one way we have DNLA/chromecast/... support, for the other way, we call it 'butter companion' internally.

make it a module

make it follow the https://github.com/butterstreamers/butter-base-streamer butter streamers spec then you probably need to port https://github.com/butterstreamers/butter-stream-selector/blob/master/index.js to use somekind of service discovery: mdns or whatnot.

Persei08 commented 6 years ago

Ok, Thanks. I put that on my list of things I should dig. Will update you if I dig enough and make some progress. But at the moment I'm more interested by compiling nwjs

xaiki commented 6 years ago

you may want to look at github.com/foradoeixo/tvninja it's our playground for next-generation butter, it's based on electron, react and requires no compiling of nwjs.

Persei08 commented 6 years ago

Ok, I have stared that, but my interest is more on PT/Butter(master) too. Will take a look at Butter next-gen. Thanks