mirror of
https://github.com/paul-nameless/tg
synced 2024-11-22 20:03:17 +00:00
Add record_cmd to README
This commit is contained in:
parent
4fe6c2c222
commit
e2d0e98066
1 changed files with 2 additions and 0 deletions
|
@ -24,11 +24,13 @@ More documentation and plans for this project at [wiki](https://github.com/paul-
|
||||||
phone = [phone]
|
phone = [phone]
|
||||||
enc_key = [random key for encrypting your database]
|
enc_key = [random key for encrypting your database]
|
||||||
notify_cmd = /usr/local/bin/terminal-notifier -title "{title}" -subtitle "{subtitle}" -message "{msg}" -appIcon "{icon_path}" -sound default
|
notify_cmd = /usr/local/bin/terminal-notifier -title "{title}" -subtitle "{subtitle}" -message "{msg}" -appIcon "{icon_path}" -sound default
|
||||||
|
record_cmd = ffmpeg -f avfoundation -i ":0" '{file_path}'
|
||||||
```
|
```
|
||||||
Where:
|
Where:
|
||||||
- `app_id` and `api_hash` is keys from [telegram](https://core.telegram.org/api/obtaining_api_id)
|
- `app_id` and `api_hash` is keys from [telegram](https://core.telegram.org/api/obtaining_api_id)
|
||||||
- `phone` your phone number (or login)
|
- `phone` your phone number (or login)
|
||||||
- `notify_cmd` can be any executable
|
- `notify_cmd` can be any executable
|
||||||
|
- `record_cmd` command to record audio (example for macOS)
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue