Pixa.Soundbridge 1.0.0

.NET Standard 2.0
dotnet add package Pixa.Soundbridge --version 1.0.0
NuGet\Install-Package Pixa.Soundbridge -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Pixa.Soundbridge" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pixa.Soundbridge --version 1.0.0
#r "nuget: Pixa.Soundbridge, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Pixa.Soundbridge as a Cake Addin
#addin nuget:?package=Pixa.Soundbridge&version=1.0.0

// Install Pixa.Soundbridge as a Cake Tool
#tool nuget:?package=Pixa.Soundbridge&version=1.0.0

Pixa.Soundbridge

Status GitHub Issues GitHub Pull Requests

Table of Contents

About <a name="about"></a>

This is a library for interacting with Roku Soundbridge, a network music player that Roku made before they were known for set-top boxes. Soundbridges can be controlled over the network with a text based protocol called RCP. This library implements an RCP client for the .net platform.

Getting Started <a name="getting_started"></a>

You'll need a .net project targetting a .net implementation implementing .net standard 2.0 or later and a Roku Soundbridge, either that you've owned for the past 15 years or bought on ebay for the nostalgia.

Installing <a name="installing"></a>

Nuget Package

Pixa.Soundbridge is available as a nuget package on nuget.org. You can install it with one of the following commands:

Package Manager

From the Package Manager Console in Visual Studio with the project you wish to reference this library selected type:

Install-Package Pixa.Soundbridge
.net CLI

With the .net core SDK installed and at a command prompt at the directory where the project file you wish to reference this library is located type:

dotnet add package Pixa.Soundbridge
PackageReference

Edit the project file you wish to reference this library and add the following to any ItemGroup section:

<PackageReference Include="Pixa.Soundbridge"/>

Usage <a name="usage"></a>

Connect to a Soundbridge

using Pixa.Soundbridge;

...

var soundbridgeIPAddress = "192.168.123.456";
var sb = SoundbridgeFactory.CreateFromTcp(soundbridgeIPAddress);

Connect the Soundbridge to a server

// Get a list of the servers the soundbridge can see
var servers = sb.GetServers();

// Connect to a specific server
var serverName = "My Media Server";
var server = servers["My Media Server"];

Play some music

// Open a container

var c1 = server.Container.GetChildContainers()["Audio"];
c1.Enter();
var c2 = c1.GetChildContainers()["Random Music"];
c2.Enter();
c2.GetSongs().Play();
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 85 5/1/2022