Skip to content
/ sync Public

Synchronize audio and video between friends! Supports HTML5 video, YouTube, and Vimeo

Notifications You must be signed in to change notification settings

wetfish/sync

Repository files navigation

Wetfish Sync v0.2

Synchronize HTML5 audio and video between friends!

Prerequisite Packages

  • ffmpeg and ffprobe, Sync uses shell commands in order to determine the length of audio and video files

How to use

  • clone the repository
  • cd sync
  • npm install
  • copy .env.example to .env and edit it to suit your needs
  • place mp4,ogv,mp3,flac,oga,wav,webm, or ogg files within /public/media. Files will be played in lexicographic order. A simple way to ensure they are played in the desired order is to prefix the name with a number, e.g. to play foo.mp4 before bar.webm, you would name them 01_foo.mp4 and 02_bar.webm.
  • npm start

M3U support

-in order to use an m3u file feature simply start sync like this 'npm run start -- --m3u=/path/to/playlist.m3u' or node server.js --m3u="path/to/playlist.m3u8" where root is the public folder.

-the m3u file can be located anywhere on the system, however the files it refrences must be in the public directory. otherwise you'll have a black screen, and a file name that says it's playing on the server backend.

-.webm and .ogg are unsupported filetypes if using the m3u option.

About

Synchronize audio and video between friends! Supports HTML5 video, YouTube, and Vimeo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published