Skip to content

bkram/fm-dx-console

Repository files navigation

fm-dx-console

A multi-platform console client for controlling the fm-dx-webserver and streaming audio directly from the command line. This client enables users to interact with the fm-dx-webserver remotely, providing convenience and flexibility.

To utilize this client, you'll need to provide the URL of the fm-dx-webserver. It's important to note that the fm-dx-webserver version must be v1.2.6 or higher for seamless audio streaming functionality.

With this console client, you can conveniently tune the fm-dx-webserver and stream audio effortlessly, all within the familiar environment of the command line.

Tested on both Linux and Windows

Screenshot

Screenshot Linux

Requirements

Npm modules

Install with npm.

npm install

ffmpeg

ffplay needs to be installed, and accessible in your path.

Starting

Webserver address must be used

node fm-dx-console.js --url http://fm-dx-server:[port]/

or

node fm-dx-console.js --url https://fm-dx-server/

Help

The following keys can be used to control the tuner.

Frequency Adjustment

'←' decrease 0.1 MHz
'↓' decrease 0.01 MHz
'z' decrease 1 MHz
'→' increase 0.1 MHz
'↑' increase 0.01 MHz
'x' increase 1 MHz

General Controls

'r' refresh
'p' play audio
't' set frequency
'Esc' quit
'h' toggle help

Toggles

'[' toggle iMS
']' toggle EQ
'y' toggle antenna