recorder-mx-py

[MIRROR of https://git.nordgedanken.dev/mtrnord/matrix-call-multitrack-recorder/] A tool to record every participant of a legacy or new matrix, call to separate audio and video files.
git clone git://archive.git.mtrnord.blog/MTRNord/recorder-mx-py.git
Log | Files | Refs | README | LICENSE

commit d23b54a772bc133eab09ba681d9eca01d968ae1d
parent 13335ca18e6c5f3329b19141db3a39bff650d26c
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 29 Jan 2023 18:26:09 +0100

Say when recording was stopped

Diffstat:
Mmatrix_call_multitrack_recorder/bot.py | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/matrix_call_multitrack_recorder/bot.py b/matrix_call_multitrack_recorder/bot.py @@ -108,6 +108,15 @@ class RecordingBot: ) elif event.body.startswith("!stop"): await self.recorder.leave_call(room) + await self.client.room_send( + room.room_id, + "m.room.message", + { + "msgtype": "m.notice", + "body": "Recording stopped", + }, + ignore_unverified_devices=True, + ) elif event.body.startswith("!start"): await self.recorder.join_call(room)