Advertisement
JUNIORCEDE1

Untitled

Sep 14th, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.69 KB | None | 0 0
  1. function playHandler()
  2.      ra = guiGridListGetItemText ( lista, guiGridListGetSelectedItem ( lista ), 1 )
  3.      texto = guiGetText(url)
  4.     if ra == "Radio Genesis" then
  5.         Sound = playSound("http://stream5.eltelon.com/genesis-andacollo.aac")
  6.     elseif ra == "Carolina FM 99.3" then
  7.         Sound = playSound("http://tunein.digitalproserver.com/carolinafmbb.aac")
  8.     elseif ra == "Netrock101" then
  9.         Sound = playSound("http://listen.radionomy.com/netrock101theanimal.m3u")
  10.     elseif ra == "ElectricFM" then
  11.         Sound = playSound("http://www.electricfm.com/stream.pls")
  12.     elseif ra == "ChartHits.FM" then
  13.         Sound = playSound("http://95.141.24.3/listen.pls")
  14.     elseif ra == "FMDOS" then
  15.         Sound = playSound("http://provisioning.streamtheworld.com/pls/FMDOS.pls")
  16.     elseif ra == "Activa Dance" then
  17.         Sound = playSound("http://streaming.radionomy.com/zonaactiva")
  18.     elseif ra == "Panoramix" then
  19.         Sound = playSound("http://streaming.radionomy.com/PanoramixRadioStation")
  20.     elseif ra == "AYFMRadioDisney" then
  21.         Sound = playSound("http://streaming.radionomy.com/AYFMRadioDisney")
  22.     elseif ra == "Radio Gaviota" then
  23.         Sound = playSound("http://charlesescobar.com:8000/gaviota")
  24.     elseif ra == "HIP HOP Radio" then
  25.         Sound = playSound("http://mp3uplink.duplexfx.com:8054/listen.pls")
  26.     elseif ra == "Drumstep" then
  27.         Sound = playSound("http://95.168.216.197:8555")
  28.     elseif ra == "Pop/Dance" then
  29.         Sound = playSound("http://193.34.51.81:80")
  30.     elseif ra == "Char hits" then
  31.         Sound = playSound("http://95.141.24.41:80")
  32.     elseif ra == "Reggae" then
  33.         Sound = playSound("http://184.107.197.154:8002")
  34.     elseif ra == "Metal" then
  35.         Sound = playSound("http://listen.rockradio.com/public3/metal.pls")
  36.     elseif ra == "Heavy Metal" then
  37.         Sound = playSound("http://listen.rockradio.com/public3/heavymetal.pls")
  38.     elseif ra == "Radio Oxigeno" then
  39.         Sound = playSound("http://provisioning.streamtheworld.com/pls/OXIGENO.pls")
  40.     elseif ra == "La Vallenta" then
  41.         Sound = playSound("http://provisioning.streamtheworld.com/pls/VALLENATA_PRISA.pls")
  42.     elseif ra == "CARACOL RADIO" then
  43.         Sound = playSound("http://provisioning.streamtheworld.com/pls/CARACOL_RADIO.pls")
  44.     elseif ra == "La Mega" then
  45.         Sound = playSound("http://live1.rcnmundo.com/lamega.mp3")
  46.     elseif ra == "40 Principales (Ecuador)" then
  47.         Sound = playSound("http://184.154.137.162:9038")
  48.     elseif ra == "40 Principales (Colombia)" then
  49.         Sound = playSound("http://provisioning.streamtheworld.com/pls/LOS40_COLUMBIAAAC.pls")
  50.     elseif ra == "40 Principales (Argentina)" then
  51.         Sound = playSound("http://provisioning.streamtheworld.com/pls/LOS40_ARGENTINA.pls")
  52.     elseif ra == "40 Principales (Mexico)" then
  53.         Sound = playSound("http://provisioning.streamtheworld.com/pls/LOS40_MEXICOAAC.pls")
  54.     elseif ra == "Azul FM 100.9" then
  55.         Sound = playSound("http://195.154.217.185:9982")
  56.     elseif ra == "Radio Disney (Ecuador)" then
  57.         Sound = playSound("http://www.ecuadorstreaming.net:7100/listen.pls")
  58.     elseif ra == "Radio Disney (Argentina)" then
  59.         Sound = playSound("http://www.ecuadorstreaming.net:7100/listen.pls")
  60.     elseif ra == "Heavy Metal Maniacs" then
  61.         Sound = playSound("http://streaming208.radionomy.com:80/heavymetalmaniacs")
  62.     elseif ra == "Rock Latino Radio" then
  63.         Sound = playSound("http://listen.radionomy.com/rocklatinoradio.m3u")
  64.     elseif ra == "Latin Rock (Ecuador)" then
  65.         Sound = playSound("http://streaming.radionomy.com/LatinRock")
  66.     elseif ra == "URL" then
  67.             Sound = playSound(texto)
  68.             ra="tu radio"
  69.     end
  70.     Music = true
  71.     if Sound then
  72.         outputChatBox("Iniciando musica. Estas escuchando "..ra.." !", 0, 255, 0)
  73.     else
  74.         outputChatBox("No se puede iniciar la musica!", 255, 0, 0)
  75.     end
  76.     guiSetProperty(Reproducir,"Disabled","True")
  77.     guiSetProperty(Detener,"Disabled","False")
  78. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement