Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ users get is what was reviewed.
| [simplestream](https://github.com/TrunkRecorder/trunk-plugin-simplestream) | official | Streams the audio of calls as they're recorded, over UDP or TCP |
| [Upload script](https://github.com/TrunkRecorder/trunk-plugin-upload-script) | official | Runs a script of yours on each recorded call, as Trunk Recorder's uploadScript does |
| [MQTT](https://github.com/TrunkRecorder/trunk-plugin-mqtt) | official | Publishes calls, unit activity and system status to an MQTT broker, in the format of Trunk Recorder's MQTT Status plugin |
| [Notifications](https://github.com/TrunkRecorder/trunk-plugin-notify) | official | Sends a notification when it hears a signal or tone, an emergency, or a new talkgroup or radio: to Discord, Slack, ntfy, a webhook or a command |

To write a plugin, start from the
[plugin template](https://github.com/TrunkRecorder/trunk-plugin-template).
Expand Down
30 changes: 30 additions & 0 deletions index.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,36 @@
}
}
},
{
"id": "notify",
"name": "Notifications",
"description": "Notifications: rules over what the recorder hears (signals, tones, emergencies, new talkgroups and radios), sent to webhooks (Discord, Slack, ntfy, JSON) and commands.",
"repository": "https://github.com/TrunkRecorder/trunk-plugin-notify",
"license": "GPL-3.0-or-later",
"tier": "official",
"version": "0.2.1",
"api": 1,
"tag": "v0.2.1",
"commit": "d28db17cf0e0c6f474f83a9bc92606979a1684e8",
"assets": {
"x86_64-unknown-linux-gnu": {
"url": "https://github.com/TrunkRecorder/trunk-plugin-notify/releases/download/v0.2.1/notify-0.2.1-x86_64-unknown-linux-gnu.tar.gz",
"sha256": "56e835313755487082d1717ee24f68e6bff24f90915c2d220a173a9aa0c4c584"
},
"aarch64-unknown-linux-gnu": {
"url": "https://github.com/TrunkRecorder/trunk-plugin-notify/releases/download/v0.2.1/notify-0.2.1-aarch64-unknown-linux-gnu.tar.gz",
"sha256": "351569eba0fd832ebdf796657d031102bc130622820701e6ffa0cae5ff1c1a19"
},
"universal-apple-darwin": {
"url": "https://github.com/TrunkRecorder/trunk-plugin-notify/releases/download/v0.2.1/notify-0.2.1-universal-apple-darwin.tar.gz",
"sha256": "6ca8286bdc2a25b2f94f1eb638b72276d4437434f61327d80524f88d1d168bf6"
},
"x86_64-pc-windows-msvc": {
"url": "https://github.com/TrunkRecorder/trunk-plugin-notify/releases/download/v0.2.1/notify-0.2.1-x86_64-pc-windows-msvc.zip",
"sha256": "e8b5fb2bacb93d667a9e2a5c4d433c9bd0e77987dfb9efd6b19ca71b055eec09"
}
}
},
{
"id": "openmhz",
"name": "OpenMHz",
Expand Down
30 changes: 30 additions & 0 deletions plugins/notify.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"id": "notify",
"name": "Notifications",
"description": "Notifications: rules over what the recorder hears (signals, tones, emergencies, new talkgroups and radios), sent to webhooks (Discord, Slack, ntfy, JSON) and commands.",
"repository": "https://github.com/TrunkRecorder/trunk-plugin-notify",
"license": "GPL-3.0-or-later",
"tier": "official",
"version": "0.2.1",
"api": 1,
"tag": "v0.2.1",
"commit": "d28db17cf0e0c6f474f83a9bc92606979a1684e8",
"assets": {
"x86_64-unknown-linux-gnu": {
"url": "https://github.com/TrunkRecorder/trunk-plugin-notify/releases/download/v0.2.1/notify-0.2.1-x86_64-unknown-linux-gnu.tar.gz",
"sha256": "56e835313755487082d1717ee24f68e6bff24f90915c2d220a173a9aa0c4c584"
},
"aarch64-unknown-linux-gnu": {
"url": "https://github.com/TrunkRecorder/trunk-plugin-notify/releases/download/v0.2.1/notify-0.2.1-aarch64-unknown-linux-gnu.tar.gz",
"sha256": "351569eba0fd832ebdf796657d031102bc130622820701e6ffa0cae5ff1c1a19"
},
"universal-apple-darwin": {
"url": "https://github.com/TrunkRecorder/trunk-plugin-notify/releases/download/v0.2.1/notify-0.2.1-universal-apple-darwin.tar.gz",
"sha256": "6ca8286bdc2a25b2f94f1eb638b72276d4437434f61327d80524f88d1d168bf6"
},
"x86_64-pc-windows-msvc": {
"url": "https://github.com/TrunkRecorder/trunk-plugin-notify/releases/download/v0.2.1/notify-0.2.1-x86_64-pc-windows-msvc.zip",
"sha256": "e8b5fb2bacb93d667a9e2a5c4d433c9bd0e77987dfb9efd6b19ca71b055eec09"
}
}
}
2 changes: 1 addition & 1 deletion tools/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
TIERS = {"official", "community"}
# Only plugins in this GitHub organization can be official.
OFFICIAL_OWNER = "TrunkRecorder"
TOPICS = {"call.start", "call.end", "call.concluded", "unit", "audio", "status"}
TOPICS = {"call.start", "call.end", "call.concluded", "unit", "audio", "status", "tone_pattern"}
FORMATS = {"m4a"}

# An entry's fields, in the order they're written. homepage is optional.
Expand Down
Loading