Skip to content

techiedesu/SDRSharp.Plugin.TDesu.Discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDRSharp.Plugin.TDesu.Discord

Build License

A plugin for SDR# that displays Discord Rich Presence with the current tuned frequency, modulation type, and RDS radio text.

Requirements

Installation

Note: If PowerShell blocks the script, run this first:

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

Make sure SDR# is closed before running any install/uninstall commands.

Automatic (from GitHub Release)

.\install.ps1 -Action Install -SdrPath "C:\path\to\sdrsharp-x64" -FromGitHub

Automatic (from local build)

.\install.ps1 -Action Install -SdrPath "C:\path\to\sdrsharp-x64"

Update

.\install.ps1 -Action Update -SdrPath "C:\path\to\sdrsharp-x64"

Uninstall

.\install.ps1 -Action Uninstall -SdrPath "C:\path\to\sdrsharp-x64"

Manual

  1. Copy the following files from Deploy/net9.0-windows/ to <SDR# directory>/Plugins/SDRSharp.Plugin.TDesu.Discord/:

    • SDRSharp.Plugin.TDesu.Discord.dll
    • SDRSharp.Plugin.TDesu.Discord.deps.json
    • DiscordRPC.dll
    • Newtonsoft.Json.dll
  2. Add the following line to SDRSharp.config (before the closing </configuration> tag):

    <add key="Discord RPC" value="SDRSharp.Plugin.TDesu.Discord.DiscordPlugin,SDRSharp.Plugin.TDesu.Discord" />
  3. Launch SDRSharp.dotnet9.exe and enable the plugin from the sidebar.

Building from source

  1. Download the SDR# Plugin SDK for VS2022 (.NET 9) and extract sdrplugins/lib/ into Src/lib/:

    • SDRSharp.Common.dll
    • SDRSharp.PanView.dll
    • SDRSharp.Radio.dll
  2. Build the project:

    cd Src
    dotnet build SDRSharp.Plugin.TDesu.Discord/SDRSharp.Plugin.TDesu.Discord.csproj -c Release

Configuration

  • Enabled - toggle Discord Rich Presence on/off
  • Show Frequency - display the current frequency and modulation
  • Show RDS - display RDS radio text
  • Discord AppId - custom Discord Application ID (default: 765213507321856078)

Acknowledgments

Built with assistance from Claude (Anthropic).

License

LICENSE

About

Discord Rich Presence plugin for SDR# — shows current frequency, modulation and RDS radio text

Topics

Resources

License

Stars

Watchers

Forks

Contributors