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.

'1' to decrease by .001 Mhz
'2' to increase by .001 Mhz
'q' to decrease by .01 Mhz
'w' to increase by .01 Mhz
'a' to decrease by .1 Mhz
's' to increase by .1 Mhz
'z' to decrease by 1 Mhz
'x' to increase by 1 Mhz
'r' to refresh
't' to set frequency
'y' switch antenna
'p' to play audio
'[' toggle TEF iMS | XDR-F1HD IF+
']' toggle TEF EQ | XDR-F1HD RF+
'Esc' to quit
'h' to toggle this help