Commit 35240abe authored by Jean-Francois Dockes's avatar Jean-Francois Dockes
Browse files

Documented and packaged the media server radio plugin

parent 5b32f80c
......@@ -230,6 +230,9 @@ dist_cdpluginsspotifylib_DATA = \
src/mediaserver/cdplugins/spotify/spotipy/oauth2.py \
src/mediaserver/cdplugins/spotify/spotipy/util.py
cdpluginsradiosdir = $(pkgdatadir)/cdplugins/upradios
dist_cdpluginsradios_DATA = \
src/mediaserver/cdplugins/upradios/upradios-app.py
cdpluginsuprcldir = $(pkgdatadir)/cdplugins/uprcl
dist_cdpluginsuprcl_DATA = \
......@@ -285,6 +288,7 @@ install-data-hook:
(cd $(DESTDIR)/$(cdpluginsqobuzdir); chmod a+x qobuz-app.py)
(cd $(DESTDIR)/$(cdpluginsspotifydir); chmod a+x spotify-app.py)
(cd $(DESTDIR)/$(cdpluginsuprcldir); chmod a+x uprcl-app.py)
(cd $(DESTDIR)/$(cdpluginsradiosdir); chmod a+x upradios-app.py)
(cd $(DESTDIR)/$(cdpluginshradir); chmod a+x hra-app.py)
(cd $(DESTDIR)/$(cdpluginsdeezerdir); chmod a+x deezer-app.py)
(cd $(DESTDIR)/$(radioscriptsdir);chmod a+rx . *;chmod a-x radiolist.conf)
......
......@@ -55,6 +55,14 @@ Description: upmpdcli Deezer plugin
upmpdcli-deezer allows upmpdcli to proxy access to the Deezer music
streaming service.
Package: upmpdcli-radios
Architecture: all
Section: contrib/sound
Depends: upmpdcli, python3, ${misc:Depends}
Description: upmpdcli radio list export plugin
upmpdcli-radios exports the upmpdcli OpenHome service radio list through
the upmpdcli Media Server.
#Package: upmpdcli-tidal
#Architecture: all
#Section: contrib/sound
......
usr/share/upmpdcli/cdplugins/upradios
......@@ -448,6 +448,18 @@ uprclpaths:: Path translations. Translations from real paths to ones relative to
doc tree. If this is not set, uprcl will use a null translation for each
of the uprclmediadirs entries.
=== Upmpdcli Radios plugin parameters
[[upradiosuser]]
upradiosuser:: Bogus user name variable. Used for consistency with other Media Server plugins to decide if
the service should be started (so, do set it if you want to see the radio list).
[[upradiostitle]]
upradiostitle:: Plugin Title. This
will be displayed as the plugin entry in the Media Server root
directory.
=== Songcast Receiver parameters
[[sclogfilename]]
......
......@@ -808,6 +808,21 @@ You will need to set some configuration parameters, which are described in the
authorization token: follow the instructions in the <<SPOTIFY-AUTH,Spotify
authorization annex>>.
[[UPRADIOS]]
== Upmpdcli radio list plugin
This is a minuscule plugin which just exports the Upmpdcli radio list as a
playlist, so that other renderer on the network can use it.
Of course, the functionality is reduced when compared to using the list
through the upmpdcli's own OpenHome Radio service: there will be no dynamic
art or special metadata features: `artScript` and `metaScript` entries are
just ignore.
Still the server will convert .pls and other playlist entries into actual
stream URLs, and it may be convenient for maintaining the radio list in one
place.
[[UPRCL]]
== Upmpdcli local Media Server: uprcl
......
......@@ -195,7 +195,7 @@ radiolist = /usr/share/upmpdcli/radio_scripts/radiolist.conf
# Bogus user name variable.
#uprcluser = bugsbunny
# Plugin Title.
#uprcltitle = Local Music
uprcltitle = Local Music
# HTTP host and port for serving media files
#uprclhostport =
# uprcl Recoll index directory
......@@ -209,6 +209,13 @@ radiolist = /usr/share/upmpdcli/radio_scripts/radiolist.conf
# Path translations.
#uprclpaths =
# Upmpdcli Radios plugin parameters
# Bogus user name variable.
#upradiosuser = bugsbunny
# Plugin Title.
upradiostitle = Upmpdcli Radio List
# Songcast Receiver parameters
#Parameters for the Songcast modes. These are read by either/both the
......
......@@ -452,7 +452,7 @@ radiolist = /usr/share/upmpdcli/radio_scripts/radiolist.conf
# <var name="uprcltitle" type="string"> <brief>Plugin Title.</brief><descr>This
# will be displayed as the plugin entry in the Media Server root
# directory.</descr></var>
#uprcltitle = Local Music
uprcltitle = Local Music
# <var name="uprclhostport" type="string"><brief>HTTP host and port for
# serving media files</brief><descr>The Media Server HTTP server will run
......@@ -507,6 +507,19 @@ radiolist = /usr/share/upmpdcli/radio_scripts/radiolist.conf
# of the uprclmediadirs entries.</descr></var>
#uprclpaths =
# <grouptitle>Upmpdcli Radios plugin parameters</grouptitle>
# <var name="upradiosuser" type="string"><brief>Bogus user name variable.</brief>
# <descr>Used for consistency with other Media Server plugins to decide if
# the service should be started (so, do set it if you want to see the radio list).
# </descr></var>
#upradiosuser = bugsbunny
# <var name="upradiostitle" type="string"> <brief>Plugin Title.</brief><descr>This
# will be displayed as the plugin entry in the Media Server root
# directory.</descr></var>
upradiostitle = Upmpdcli Radio List
# <grouptitle>Songcast Receiver parameters</grouptitle>
# Parameters for the Songcast modes. These are read by either/both the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment