|
a/doc/sc2mpd.txt |
|
b/doc/sc2mpd.txt |
|
... |
|
... |
8 |
|
8 |
|
9 |
The link:http://www.linn.co.uk/[Linn] *Songcast* protocol distributes an
|
9 |
The link:http://www.linn.co.uk/[Linn] *Songcast* protocol distributes an
|
10 |
audio stream on a local network so that multiple hosts (_Receivers_) can
|
10 |
audio stream on a local network so that multiple hosts (_Receivers_) can
|
11 |
play quasi-synchronously from a single source (_Sender_).
|
11 |
play quasi-synchronously from a single source (_Sender_).
|
12 |
|
12 |
|
13 |
The audio source can be a
|
13 |
The audio source (Sender) can be a
|
14 |
link:http://www.linn.co.uk/software#songcast[Songcast application]
|
14 |
link:http://www.linn.co.uk/software#songcast[Songcast application]
|
15 |
installed on a Windows or Mac host. This will allow capturing and
|
15 |
installed on a Windows or Mac host. This will allow capturing and
|
16 |
broadcasting the audio from *any* local application (e.g. Spotify, Kobuz,
|
16 |
broadcasting the audio from *any* local application (e.g. Spotify, Kobuz,
|
17 |
Tidal, Windows Media Player etc.).
|
17 |
Tidal, Windows Media Player etc.).
|
18 |
|
18 |
|
19 |
The audio source can also be a Unix/Linux host running *upmpdcli*/*sc2mpd*,
|
19 |
The audio source can also be a Unix/Linux host running *upmpdcli*/*sc2mpd*,
|
|
... |
|
... |
68 |
configuration].
|
68 |
configuration].
|
69 |
|
69 |
|
70 |
== Upmpdcli Sender mode
|
70 |
== Upmpdcli Sender mode
|
71 |
|
71 |
|
72 |
You can set *umpdcli* in _Sender_ mode from an OpenHome-capable Control
|
72 |
You can set *umpdcli* in _Sender_ mode from an OpenHome-capable Control
|
73 |
Point, by selecting the Source of type `Playlist`, name `SenderReceiver`.
|
73 |
Point, by selecting the Source of type `Playlist`, name `SenderReceiverPL`
|
|
|
74 |
(playlist) or `SenderReceiverRD` (radio).
|
74 |
|
75 |
|
75 |
The *sc2mpd* configuration must be set to play directly to Alsa for the
|
76 |
The *sc2mpd* configuration must be set to play directly to Alsa for the
|
76 |
SenderReceiver source to appear. See the
|
77 |
`SenderReceiverXX` sources to appear. See the
|
77 |
link:sc2mpd.html#Configuration[configuration section], and
|
78 |
link:sc2mpd.html#Configuration[configuration section], and
|
78 |
link:scmulti.html[the page about synchronisation].
|
79 |
link:scmulti.html[the page about synchronisation].
|
79 |
|
80 |
|
80 |
Selecting the source can be done, for example, from the
|
81 |
Selecting the source can be done, for example, from the
|
81 |
link:http://www.lesbonscomptes.com/upplay/index.html[upplay]
|
82 |
link:http://www.lesbonscomptes.com/upplay/index.html[upplay]
|
|
... |
|
... |
91 |
Playlist mode from the Control Point. The audio is played locally through
|
92 |
Playlist mode from the Control Point. The audio is played locally through
|
92 |
the Songcast _Receiver_. Other _Receivers_ can be connected and will play
|
93 |
the Songcast _Receiver_. Other _Receivers_ can be connected and will play
|
93 |
in good synchronization.
|
94 |
in good synchronization.
|
94 |
|
95 |
|
95 |
image::upmpdcli-sender-receiver.png["Sender/Receiver mode"]
|
96 |
image::upmpdcli-sender-receiver.png["Sender/Receiver mode"]
|
|
|
97 |
|
|
|
98 |
This looks complicated, but in practise, starting the mode and connecting
|
|
|
99 |
other Receivers from the `upplay` control panel is quite easy.
|
|
|
100 |
|
|
|
101 |
=== Managing external sources
|
|
|
102 |
|
|
|
103 |
In the `Sender` modes described above, `upmpdcli` (or rather its slave
|
|
|
104 |
MPD process) is the source of the audio stream.
|
|
|
105 |
|
|
|
106 |
It is also possible to set things up so that an external source (e.g. a
|
|
|
107 |
line in) can be connected to the Songcast Sender, allowing multiroom
|
|
|
108 |
playing of any external source. See the comments in the
|
|
|
109 |
https://github.com/medoc92/upmpdcli/commit/491e4501c3a01f6cca2736ee3a5f135b1b8401fb[sample script in the upmpdcli source tree].
|
|
|
110 |
|
96 |
|
111 |
|
97 |
[[whatis_songcast]]
|
112 |
[[whatis_songcast]]
|
98 |
== More Details on Songcast
|
113 |
== More Details on Songcast
|
99 |
|
114 |
|
100 |
*Songcast* is a protocol for transporting audio streams across the network,
|
115 |
*Songcast* is a protocol for transporting audio streams across the network,
|