Skip to content

Instantly share code, notes, and snippets.

@kktuax
Created January 15, 2017 21:59
Show Gist options
  • Save kktuax/dd34346f28f7be933d05f72a2870b10d to your computer and use it in GitHub Desktop.
Save kktuax/dd34346f28f7be933d05f72a2870b10d to your computer and use it in GitHub Desktop.
#!/bin/bash
alias pfx='peerflix -c 15 -r'
alias opfx='omxplayer -o both http://localhost:8888/'
alias opfxs='opfx --subtitles "$(find /tmp -name "*.srt" -type f -printf "%Ts %p\n" | sort -n | tail -1 | sed -r -e "s/^[0-9]+ //")"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment