'Get the friends list of the server owner for Plex.tv.'

@cherrypy.expose
@cherrypy.tools.json_out()
@requireAuth(member_of('admin'))
def get_friends_list(self, **kwargs):

    plex_tv = plextv.PlexTV()
    result = plex_tv.get_plextv_friends('json')
    if result:
        return result
    else:
        logger.warn(u'Unable    to    retrieve    data    for    get_friends_list.')
