Skip to content

Instantly share code, notes, and snippets.

@isamert
Created August 29, 2017 22:15
Show Gist options
  • Save isamert/a06b83fe986f755bbe6af46f9fb18b87 to your computer and use it in GitHub Desktop.
Save isamert/a06b83fe986f755bbe6af46f9fb18b87 to your computer and use it in GitHub Desktop.
#!/bin/bash
#
# Start VLC with TraktForVLC. It automatically quits TraktForVLC when VLC is closed.
#
python ~/.local/apps/TraktForVLC/TraktForVLC.py & export TRAKTPID=$!
/usr/bin/vlc --extraintf=rc --rc-host=localhost:4222 --started-from-file "$*"
kill $TRAKTPID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment