def print_plugins():
 pluginlist = list(livestreamer.get_plugins().keys())
 pluginlist_formatted = ', '.join(sorted(pluginlist))
 if console.json:
  console.msg_json(pluginlist)
 else:
  console.msg('Loaded plugins: {0}', pluginlist_formatted)

def print_plugins ( ) : pluginlist = list ( livestreamer . get_plugins ( ) . keys ( ) ) pluginlist_formatted = ', ' . join ( sorted ( pluginlist ) ) if console . json : console . msg_json ( pluginlist ) else : console . msg ( 'Loaded plugins: {0}' , pluginlist_formatted )
outputs a list of all plugins livestreamer has loaded .