content: sub Main()
  
      reg = CreateObject("roRegistrySection", "profile")
      if reg.Exists("primaryfeed") then
          url = reg.Read("primaryfeed")
      else
          url = "https://raw.githubusercontent.com/MURYLLOZ/LISTA/refs/heads/main/iptv.m3u"
      end if
  
      screen = CreateObject("roSGScreen")
      m.port = CreateObject("roMessagePort")
      screen.setMessagePort(m.port)
      m.global = screen.getGlobalNode()
      m.global.addFields({feedurl: url})
      scene = screen.CreateScene("MainScene")
      screen.show()
  
      while(true) 
          msg = wait(0, m.port)
          msgType = type(msg)
          print "msgTYPE >>>>>>>>"; type(msg)
          if msgType = "roSGScreenEvent"
              if msg.isScreenClosed() then return
          end if
      end while
      
  end sub
  