{"id":16779601,"url":"https://github.com/mikolak-net/ts-plugin-voiceaction","last_synced_at":"2025-04-10T20:52:37.734Z","repository":{"id":24748972,"uuid":"28161692","full_name":"mikolak-net/ts-plugin-voiceaction","owner":"mikolak-net","description":"TeamSpeak silence- and voice-detecting plugin that can run a custom command (e.g. music pause/play).","archived":false,"fork":false,"pushed_at":"2017-11-28T19:51:42.000Z","size":6,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T18:21:29.972Z","etag":null,"topics":["lua","plugin","teamspeak"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikolak-net.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-18T00:30:05.000Z","updated_at":"2017-11-10T08:13:56.000Z","dependencies_parsed_at":"2022-07-24T02:32:16.677Z","dependency_job_id":null,"html_url":"https://github.com/mikolak-net/ts-plugin-voiceaction","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolak-net%2Fts-plugin-voiceaction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolak-net%2Fts-plugin-voiceaction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolak-net%2Fts-plugin-voiceaction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikolak-net%2Fts-plugin-voiceaction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikolak-net","download_url":"https://codeload.github.com/mikolak-net/ts-plugin-voiceaction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248297011,"owners_count":21080309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lua","plugin","teamspeak"],"created_at":"2024-10-13T07:30:51.698Z","updated_at":"2025-04-10T20:52:37.705Z","avatar_url":"https://github.com/mikolak-net.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"= VoiceAction plugin for TeamSpeak\n\n== Introduction\n\nThis is a very simple plugin that enables you to run a predefined system command (or script) when one of the following happens:\n\n* Someone in channel starts talking (the channel is no longer silent).\n* No one in the channel is talking anymore (the channel is silent).\n\nA typical use case is (un)muting or (un)pausing music playback in your favorite player.\n\n== Installation and usage\n\n. In `Tools` -\u003e `Options` -\u003e `Addons` -\u003e `Plugins`, ensure that the _Lua Plugin_ is installed and enabled. If not, install it using `Browse Online`.\n. Find your `lua_plugin` directory in your TeamSpeak installation. On various OSes it's typically at:\n - Windows: `C:\\Users\\\u003cuser\u003e\\AppData\\Roaming\\TS3Client\\plugins\\lua_plugin`\n - Linux: `~/.ts3client/plugins/lua_plugin`\n - MacOS: `~/Library/Application\\ Support/TeamSpeak\\ 3/plugins/lua_plugin`\n. Copy the `voiceaction` directory into `lua_plugin/`.\n. In `lua_plugin/voiceaction/events.lua`, set the `commandSomeoneTalking` and `commandNobodyTalking` to whatever you want.\n* For example, I use a dbus callback to toggle Spotify playback via `\"dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause\".`\n. (Re)Start TeamSpeak.\n. Go to `Tools` -\u003e `Options` -\u003e `Addons` -\u003e `Plugins`.\n. Click on the _Lua Plugin_ entry, click Settings, and ensure the `voiceaction` module is enabled.\n. Back in `Addons` -\u003e `Plugins`, click `Reload All`.\n. You should be all set. If the nothing is happening on silence/voice, start TeamSpeak from a console/terminal \nemulator and check the output for any errors from your command.\n - if the output does not mention `voiceaction` anywhere, check if there's a `luaconfig.ini` file in your home directory (on Linux, it's at `.ts3client/luaconfig.ini` ). If it exists, add a `voiceaction` entry into it.\n\n== Further improvements\n\nA tentative list of TODOs can be found among the code :p.\n\n== Special thanks to\n\nMy muse inspiring me to write this plugin, i.e. a certain neighbor particularly fond of a hammer drill.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikolak-net%2Fts-plugin-voiceaction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikolak-net%2Fts-plugin-voiceaction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikolak-net%2Fts-plugin-voiceaction/lists"}