Sheraff / tvshows-alfred-workflow

manage your favorite shows with Alfred App
18 stars 1 forks source link

Won't stream if 8888 port is busy #6

Open Sheraff opened 9 years ago

Sheraff commented 9 years ago

We should find an available host:port pair to feed peerflix, it doesn't handle well finding it on it's own if 127.0.0.1:8888 is busy.

ghost commented 9 years ago

How do you find out what process is using port 8888?

Sheraff commented 9 years ago

IDK. But you can use netstat -aln | awk '$6 == "LISTEN" && $4 ~ "8888$"' to check if it's available (won't output anything if it's available)

ghost commented 9 years ago

Ah.. Thanks for the work regardless! And just to clarify, the issue you are mentioning is indeed the same one as I'm getting here? http://puu.sh/dD77d/f78fa8b8a4.png

Sheraff commented 9 years ago

I'm not 100% sure. I've been getting this error with vlc. My advice would be to install mpv player. It gives a superior video quality anyway... brew install mpv --HEAD