eusi / TwitchStreamer-Alfred-Workflow

Check who is Streaming on twitch.tv and watch your favorite Stream via LiveStreamer on VLC.
20 stars 6 forks source link

1.75 (a few enhancements) #10

Closed vitorgalvao closed 8 years ago

vitorgalvao commented 8 years ago

Apologies if any of my changes were out-of-line (like changing the version which likely should be done by yourself or submitting the .alfredworkflow), but since there’s no CONTRIBUTING.md, I’m not sure how you prefer contributions. I tried following your style.

Naturally, if you want only part of the changes, tell me which and I’ll make the modifications.

This change:

Here’s how it looks now:

screen shot 2016-10-03 at 17 30 59

and the Run Script:

PATH="/usr/local/bin:$PATH"

if [ `which livestreamer` ]; then
  livestreamer --http-header Client-ID=pq1763hfd37807lw0z8pqum3isqr4hd {query} high
elif [ `which mpv` ]; then
  mpv {query}
fi