Hello !
Thanks for your answer, it might be worth trying.
At first I wanted to import openob in my python project, configure the
different objects (audio_interface, link, node) and run the link from the
program, with full control on it.
The scheme was:
- Creating an OpenOB object with the config args, so it configures itself
- Moving it in a thread (my program runs on PyQt5)
- Run the link in the Object when I click on a button
- Stop it when I click on a button
That was this last part I struggled with. I couldn't figure out how to stop
it, maybe I missed an easy way to do it.
*Aurélien Lorence*
*Technicien*
--
<http://www.c-lab.fr/>*Place du Recteur Henri Le Moal* | *35043 Rennes
Cedex*
Tel: *02 99 14 19 64 *|
www.c-lab.fr *| 88.4 FM | *Newsletter #11
<https://bit.ly/2K83S0u>
<https://twitter.com/RadioClab> <https://www.facebook.com/RadioClab/>
<https://www.instagram.com/radioclab/>
* Afin de contribuer au respect de l'environnement, merci de n'imprimer ce
courriel que si nécessaire.*
Le jeu. 25 juin 2020 à 06:10, stinga <stinga(a)wolf-rock.com> a écrit :
On 24/06/2020 21:18, Aurélien Lorence wrote:
I'm currently working on a project which
integrates OpenOB in a python
program. I have a "start" button to run a link in a thread. Is there
any way to stop the link without exiting the whole program.
I tried to implement this in the code, but the node keeps restarting
when shut down.
G'day,
Not quite sure what the issue is.
AH... I think you are trying to start/stop openob without stopping the
controlling program.
I took the easy option and used systemd to stop/start and just called
systemctl to do the heavy work.
https://github.com/st1nga/talkback
may help (not in use and not really finished, but I think it works) I
think there maybe a config file missing, let me know if there is and I
can update the git.
--
'ooroo
Stinga...(:)-)
---------------------------------------------------
Email: stinga(a)wolf-rock.com o
You need only two tools. o /////
A hammer and duct tape. If it /@ `\ /) ~
doesn't move and it should use > (O) X< ~ Fish!!
the hammer. If it moves and `\___/' \) ~
shouldn't, use the tape. \\\
---------------------------------------------------
_______________________________________________
openob-users mailing list -- openob-users(a)lists.talkunafraid.co.uk
To unsubscribe send an email to
openob-users-leave(a)lists.talkunafraid.co.uk