示例#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)
示例#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)
示例#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)
示例#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)