Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on run
- 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"}
- set monurl to ""
- if choix is {"France 2"} then
- set monurl to "http://94.247.234.2/streaming/francetv_ft2/ipad.m3u8"
- end if
- if choix is {"France 3"} then
- set monurl to "http://94.247.234.2/streaming/francetv_ft3/ipad.m3u8"
- end if
- if choix is {"France 4"} then
- set monurl to "http://94.247.234.2/streaming/francetv_ft4/ipad.m3u8"
- end if
- if choix is {"France 5"} then
- set monurl to "http://94.247.234.4/streaming/francetv_ft5/ipad.m3u8"
- end if
- if choix is {"France O"} then
- set monurl to "http://94.247.234.4/streaming/francetv_fto/ipad.m3u8"
- end if
- if choix is {"M6"} then
- set monurl to "http://m6-hls-live.adaptive.level3.net/apple/m6replay_iphone/m6live/m6live_ipad.m3u8"
- end if
- if choix is {"W9"} then
- set monurl to "http://m6-hls-live.adaptive.level3.net/apple/m6replay_iphone/m6live/w9live.m3u8"
- end if
- if choix is {"NRJ 12"} then
- set monurl to "http://nrj-apple-live.adaptive.level3.net/apple/nrj/nrj/nrj12.m3u8"
- end if
- if choix is {"Direct Star"} then
- set monurl to "http://cupertino-streaming-1.hexaglobe.com/rtpdirectstarlive/smil:directstar-ipad.smil/playlist.m3u8"
- end if
- if choix is {"France 24"} then
- set monurl to "http://stream7.france24.yacast.net/iphone/france24/fr/iPad.f24_fr.m3u8"
- end if
- if choix is {"BFM"} then
- set monurl to "http://http5.iphone.yacast.net/iphone/bfmtv/bfmtv_ipad.m3u8"
- end if
- if choix is {"BFM business"} then
- set monurl to "http://stream7.bfmbiz.yacast.net/iphone/bfmbiz/bfmbiz_live01.m3u8"
- end if
- if choix is {"NRJ pop rock"} then
- set monurl to "http://nrjlive-apple-live.adaptive.level3.net/apple/nrj/nrjlive-4/appleman.m3u8"
- end if
- if choix is {"NRJ pure"} then
- set monurl to "http://nrjlive-apple-live.adaptive.level3.net/apple/nrj/nrjlive-3/appleman.m3u8"
- end if
- if choix is {"NRJ dance"} then
- set monurl to "http://nrjlive-apple-live.adaptive.level3.net/apple/nrj/nrjlive-2/appleman.m3u8"
- end if
- if choix is {"NRJ urban"} then
- set monurl to "http://nrjlive-apple-live.adaptive.level3.net/apple/nrj/nrjlive-1/nrjurban.m3u8"
- end if
- if monurl ≠ "" then
- tell application "QuickTime Player"
- activate
- open URL monurl
- end tell
- end if
- end run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement