It’s a pretty simple command line…
osascript -e{'set text item delimiters to linefeed','tell app"google chrome"to url of tabs of windows as text'} | grep -E 'www.bbc.co.uk/programme|www.bbc.co.uk/iplayer/episode' | xargs -t -n1 get_iplayer --pid-recursive
Continue reading