Advertisement
jabounet

TV sur Mac

Oct 30th, 2011
24,538
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on run
  2.     set choix to choose from list {"France 2", "France 3", "France 4", "France 5", "France O", "M6", "W9", "NRJ 12", "Direct Star", "France 24", "BFM", "BFM business", "NRJ pop rock", "NRJ pure", "NRJ dance", "NRJ urban"}
  3.    
  4.     set monurl to ""
  5.     if choix is {"France 2"} then
  6.         set monurl to "http://94.247.234.2/streaming/francetv_ft2/ipad.m3u8"
  7.     end if
  8.    
  9.     if choix is {"France 3"} then
  10.         set monurl to "http://94.247.234.2/streaming/francetv_ft3/ipad.m3u8"
  11.     end if
  12.    
  13.     if choix is {"France 4"} then
  14.         set monurl to "http://94.247.234.2/streaming/francetv_ft4/ipad.m3u8"
  15.     end if
  16.    
  17.     if choix is {"France 5"} then
  18.         set monurl to "http://94.247.234.4/streaming/francetv_ft5/ipad.m3u8"
  19.     end if
  20.    
  21.     if choix is {"France O"} then
  22.         set monurl to "http://94.247.234.4/streaming/francetv_fto/ipad.m3u8"
  23.     end if
  24.    
  25.     if choix is {"M6"} then
  26.         set monurl to "http://m6-hls-live.adaptive.level3.net/apple/m6replay_iphone/m6live/m6live_ipad.m3u8"
  27.     end if
  28.    
  29.     if choix is {"W9"} then
  30.         set monurl to "http://m6-hls-live.adaptive.level3.net/apple/m6replay_iphone/m6live/w9live.m3u8"
  31.     end if
  32.    
  33.     if choix is {"NRJ 12"} then
  34.         set monurl to "http://nrj-apple-live.adaptive.level3.net/apple/nrj/nrj/nrj12.m3u8"
  35.     end if
  36.    
  37.     if choix is {"Direct Star"} then
  38.         set monurl to "http://cupertino-streaming-1.hexaglobe.com/rtpdirectstarlive/smil:directstar-ipad.smil/playlist.m3u8"
  39.     end if
  40.     if choix is {"France 24"} then
  41.         set monurl to "http://stream7.france24.yacast.net/iphone/france24/fr/iPad.f24_fr.m3u8"
  42.     end if
  43.    
  44.     if choix is {"BFM"} then
  45.         set monurl to "http://http5.iphone.yacast.net/iphone/bfmtv/bfmtv_ipad.m3u8"
  46.     end if
  47.    
  48.     if choix is {"BFM business"} then
  49.         set monurl to "http://stream7.bfmbiz.yacast.net/iphone/bfmbiz/bfmbiz_live01.m3u8"
  50.     end if
  51.    
  52.     if choix is {"NRJ pop rock"} then
  53.         set monurl to "http://nrjlive-apple-live.adaptive.level3.net/apple/nrj/nrjlive-4/appleman.m3u8"
  54.     end if
  55.    
  56.     if choix is {"NRJ pure"} then
  57.         set monurl to "http://nrjlive-apple-live.adaptive.level3.net/apple/nrj/nrjlive-3/appleman.m3u8"
  58.     end if
  59.    
  60.     if choix is {"NRJ dance"} then
  61.         set monurl to "http://nrjlive-apple-live.adaptive.level3.net/apple/nrj/nrjlive-2/appleman.m3u8"
  62.     end if
  63.    
  64.     if choix is {"NRJ urban"} then
  65.         set monurl to "http://nrjlive-apple-live.adaptive.level3.net/apple/nrj/nrjlive-1/nrjurban.m3u8"
  66.     end if
  67.    
  68.     if monurl ≠ "" then
  69.         tell application "QuickTime Player"
  70.             activate
  71.             open URL monurl
  72.         end tell
  73.     end if
  74.    
  75. end run
  76.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement