'Get a specified PMS server preference.
Required parameters:
pref (str):         Name of preference
Returns:
string:             Value of preference'

@cherrypy.expose
@requireAuth(member_of('admin'))
@addtoapi()
def get_server_pref(self, pref=None, **kwargs):

    pms_connect = pmsconnect.PmsConnect()
    result = pms_connect.get_server_pref(pref=pref)
    if result:
        return result
    else:
        logger.warn(u'Unable    to    retrieve    data    for    get_server_pref.')
