Switch to unified view

a/doc/upmpdcli-manual.txt b/doc/upmpdcli-manual.txt
...
...
246
way to transfer these parameters to *MPD* (this is a limitation of the
246
way to transfer these parameters to *MPD* (this is a limitation of the
247
client protocol). The parameters can be transferred from the Media Server
247
client protocol). The parameters can be transferred from the Media Server
248
to the player along with the MIME type though. In consequence, only recent
248
to the player along with the MIME type though. In consequence, only recent
249
versions of Upmpdcli and MPD (0.20 and later) do support audio/L16, but
249
versions of Upmpdcli and MPD (0.20 and later) do support audio/L16, but
250
not with any Media Server (it must output the audio formats
250
not with any Media Server (it must output the audio formats
251
parameters with the MIME type). See this Github issue for more details:
251
parameters with the MIME type). See this issue for more details:
252
https://github.com/medoc92/upmpdcli/issues/36#issuecomment-227761220
252
https://www.lesbonscomptes.com/upmpdcli/github-issues/upmpdcli-html/issue-36.html
253
253
254
In general, there are few reasons to use these linear formats, when FLAC
254
In general, there are few reasons to use these linear formats, when FLAC
255
will produce exactly the same bits, with less network load (which largely
255
will produce exactly the same bits, with less network load (which largely
256
compensates the small additional CPU load).
256
compensates the small additional CPU load).
257
257
...
...
704
704
705
You will need a valid subscription for most functions.
705
You will need a valid subscription for most functions.
706
706
707
I'm a little lost in the different google authentication/sign-in methods,
707
I'm a little lost in the different google authentication/sign-in methods,
708
but if you are using two way authentication, there is apparently
708
but if you are using two way authentication, there is apparently
709
link:https://github.com/medoc92/upmpdcli/issues/87[a way to make things
709
link:https://www.lesbonscomptes.com/upmpdcli/github-issues/upmpdcli-html/issue-87.html[a
710
work, using an app password].
710
way to make things work, using an app password].
711
711
712
The configuration parameters are described in the
712
The configuration parameters are described in the
713
<<gmusicuser,configuration section>>
713
<<gmusicuser,configuration section>>
714
714
715
715
...
...
825
825
826
Also the Python modules for streaming service support use the
826
Also the Python modules for streaming service support use the
827
*python-requests* package, so you may need to install it (it is only needed
827
*python-requests* package, so you may need to install it (it is only needed
828
at run time). Also *gmusicapi* for Google Music.
828
at run time). Also *gmusicapi* for Google Music.
829
829
830
If you are using the source from Github, you will also need the *autoconf*,
830
If you are using the source from the git repository, you will also need the
831
*automake*, *libtool* trio. Use the +autogen.sh+ script to set things up.
831
*autoconf*, *automake*, *libtool* trio. Use the +autogen.sh+ script to set
832
things up.
832
833
833
The *libupnpp* library, which used to be part of *upmpdcli*, has been
834
The *libupnpp* library, which used to be part of *upmpdcli*, has been
834
separated, and you need to build it first.
835
separated, and you need to build it first.
835
836
836
So you need to either clone two github repositories:
837
So you need to either clone two git repositories:
837
https://github.com/medoc92/libupnpp and
838
https://opensourceprojects.eu/p/libupnpp/code and
838
https://github.com/medoc92/upmpdcli,
839
https://opensourceprojects.eu/p/upmpdcli/code
839
or download the release tar files from the the
840
or download the release tar files from the the
840
link:https://www.lesbonscomptes.com/upmpdcli/downloads.html[upmpdcli
841
link:https://www.lesbonscomptes.com/upmpdcli/downloads.html[upmpdcli
841
download page]
842
download page]
842
843
843
Once the source is extracted, the procedure is standard and there are
844
Once the source is extracted, the procedure is standard and there are
...
...
881
- Building *sc2mpd* proper
882
- Building *sc2mpd* proper
882
883
883
First download a
884
First download a
884
link:http://www.lesbonscomptes.com/upmpdcli/downloads.html[*sc2mpd*
885
link:http://www.lesbonscomptes.com/upmpdcli/downloads.html[*sc2mpd*
885
release] or clone the *sc2mpd*
886
release] or clone the *sc2mpd*
886
link:http://www.github.com/medoc92/sc2mpd[Github repository]. 
887
https://opensourceprojects.eu/p/sc2mpd/[Git repository]. 
887
888
888
889
889
==== Building the OpenHome libraries
890
==== Building the OpenHome libraries
890
891
891
Building the Openhome libraries is a bit of a black art for a number of
892
Building the Openhome libraries is a bit of a black art for a number of
...
...
1055
Under certain conditions, if *upmpdcli* finds other scripts in a designated
1056
Under certain conditions, if *upmpdcli* finds other scripts in a designated
1056
directory, it will create more sources, and start them when the
1057
directory, it will create more sources, and start them when the
1057
corresponding source is selected (of course, it expects the script to
1058
corresponding source is selected (of course, it expects the script to
1058
create a Songcast Sender pipe).
1059
create a Songcast Sender pipe).
1059
1060
1060
The *upmpdcli* distribution comes with a
1061
The *upmpdcli* source comes with a sample script which sets things up for
1061
link:https://github.com/medoc92/upmpdcli/blob/master/samplescripts/Analog-Input[sample
1062
*mpd2sc* to read *arecord* output, allowing multiroom playing of an
1062
script] which sets things up for *mpd2sc* to read *arecord* output,
1063
external analog source (line-in). The sample script is flexible enough to
1063
allowing multiroom playing of an external analog source (line-in). The
1064
manage different inputs without code changes, and there are comments at the
1064
sample script is flexible enough to manage different inputs without code
1065
changes, and there are comments at the top which give
1066
detailed explanations. The parts of more general interest will be a bit
1065
top which give detailed explanations. The parts of more general interest
1067
expanded here (see below). If you want to use the script itself, you need
1066
will be a bit expanded here (see below). If you want to use the script
1068
to look at the comments.
1067
itself, you need to look at the comments. You will find the script under
1068
'samplescripts/Analog-Input' in the source tree.
1069
1069
1070
Based on the same mechanism (but quite different code inside the script)
1070
Based on the same mechanism (but quite different code inside the script)
1071
there is also a nice
1071
there is also a nice
1072
link:https://github.com/medoc92/upmpdcli/issues/71#issuecomment-292785458[HOWTO]
1072
link:https://www.lesbonscomptes.com/upmpdcli/github-issues/upmpdcli-html/issue-71.html[HOWTO]
1073
explaining how to link a Bluetooth device to Songcast.
1073
explaining how to link a Bluetooth device to Songcast.
1074
1074
1075
The general idea is that upmpdcli will create an Openhome Source for each
1075
The general idea is that upmpdcli will create an Openhome Source for each
1076
script it finds inside a designated directory. By default, the directory is
1076
script it finds inside a designated directory. By default, the directory is
1077
+/usr/share/upmpdcli/src_scripts+, but it can be changed by setting the
1077
+/usr/share/upmpdcli/src_scripts+, but it can be changed by setting the