Exemplo n.º 1
0
def viewClips(url):
  """
  Displays the latest clips for a program
  """
  clips = svt.getClips(url)
  if not clips:
    helper.errorMsg("No clips found!")
    return

  for clip in clips:
    createDirItem(clip, MODE_VIDEO)
Exemplo n.º 2
0
def viewClips(url):
    """
  Displays the latest clips for a program
  """
    clips = svt.getClips(url)
    if not clips:
        helper.errorMsg("No clips found!")
        return

    for clip in clips:
        createDirItem(clip, MODE_VIDEO)
Exemplo n.º 3
0
def viewEpisodes(url):
  """
  Displays the episodes for a program with URL 'url'.
  """
  episodes = svt.getEpisodes(url)
  if not episodes:
    helper.errorMsg("No episodes found!")
    return

  for episode in episodes:
    createDirItem(episode, MODE_VIDEO)
Exemplo n.º 4
0
def viewEpisodes(url):
    """
  Displays the episodes for a program with URL 'url'.
  """
    episodes = svt.getEpisodes(url)
    if not episodes:
        helper.errorMsg("No episodes found!")
        return

    for episode in episodes:
        createDirItem(episode, MODE_VIDEO)