'Refresh the PlexPy libraries list.'

def refresh_libraries_list(self, **kwargs):

    data = pmsconnect.refresh_libraries()
    self._api_result_type = ('success' if data else 'error')
    return data
