Giter VIP home page Giter VIP logo

synco's Introduction

synco

Watch anime (or anything else!) together with friends over network!

Usage:

  1. Install go, setup GOBIN environment variable. You will need mpv. Alternatively, you could use gobin to install the package.
go get github.com/derlaft/synco/cmd/synco_server
go get github.com/derlaft/synco/cmd/synco_client
  1. Run server.
synco_server -listen 0.0.0.0:4042
  1. Setup client. Configuration is done via environment variables:
  • SYNCO_ID is a unique client ID
  • SYNCO_SERVER is server addr
SYNCO_ID=der SYNCO_SERVER=example.com:4042 synco_client filename.mpv
  1. Press F1 to change your readiness. Once everybody is ready playback will be started.

Known issues

  • On certain files it is not possible to scroll precisely. Currently such files make synco a little bit crazy and might cause playback loops.

synco's People

Contributors

derlaft avatar l-as avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

abiong l-as

synco's Issues

Client time check is not implemented

Steps to reproduce:

  • Start two clients
  • Start playback
  • Disable network on one of the clients

Current behavior:

  • Offline client continues playback
  • Online client stops

Wanted behavior:

  • Both clients stop

eof, stopped parse proc: should only happen on mpv termination

Hey, so I set everything up according to the readme (although I did have some trouble with the concept of helper.lua, for now ive cloned the repository and set the path for helper.lua inside the synco_client directory.
The errors I'm receiving are,
On the server:
command: ./synco_server 127.0.0.1:4042
output: "2020/06/17 23:26:57 Client 1234 registered
2020/06/17 23:26:57 rpc error: code = Canceled desc = context canceled
2020/06/17 23:26:57 Client 1234 deregistered"
On client:
command: ./go/bin/synco_client /mnt/hgfs/Shared/testfiles/test1.mp4
output: 2020/06/17 23:30:19 eof
2020/06/17 23:30:19 stopped parse proc: should only happen on mpv termination
Any help would be appreciated. Thanks.
Screenshot (11)

Missing documentation

Hey, this might be interesting solution you've got here, but there is no documentation on how to use it.
Could you please, for starters, put up some idea on how to build and run Synco ?
Thank you a lot!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.