Skip to content

Instantly share code, notes, and snippets.

@edalquist
Last active March 5, 2016 05:00
Show Gist options
  • Save edalquist/4fcce823c1092bf3a257 to your computer and use it in GitHub Desktop.
Save edalquist/4fcce823c1092bf3a257 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Download & Install miniconda
curl -O https://repo.continuum.io/miniconda/Miniconda-latest-MacOSX-x86_64.sh
bash Miniconda-latest-MacOSX-x86_64.sh -bf
# Most macs use .profile not .bash_profile and having both breaks things
echo "" >> ~/.profile
echo "export PATH=\"/Users/$USER/miniconda2/bin:\$PATH\"" >> ~/.profile
. ~/.profile
# Install the required python packages
conda create -y -n syncplay python pyside pip
source activate syncplay
conda install -y qt
# Download SyncPlay
pip install twisted
git clone https://github.com/Syncplay/syncplay
# Open and then Close VLC before this
echo "Please Close VLC After it Opens"
open -W /Applications/VLC.app
# Install VLC control script
cp syncplay/resources/lua/intf/syncplay.lua /Applications/VLC.app/Contents/MacOS/share/lua/intf/
#!/bin/bash
. ~/.profile
source activate syncplay
cd syncplay
./syncplayClient.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment