Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

NHL Streams AppleScript

By: a guest on Nov 8th, 2013  |  syntax: AppleScript  |  size: 0.32 KB  |  hits: 424  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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