Skip to content

Instantly share code, notes, and snippets.

@mikew
Last active December 28, 2015 15:29
Show Gist options
  • Save mikew/7522073 to your computer and use it in GitHub Desktop.
Save mikew/7522073 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Inspired by user rlively
# http://forums.plexapp.com/index.php/user/82346-rlively/
while true; do
clear
curl -s http://127.0.0.1:32400/video/ssp/downloads | grep options-for-current | sed -n 's/.*title="\([^"]*\).*/\1/p'
sleep 2
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment