text: from xbmcswift2 import Plugin, xbmcgui
  from resources.lib import mainaddon
  
  plugin = Plugin()
  url1 = "https://www.alternativeradio.org/arpodcast.xml"
  @plugin.route('/')
  def main_menu():
      items = [
          {
              'label': plugin.get_string(30001), 
              'path': plugin.url_for('episodes1'),
              'thumbnail': "https://is1-ssl.mzstatic.com/image/thumb/Podcasts/v4/6a/d7/87/6ad7875f-6468-f4d4-0d1c-f2cfdf7b7d5d/mza_8926845998407378799.jpg/600x600bb.jpg"},
          {
              'label': plugin.get_string(30000),
              'path': plugin.url_for('episodes'),
              'thumbnail': "https://is1-ssl.mzstatic.com/image/thumb/Podcasts/v4/6a/d7/87/6ad7875f-6468-f4d4-0d1c-f2cfdf7b7d5d/mza_8926845998407378799.jpg/600x600bb.jpg"},
      ]
      return items
  
  @plugin.route('/episodes1/')
  def episodes1():
      soup1 = mainaddon.get_soup1(url1)
      playable_podcast1 = mainaddon.get_playable_podcast1(soup1)
      items = mainaddon.compile_playable_podcast1(playable_podcast1)
      return items
  
  @plugin.route('/episodes/')
  def episodes():
      soup1 = mainaddon.get_soup1(url1)
      playable_podcast = mainaddon.get_playable_podcast(soup1)
      items = mainaddon.compile_playable_podcast(playable_podcast)
      return items
  
  if __name__ == '__main__':
      plugin.run()
  