Maybe you can change this api to be able to pass an infohash if we don't have a gui_torrent.
E.g. def addTorrentToQueue(self, infohash, gui_torrent=None)