'Sets the priority of a torrent that exists in the client
params: :result: an instance of the searchResult class'

def _set_torrent_priority(self, result):

    if (not result.priority):
        return True
    params = {u'action': u'queuetop', u'hash': result.hash}
    return self._request(params=params)
