'Get all your servers that are published to Plex.tv.
Required parameters:
None
Optional parameters:
None
Returns:
json:
[{"clientIdentifier": "ds48g4r354a8v9byrrtr697g3g79w",
"httpsRequired": "0",
"ip": "xxx.xxx.xxx.xxx",
"label": "Winterfell-Server",
"local": "1",
"port": "32400",
"value": "xxx.xxx.xxx.xxx"'

@cherrypy.expose
@cherrypy.tools.json_out()
@requireAuth(member_of('admin'))
@addtoapi('get_server_list')
def discover(self, token=None, **kwargs):

    if token:
        plexpy.CONFIG.__setattr__('PMS_TOKEN', token)
        plexpy.CONFIG.write()
    plex_tv = plextv.PlexTV()
    servers = plex_tv.discover()
    if servers:
        return servers
