Pixa.Soundbridge
1.0.0
dotnet add package Pixa.Soundbridge --version 1.0.0
NuGet\Install-Package Pixa.Soundbridge -Version 1.0.0
<PackageReference Include="Pixa.Soundbridge" Version="1.0.0" />
paket add Pixa.Soundbridge --version 1.0.0
#r "nuget: Pixa.Soundbridge, 1.0.0"
// 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
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 Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.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 | 215 | 5/1/2022 |