docs: def display_video(items):
      '''Prints a message for a playing video and displays the parent
      listitem.
      '''
      parent_item, played_item = items
  
      title_line = 'Playing Media %s (%s)' % (played_item.get_label(),
                                              played_item.get_path())
      parent_line = '[0] %s (%s)' % (parent_item.get_label(),
                                     parent_item.get_path())
      line_width = get_max_len([title_line, parent_line])
  
      output = [
          '-' * line_width,
          title_line,
          '-' * line_width,
          parent_line,
      ]
      print '\n'.join(output)