mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-14 00:43:02 -06:00
40 lines
1.1 KiB
Markdown
40 lines
1.1 KiB
Markdown
# RTLSDR-Airband
|
||
|
||
Here's an example with RTLSDR-Airband:
|
||
|
||
## Requirements
|
||
|
||
At the time of this writting, this will work only with the *unstable* branch of RTLSDR-Airband where the [pr #163](https://github.com/szpajder/RTLSDR-Airband/pull/163) has been merged.
|
||
|
||
## RTLSDR-Airband's configuration
|
||
|
||
The trick here is to split audio by transmission and to leverage to `filename_template` to pass the `system_id` and `talkgroup_id`, which can then be utilized by [Rdio Scanner](https://github.com/chuot/rdio-scanner)'s `dirWatch.mask`. So generated files will look like `61_118900_20200711_111311_118900000.mp3`.
|
||
|
||
``` json
|
||
filename_template = "61_118900";
|
||
split_on_transmission = true;
|
||
```
|
||
|
||
## Rdio Scanner's configuration
|
||
|
||
``` json
|
||
"dirWatch": [
|
||
{
|
||
"deleteAfter": true,
|
||
"directory": "/home/radio/rtlsdr-airband/audio_files",
|
||
"extension": "mp3",
|
||
"mask": "#SYS_#TG_#DATE_#TIME_#HZ"
|
||
}
|
||
]
|
||
```
|
||
|
||
The `dirWatch` metatags will then translate to:
|
||
|
||
| Metatag | Value |
|
||
| ------- | --------- |
|
||
| #SYS | 61 |
|
||
| #TG | 118900 |
|
||
| #DATE | 20200711 |
|
||
| #TIME | 111311 |
|
||
| #FREQ | 118900000 |
|