SHARE
TWEET

NHL Streams AppleScript

a guest Nov 8th, 2013 464 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on run
  2.        
  3.         set streamURL to ""
  4.         try
  5.                 set streamURL to text returned of (display dialog "Enter stream url:" default answer "")
  6.                 do shell script "/Applications/VLC.app/Contents/MacOS/VLC -vvv " & streamURL & " :http-user-agent=\"AppleCoreMedia/1.0.0.8C148 (iPad; U; CPU OS 4_2_1 like Mac OS X; en_us)\""
  7.         end try
  8.        
  9. end run
RAW Paste Data
Top