butter-desktop
butter-desktop copied to clipboard
Headless Server mode
First, great project and I'm really excited about it. However there is one thing that is a personal show-stopper for me - butter is a desktop app. I would really love to see the Plex client-server architecture. Is there a plan to decouple core from views and wrap only the views in nw/electron? This way the core could be run in another machine, advertise itself via bonjour/mdns/zeroconf/whatever and different clients (desktop/iOS/Android) find it and use it as a server. I see there is a "Remote Control" section in Settings. What is the idea there?
currently there is no plan as we lack man power, but i'd love to see that happen. that said it's going to be much easier once we cleanup and move to react views.
Let's hope this will happen. I really think client-server is the right architecture for such project, especially in 2016. What is the "Remote Control" section in Settings?
the remote control is currently half broken, but it's a JSON-RPC server. In the past, android, iOS and web remotes have been developped for butter.
It basically gives you a remote API to control butter from that API instead of keyboard/mouse, with calls such as "select cover", "watch trailer", "change subtitle", etc.
So we kinda already have the communication part! :)
it only exchanges JSON though, so you might adapt it to exchange metadata and streaming links to the server, but atm you still need to "see" Butter to know what you're doing with the remote. It was designed to allow to control butter from your smartphone while mirroring the screen to your TV.
I was just looking for such an issue. Love to see this implemented. I may look into this, to contribute some parts :)
@Wouter0100 please do, currently all is done though the backbone messaging api, if you properly forward all App.vent.trigger() between client and server it (should?) work flawlessly.
I would be interested in this as well. Also, there is already yify-pop, which tries to solve just this problem.