--- upmpdcli-1.5.19.orig/debian/changelog
+++ upmpdcli-1.5.19/debian/changelog
@@ -0,0 +1,541 @@
+upmpdcli (1.5.19-1.1+3.6) stable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Sat, 23 Nov 2024 23:45:46 +0000
+
+upmpdcli (1.5.13-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Enable L16 by default as it is handled correctly by current mpd versions
+  * Add the mpd version to the description version string
+  * Change Qobuz default format to 6
+  * Misc small bug fixes
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 13 Oct 2021 10:38:00 +0200
+
+upmpdcli (1.5.12-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Add small Media Server plugin (upradios) for exporting the radio list.
+  * uprcl: export the radio list as a playlist
+  * uprcl: small improvements
+  * Deezer, Qobuz: set pictures for artists and playlists
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Thu, 22 Apr 2021 09:48:00 +0200
+
+upmpdcli (1.5.11-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fix possible issue when volume controlled from Kazoo
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sat, 13 Mar 2021 14:15:00 +0100
+
+upmpdcli (1.5.10-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Repair event loop after mpd restart.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 01 Mar 2021 15:34:00 +0100
+
+upmpdcli (1.5.9-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fixed events not working when mpd password was set
+  * Mediaserver support for Deezer
+  * Mediaserver: improved caching, improved uprcl local media module.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 24 Feb 2021 11:19:00 +0100
+
+upmpdcli (1.5.8-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fix a number of memory leak and locking issues detected by valgrind/helgrind
+  * Improve performance of big playlist insert by rate-limiting events.
+  * Fix possible crash when started while mpd is not running.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sun, 10 Jan 2021 19:24:00 +0100
+
+upmpdcli (1.5.7-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * OHInfo issue resulted in no album art display in kazoo "now playing" screen
+  * Pause/Unpause caused by other controller was not detected if the pause
+    was long enough for the mpd connection to time out (60S).
+    
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 30 Dec 2020 15:24:00 +0100
+
+upmpdcli (1.5.6-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * OHPlaylist insert: use locking when updating the metadata cache to
+    avoid races with mpd events.
+  * OHRadio/OHinfo: try to ensure that transport events are emitted before
+    metadata ones.
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Thu, 24 Dec 2020 16:54:00 +0100
+
+upmpdcli (1.5.5-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * More small radio channels metadata adjustments for improving
+    interoperation with Bubble DS.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 07 Dec 2020 18:00:00 +0100
+
+upmpdcli (1.5.4-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fix radio channels metadata production.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sat, 05 Dec 2020 09:51:00 +0100
+
+upmpdcli (1.5.3-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fix issue with removing tracks from the playlist.
+  * Fix bad locking causing multiple execs of radio scripts.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Tue, 01 Dec 2020 18:15:00 +0100
+
+upmpdcli (1.5.2-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fix crash, Lumin, Qobuz
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Tue, 24 Nov 2020 18:15:00 +0100
+
+upmpdcli (1.5.1-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fix lacking subscription of OHInfo resulting in missing metadata
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sun, 22 Nov 2020 19:12:00 +0100
+
+upmpdcli (1.5.0-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Separate the OpenHome and UPnP/AV UPnP devices.
+  * New event management method allows more timely generation
+    of events and no process activity whatsoever when not playing.
+  * Add off by default configuration options for L16 support and IPV6 operation.
+  * Remove the gmusic plugin from the documentation and distribution.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sun, 15 Nov 2020 12:40:00 +0100
+
+upmpdcli (1.4.14-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fix build for microhttpd versions 0.9.71 and later (MHD_Result enum)
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 02 Sep 2020 08:28:00 +0100
+
+upmpdcli (1.4.12-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fix some AVT events metadata emitted while Playlist is active
+  * New HighResAudio streaming service media server plugin
+  * Misc small fixes
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Fri, 12 Jun 2020 13:47:00 +0100
+
+upmpdcli (1.4.10-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Update tidal token and set it in ohcredentials Get data to help bubble
+    discriminate working and non-working versions.
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Sun, 17 May 2020 10:42:00 +0100
+
+upmpdcli (1.4.9-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Support gmusic oauth login
+  * Fix Radio Paradise meta fetching script
+  * Fix umpdcli-config
+  * Fix error case in Tidal module
+  * Set appid in OHcreds Get response
+  * Other small fixes.
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Sat, 26 Apr 2020 12:22:00 +0100
+
+upmpdcli (1.4.7-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fix previous fix for resetting mpd single mode on playlist init. The
+    previous method confused Kazoo.
+    
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 26 Feb 2020 13:38:00 +0100
+
+upmpdcli (1.4.6-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Depend on libupnpp6. Would still build and run with libupnpp5
+  * Misc small improvements (esp in radio scripts and radio source).
+    
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 29 Jan 2020 09:21:00 +0100
+
+upmpdcli (1.4.5-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fixed some memory leaks in the spotify plugin
+  * Move the qobuz app_key/secret from the code to the configuration.
+    
+ -- Jean-Francois Dockes <jf@dockes.org>  Tue, 15 Oct 2019 18:04:00 +0200
+
+upmpdcli (1.4.4-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fix the "Improvement in radio stream title detection": it broke OHPlaylist
+    
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 16 Sep 2019 11:51:00 +0200
+
+upmpdcli (1.4.3-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Allow setting Spotify preferred bitrate
+  * Improvement in radio stream title detection
+  * experimental uprcl: bundle bottle.py with the package as the generally
+    distributed 0.12 is not recent enough. Other improvements.
+  * Misc small fixes
+    
+ -- Jean-Francois Dockes <jf@dockes.org>  Fri, 13 Sep 2019 16:35:00 +0200
+
+upmpdcli (1.4.2-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Small bug fixes
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Thu, 28 Mar 2019 09:30:00 +0100
+
+upmpdcli (1.4.1-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fix bug in Spotify plugin
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 13 Feb 2019 17:17:00 +0100
+
+upmpdcli (1.4.0-2~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Add forgotten MS-description.xml file
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sat, 19 Jan 2019 17:00:00 +0100
+
+upmpdcli (1.4.0-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Save the current radio settings across restarts.
+  * Add the avtautoplay config variable to accommodate a non-conformant
+    Control Point which does not issue a Play command after SetAVTransportURI.
+  * Add mpdtimeoutms variable to configure MPD connections timeouts.
+  * Use Python 3 for all scripts
+  * gmusic: cache some data locally to improve performance.
+  * OHCredentials: use stored authentication data if available to avoid login
+    on CP.
+  * Uprcl: use Waitress as WSGI server, instead of Paste.
+  * Fix issue in Spotify access when started by root (at boot time).
+  * Qobuz: allow longer playlists
+  * Use the libupnpp 0.17.0 features. This makes us incompatible with 0.16.
+  * Add the capability to run the Media Server in-process (as a separate root
+    device). Needs a very recent libupnp.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Tue, 15 Jan 2019 19:00:00 +0100
+
+upmpdcli (1.3.2-2~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Fix minor bug in ohcredentials use
+  * Package did not install OHCredentials.xml
+  * Fix deps in control file
+  *  -2: add forgotten radio_scripts directory to package
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sun, 16 Sep 2018 11:24:00 +0200
+
+upmpdcli (1.3.0-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Spotify support
+  * Switch to Python3
+  * OpenHome Credentials support (disable for use with Lumin by setting
+    lumincompat=1). 
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sat, 01 Sep 2018 10:06:00 +0200
+
+upmpdcli (1.2.16-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Added the upmpdcli-config tool
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Fri, 07 Apr 2018 17:09:00 +0200
+
+upmpdcli (1.2.15-2~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Depend on libupnpp4
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 21 Jun 2017 08:20:00 +0200
+
+upmpdcli (1.2.15-1~ppaPPAVERS~stable1) stable; urgency=low
+
+  * Faster Qobuz searches (less requests to the service)
+  * Songcast: stop the inactive sender so that it does not show up in
+    lists.
+  * Radio dynamic metadata scripts for radio which provide metadata from
+    the web site, instead of icy metadata.
+  * Properly handle radios which redirect straight from http to mms.
+  * AVTransport: accept metadata-less streams.
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 21 Jun 2017 08:20:00 +0200
+
+upmpdcli (1.2.14-1) unstable; urgency=low
+
+  * Make the Receiver source visible, allowing grouping from Kazoo
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Fri, 19 May 2017 10:29:00 +0100
+
+upmpdcli (1.2.12-1) unstable; urgency=low
+
+  * Fixed bugs in the content directory interface: prevented Linn Kazoo to
+    see more than a few entries in each folder.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 03 Jan 2017 08:18:00 +0100
+
+upmpdcli (1.2.11-1) unstable; urgency=low
+
+  * Improve Qobuz interface
+  * Allow dynamic retrieval of artwork for radios currently playing track
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 26 Dec 2016 14:05:00 +0100
+
+upmpdcli (1.2.10-3) unstable; urgency=low
+
+  * Fix bad option in rules file
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sat, 03 Dec 2016 17:43:00 +0100
+
+upmpdcli (1.2.10-1) unstable; urgency=low
+
+  * Improve streaming services searches
+  * Fix bug in upnp/av mode (seek after gapless transition)
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sun, 20 Nov 2016 10:11:00 +0100
+
+upmpdcli (1.2.9-1) unstable; urgency=low
+
+  * Fix bug in format of protocolinfo data
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 14 Oct 2016 12:56:00 +0200
+
+upmpdcli (1.2.8-1) unstable; urgency=low
+
+  * Small fix in qobuz module.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 10 Oct 2016 11:20:00 +0200
+
+upmpdcli (1.2.7-1) unstable; urgency=low
+
+  * Raspbian wheezy compat tweak, tidal python module only
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sun, 09 Oct 2016 18:30:00 +0200
+
+upmpdcli (1.2.6-1) unstable; urgency=low
+
+  * Small fixes, missing entries in protocolinfo etc.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sun, 09 Oct 2016 17:23:00 +0200
+
+upmpdcli (1.2.5-1) unstable; urgency=low
+
+  * Tidal repaired thanks to the Kodi addon developers !
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 03 Oct 2016 18:54:00 +0200
+
+upmpdcli (1.2.4-1) unstable; urgency=low
+
+  * Fix streaming service search (type was ignored)
+  * Fix crash with absent config
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 03 Oct 2016 12:10:00 +0200
+
+upmpdcli (1.2.3-1) unstable; urgency=low
+
+  * Moved the streaming service plugins into separate packages
+  * Improved Qobuz navigation.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sat, 24 Sep 2016 19:23:00 +0200
+
+upmpdcli (1.2.2-1) unstable; urgency=low
+
+  * Improved streaming service search
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Sat, 10 Sep 2016 19:43:00 +0200
+
+upmpdcli (1.2.0-1) unstable; urgency=low
+
+  * Streaming services
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Fri, 02 Sep 2016 14:44:00 +0200
+
+upmpdcli (1.1.4~jessie-1) jessie; urgency=low
+
+  * Misc small improvements. See Changelog.
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Thu, 23 Jun 2016 13:53:00 +0200
+
+upmpdcli (1.1.3-1) unstable; urgency=low
+
+  * Fix cover art display, which sometimes vanished.
+  * Allow changing the xml data directory in the run time config.
+  * Fix execution of onvolumechange (command could not have args).
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Fri, 17 Mar 2016 14:40:00 +0100
+
+upmpdcli (1.1.1-1) unstable; urgency=low
+
+  * Improve play state management when switching sources
+  * Support external scripts for volume control
+  * Avoid losing metadata (e.g. album art) when switching from Playlist to
+    Radio and back
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Thu, 18 Feb 2016 18:03:00 +0100
+
+upmpdcli (1.1.0-1) unstable; urgency=low
+
+  * Add OpenHome Radio Source (play internet radios). Needs Python.
+  * Add capability to forward ALSA input channel to Songcast (needs
+    sc2mpd 0.14).
+  * Fix Receiver detection from Windows Songcast
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Thu, 04 Feb 2016 19:05:00 +0100
+
+upmpdcli (0.13.1-1) unstable; urgency=low
+
+  * Turn off MPD "single" mode if it was set by some other app !
+  * Add support for the new sc2mpd/mpd2sc Sender mode. This allows sharing
+    the audio with multiple synchronized other upmpdcli/sc2mpd instances
+    (multiroom) 
+  * Fix random initial value for ohproduct standby variable
+  * Fix eventing for ohproduct
+  
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 23 Dec 2015 16:30:00 +0100
+
+upmpdcli (0.12.0-1) unstable; urgency=low
+
+  * Avoid error messages occurring when UPnP AV was suppressed (because
+    eventing was still active) by using new libupnpp feature.
+  * Bump version to help remember that this needs libupnpp 0.12
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 10 Aug 2015 08:47:00 +0200
+
+upmpdcli (0.11.2-1) unstable; urgency=low
+
+  * Add config parameter to allow turning off UPnP AV (keep OpenHome only).
+    Helps Linn Kinsky a lot
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 06 May 2015 14:43:00 +0200
+
+upmpdcli (0.11.0-2) unstable; urgency=low
+
+  * Fixed scweb service install
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 06 May 2015 14:43:00 +0200
+
+upmpdcli (0.11.0-1) unstable; urgency=low
+
+  * ohreceiver service augmented to support sc2mpd in direct alsa mode
+  * scctl command allows controlling Songcast receivers
+  * Actually serve a presentation page.
+  * Misc: see git log
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 06 May 2015 12:30:00 +0200
+
+upmpdcli (0.9.1-1) unstable; urgency=low
+
+  * ?
+  * 
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Fri, 14 Nov 2014 17:53:00 +0200
+
+upmpdcli (0.9.0-1) unstable; urgency=low
+
+  * Support Songcast streaming (needs the sc2mpd program). See web site:
+    http://www.lesbonscomptes.com/upmpdcli
+  * Fixed quoting for tracks added from an MPD client.
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 12 Nov 2014 17:53:00 +0200
+
+upmpdcli (0.8.6-1) unstable; urgency=low
+
+  * Improved speed for loading big playqueues. 
+  * Fixed quoting for tracks added from an MPD client.
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Thu, 31 Oct 2014 15:30:00 +0200
+
+upmpdcli (0.8.5-1) unstable; urgency=low
+
+  * Version bump for new packaging. No code changes
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 13 Oct 2014 18:41:00 +0200
+
+upmpdcli (0.8.4-1) unstable; urgency=low
+
+  * Separated libupnpp. 
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Sun, 12 Oct 2014 16:23:00 +0200
+
+upmpdcli (0.8.3-1) unstable; urgency=low
+
+  * libupnpp control: Use libcurl to perform the description document
+    download. Previously, the bad timeout management in libupnp would allow
+    a very slow or sick device to basically DOS the discovery process. This
+    has no consequences for upmpdcli proper (only the control side of the
+    lib), beyond introducing a libcurl dependancy, which mpd itself needs
+    anyway (if it's going to accept urls).
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Thu, 09 Oct 2014 11:31:00 +0200
+
+upmpdcli (0.8.2-1) unstable; urgency=low
+
+  * Fix volume control on some renderers.
+  * Allow setting an icon to be displayed by control point in renderer lists
+  * Mix build fixes
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Tue, 07 Oct 2014 15:56:00 +0200
+
+upmpdcli (0.8.1-1) unstable; urgency=low
+
+  * Minor bug fixes and improvements.
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 18 Sep 2014 05:56:00 +0200
+
+upmpdcli (0.8.0-1) unstable; urgency=low
+
+  * Save queue metadata to disk for persistence across restarts. 
+    Set ohmetapersist to 0 in configuration file to disable.
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 09 Jun 2014 08:56:00 +0200
+upmpdcli (0.7.1-1) unstable; urgency=low
+
+  * Add support for the OpenHome ohMedia services. Set openhome=1 in 
+    configuration file to enable.
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 09 Jun 2014 08:56:00 +0200
+upmpdcli (0.6.4-1) unstable; urgency=low
+
+  * Configuration for UPnP interface and port, MPD password
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Sun, 20 Apr 2014 15:43:00 +0200
+upmpdcli (0.6.3-1) unstable; urgency=low
+
+  * Fix seeking
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 26 March 2014 21:58:00 +0100
+upmpdcli (0.6.2-1) unstable; urgency=low
+
+  * Retry libupnp until we get a network
+  * Publish our aiff capability
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Sun, 02 March 2014 14:03:00 +0100
+upmpdcli (0.6.1-1) unstable; urgency=low
+
+  * Implemented minimal connection manager
+  * Help for starting at boot: run as upmpdcli user after starting as root
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Tue, 25 Feb 2014 14:03:00 +0100
+upmpdcli (0.5-1) unstable; urgency=low
+
+  * Cache volume value when mpd is inactive.
+  * Clear the MPD queue when we feel like it.
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Thu, 13 Feb 2014 18:54:00 +0100
+upmpdcli (0.4-1) unstable; urgency=low
+
+  * Adapt to off_t size in libupnp and availability of log/debug functions.
+  * FriendlyName configuration parameter.
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Wed, 12 Feb 2014 10:07:13 +0100
+upmpdcli (0.3-1) unstable; urgency=low
+
+  * Removed DB volume interface, this was confusing some players
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 10 Feb 2014 14:09:20 +0100
+upmpdcli (0.2-1) unstable; urgency=low
+
+  * Improved event management. Moderate the load generated by sound volume changes
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Tue, 11 Feb 2014 11:20:00 +0100
+upmpdcli (0.1-1) unstable; urgency=low
+
+  * Initial release 
+
+ -- Jean-Francois Dockes <jf@dockes.org>  Mon, 10 Feb 2014 15:37:33 +0100
--- upmpdcli-1.5.19.orig/debian/compat
+++ upmpdcli-1.5.19/debian/compat
@@ -0,0 +1,1 @@
+9
--- upmpdcli-1.5.19.orig/debian/control
+++ upmpdcli-1.5.19/debian/control
@@ -0,0 +1,97 @@
+Source: upmpdcli
+Section: contrib/sound
+Priority: optional
+Maintainer: Jean-Francois Dockes <jf@dockes.org>
+# note: libexpat1-dev and libcurl-dev are only here because of pkg-config:
+# not directly needed for building upmpdcli
+Build-Depends: debhelper (>= 9.0.0), autotools-dev, dh-autoreconf,
+			   python3, pkg-config,
+               libmpdclient-dev, libmicrohttpd-dev, libjsoncpp-dev,
+               libexpat1-dev, libcurl4-gnutls-dev,
+               qt5-qmake, qtbase5-dev,
+               libupnpp6-dev (>= 0.20.0)
+Standards-Version: 3.9.8
+Homepage: http://www.lesbonscomptes.com/upmpdcli
+
+Package: upmpdcli
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, python3, python3-requests
+Section: contrib/sound
+Description: UPnP Media Renderer front-end to MPD, the Music Player Daemon
+ upmpdcli acts as an UPnP Media Renderer on the front-end so that you can
+ control it with any UPnP controller like, e.g. Audionet or BubbleUPnP on an
+ Android tablet. It uses an MPD instance to actually play the tracks. 
+ A typical configuration might have for example, MPD running on a Raspberry
+ PI, with upmpdcli on the same host or any other Linux PC on the network.
+
+
+Package: upmpdcli-config
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Section: contrib/sound
+Description: GUI configuration editor for upmpdcli.
+ upmpdcli-config is a qt-based GUI for editing an upmpdcli configuration file.
+
+Package: scweb
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, ${misc:Depends}
+Description: web interface for controlling multiple Songcast Receivers
+ scweb is a web front-end to the scctl songcast receiver control command.
+
+Package: upmpdcli-qobuz
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+Description: upmpdcli Qobuz plugin
+ upmpdcli-qobuz allows upmpdcli to proxy access to the Qobuz music
+ streaming service.
+
+Package: upmpdcli-deezer
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+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
+#Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+#Description: upmpdcli Tidal plugin
+# upmpdcli-tidal allows upmpdcli to proxy access to the Tidal music
+# streaming service.
+
+Package: upmpdcli-hra
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+Description: upmpdcli highresaudio plugin
+ upmpdcli-hra allows upmpdcli to proxy access to the highresaudio
+ https://www.highresaudio.com/en music streaming service.
+
+Package: upmpdcli-spotify
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+Description: upmpdcli Spotify plugin
+ upmpdcli-spotify allows upmpdcli to proxy access to the Spotify
+ streaming service. Note: no dependance on libspotify to let you install
+ this without a libspotify package (bare lib ok).
+
+Package: upmpdcli-uprcl
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3 (>= 3.5), python3-requests, python3-recoll,
+  python3-waitress, python3-mutagen, ${misc:Depends}
+Description: upmpdcli local Media Server plugin
+ upmpdcli-uprcl enables a Recoll-based local media server.
--- upmpdcli-1.5.19.orig/debian/control-bionic
+++ upmpdcli-1.5.19/debian/control-bionic
@@ -0,0 +1,97 @@
+Source: upmpdcli
+Section: contrib/sound
+Priority: optional
+Maintainer: Jean-Francois Dockes <jf@dockes.org>
+# note: libexpat1-dev and libcurl-dev are only here because of pkg-config:
+# not directly needed for building upmpdcli
+Build-Depends: debhelper (>= 9.0.0), dh-systemd, autotools-dev,
+               dh-autoreconf, pkg-config,
+               libmpdclient-dev, libmicrohttpd-dev, libjsoncpp-dev,
+               libexpat1-dev, libcurl4-gnutls-dev,
+               qt5-default, qt5-qmake, qtbase5-dev,
+               libupnpp6-dev (>= 0.20.0)
+Standards-Version: 3.9.8
+Homepage: http://www.lesbonscomptes.com/upmpdcli
+
+Package: upmpdcli
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, python3, python3-requests
+Section: contrib/sound
+Description: UPnP Media Renderer front-end to MPD, the Music Player Daemon
+ upmpdcli acts as an UPnP Media Renderer on the front-end so that you can
+ control it with any UPnP controller like, e.g. Audionet or BubbleUPnP on an
+ Android tablet. It uses an MPD instance to actually play the tracks. 
+ A typical configuration might have for example, MPD running on a Raspberry
+ PI, with upmpdcli on the same host or any other Linux PC on the network.
+
+
+Package: upmpdcli-config
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Section: contrib/sound
+Description: GUI configuration editor for upmpdcli.
+ upmpdcli-config is a qt-based GUI for editing an upmpdcli configuration file.
+
+Package: scweb
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, ${misc:Depends}
+Description: web interface for controlling multiple Songcast Receivers
+ scweb is a web front-end to the scctl songcast receiver control command.
+
+Package: upmpdcli-qobuz
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+Description: upmpdcli Qobuz plugin
+ upmpdcli-qobuz allows upmpdcli to proxy access to the Qobuz music
+ streaming service.
+
+Package: upmpdcli-deezer
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+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
+#Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+#Description: upmpdcli Tidal plugin
+# upmpdcli-tidal allows upmpdcli to proxy access to the Tidal music
+# streaming service.
+
+Package: upmpdcli-hra
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+Description: upmpdcli highresaudio plugin
+ upmpdcli-hra allows upmpdcli to proxy access to the highresaudio
+ https://www.highresaudio.com/en music streaming service.
+
+Package: upmpdcli-spotify
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+Description: upmpdcli Spotify plugin
+ upmpdcli-spotify allows upmpdcli to proxy access to the Spotify
+ streaming service. Note: no dependance on libspotify to let you install
+ this without a libspotify package (bare lib ok).
+
+Package: upmpdcli-uprcl
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3 (>= 3.5), python3-requests, python3-recoll,
+  python3-waitress, python3-mutagen, ${misc:Depends}
+Description: upmpdcli local Media Server plugin
+ upmpdcli-uprcl enables a Recoll-based local media server.
--- upmpdcli-1.5.19.orig/debian/control-focal
+++ upmpdcli-1.5.19/debian/control-focal
@@ -0,0 +1,97 @@
+Source: upmpdcli
+Section: contrib/sound
+Priority: optional
+Maintainer: Jean-Francois Dockes <jf@dockes.org>
+# note: libexpat1-dev and libcurl-dev are only here because of pkg-config:
+# not directly needed for building upmpdcli
+Build-Depends: debhelper (>= 9.0.0), dh-systemd, autotools-dev,
+               dh-autoreconf, pkg-config,
+               libmpdclient-dev, libmicrohttpd-dev, libjsoncpp-dev,
+               libexpat1-dev, libcurl4-gnutls-dev,
+               qt5-default, qt5-qmake, qtbase5-dev,
+               libupnpp6-dev (>= 0.20.0)
+Standards-Version: 3.9.8
+Homepage: http://www.lesbonscomptes.com/upmpdcli
+
+Package: upmpdcli
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, python3, python3-requests
+Section: contrib/sound
+Description: UPnP Media Renderer front-end to MPD, the Music Player Daemon
+ upmpdcli acts as an UPnP Media Renderer on the front-end so that you can
+ control it with any UPnP controller like, e.g. Audionet or BubbleUPnP on an
+ Android tablet. It uses an MPD instance to actually play the tracks. 
+ A typical configuration might have for example, MPD running on a Raspberry
+ PI, with upmpdcli on the same host or any other Linux PC on the network.
+
+
+Package: upmpdcli-config
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Section: contrib/sound
+Description: GUI configuration editor for upmpdcli.
+ upmpdcli-config is a qt-based GUI for editing an upmpdcli configuration file.
+
+Package: scweb
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, ${misc:Depends}
+Description: web interface for controlling multiple Songcast Receivers
+ scweb is a web front-end to the scctl songcast receiver control command.
+
+Package: upmpdcli-qobuz
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+Description: upmpdcli Qobuz plugin
+ upmpdcli-qobuz allows upmpdcli to proxy access to the Qobuz music
+ streaming service.
+
+Package: upmpdcli-deezer
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+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
+#Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+#Description: upmpdcli Tidal plugin
+# upmpdcli-tidal allows upmpdcli to proxy access to the Tidal music
+# streaming service.
+
+Package: upmpdcli-hra
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+Description: upmpdcli highresaudio plugin
+ upmpdcli-hra allows upmpdcli to proxy access to the highresaudio
+ https://www.highresaudio.com/en music streaming service.
+
+Package: upmpdcli-spotify
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3, python3-requests, ${misc:Depends}
+Description: upmpdcli Spotify plugin
+ upmpdcli-spotify allows upmpdcli to proxy access to the Spotify
+ streaming service. Note: no dependance on libspotify to let you install
+ this without a libspotify package (bare lib ok).
+
+Package: upmpdcli-uprcl
+Architecture: all
+Section: contrib/sound
+Depends: upmpdcli, python3 (>= 3.5), python3-requests, python3-recoll,
+  python3-waitress, python3-mutagen, ${misc:Depends}
+Description: upmpdcli local Media Server plugin
+ upmpdcli-uprcl enables a Recoll-based local media server.
--- upmpdcli-1.5.19.orig/debian/copyright
+++ upmpdcli-1.5.19/debian/copyright
@@ -0,0 +1,97 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: upmpdcli
+Source: https://framagit.org/medoc92/upmpdcli/
+
+Files: *
+Copyright: 2005-2019, Jean-Francois Dockes <jf@dockes.org>
+License: LGPL-2.1+
+
+Files: src/mediaserver/cdplugins/tidal/*
+       src/mediaserver/cdplugins/spotify/spotify-app.py
+       src/mediaserver/cdplugins/pycommon/routing.py
+       src/mediaserver/cdplugins/pycommon/upmplgmodels.py
+       src/mediaserver/cdplugins/qobuz/qobuz-app.py
+Copyright: 2014 Thomas Amland
+License: LGPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU Lesser General Public
+ License version 3 can be found in the file
+ '/usr/share/common-licenses/LGPL-3'.
+ 
+
+Files: src/mediaserver/cdplugins/uprcl/bottle.py
+Copyright: 2009-2018, Marcel Hellkamp.
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+
+
+Files: src/mediaserver/cdplugins/qobuz/*
+Copyright: 2012 by Joachim Basmaison, Cyril Leclerc
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ '/usr/share/common-licenses/GPL-3'.
+ 
+
+Files: src/pathut.cpp
+Copyright: 2008-2019 Free Software Foundation, Inc.
+License: LGPL-2.1+
+
+License: LGPL-2.1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with this program; if not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU Lesser General Public
+ License version 2 can be found in the file
+ '/usr/share/common-licenses/LGPL-2.1'.
--- upmpdcli-1.5.19.orig/debian/patches/debian-fixes.diff
+++ upmpdcli-1.5.19/debian/patches/debian-fixes.diff
@@ -0,0 +1,29 @@
+diff --git a/Makefile.am b/Makefile.am
+index 08f5f58..4481622 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -264,6 +264,7 @@ install-data-hook: web.tar.gz rdpl2stream.tar.gz uprclbottle.tar.gz
+ 	(cd $(DESTDIR)/$(cdpluginsspotifydir); chmod a+x spotify-app.py) 
+ 	(cd $(DESTDIR)/$(cdpluginsuprcldir); chmod a+x uprcl-app.py) 
+ 	(cd $(DESTDIR)/$(radioscriptsdir);chmod a+rx . *)
++	(cd $(DESTDIR)/$(radioscriptsdir);chmod a-x radiolist.conf)
+         
+ dist_pkgdata_SCRIPTS = samplescripts/Analog-Input
+ 
+diff --git a/samplescripts/Analog-Input b/samplescripts/Analog-Input
+old mode 100644
+new mode 100755
+index ac956fd..87cff68
+--- a/samplescripts/Analog-Input
++++ b/samplescripts/Analog-Input
+@@ -1,4 +1,4 @@
+-#!/usr/bin//python
++#!/usr/bin/python3
+ 
+ from __future__ import print_function
+ 
+@@ -190,4 +190,3 @@ while True:
+ 
+ time.sleep(1)
+ cleanup(0)
+-
--- upmpdcli-1.5.19.orig/debian/postinst
+++ upmpdcli-1.5.19/debian/postinst
@@ -0,0 +1,18 @@
+#! /bin/sh
+# postinst for upmpdcli
+
+set -e
+
+if [ "$1" = configure ]; then
+    if ! getent passwd upmpdcli > /dev/null; then
+	adduser --disabled-password --quiet --system \
+	    --home /nonexistent --no-create-home --shell /bin/false upmpdcli
+    fi
+    if ! groups upmpdcli | cut -d' ' -f 3- | grep -q -w audio ; then
+        usermod -a -G audio upmpdcli
+    fi
+fi
+
+#DEBHELPER#
+
+exit 0
--- upmpdcli-1.5.19.orig/debian/rules
+++ upmpdcli-1.5.19/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# Use the following to use the needed non-default gcc-4.7 for wheezy raspbian
+# export CXX=g++-4.7
+
+override_dh_autoreconf:
+	dh_autoreconf ./autogen.sh
+
+%:
+	dh $@  --with autoreconf,systemd --parallel
+
+
+override_dh_auto_configure:
+	dh_auto_configure -- --enable-confgui --enable-spotify
+
+override_dh_auto_install:
+	dh_auto_install
+	rm -rf $(CURDIR)/debian/tmp/usr/share/upmpdcli/rdpl2stream/lib/__pycache__
--- upmpdcli-1.5.19.orig/debian/rules-trusty
+++ upmpdcli-1.5.19/debian/rules-trusty
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# Use the following to use the needed non-default gcc-4.7 for wheezy raspbian
+# export CXX=g++-4.7
+
+%:
+	dh $@  --with autotools-dev,python2 --parallel
--- upmpdcli-1.5.19.orig/debian/scweb.default
+++ upmpdcli-1.5.19/debian/scweb.default
@@ -0,0 +1,12 @@
+# Values for the upmpdcli Songcast Receiver control web interface
+
+# Actually start ? Not by default
+#SCWEB_DORUN=yes
+
+SCWEB_USER=upmpdcli
+
+# Address can 0.0.0.0 for all interfaces or empty for localhost only (default)
+#SCWEB_ADDRESS=
+
+# Choose port
+SCWEB_PORT=8680
--- upmpdcli-1.5.19.orig/debian/scweb.install
+++ upmpdcli-1.5.19/debian/scweb.install
@@ -0,0 +1,1 @@
+usr/share/upmpdcli/web
--- upmpdcli-1.5.19.orig/debian/source/format
+++ upmpdcli-1.5.19/debian/source/format
@@ -0,0 +1,1 @@
+3.0 (quilt)
--- upmpdcli-1.5.19.orig/debian/upmpdcli-config.install
+++ upmpdcli-1.5.19/debian/upmpdcli-config.install
@@ -0,0 +1,1 @@
+usr/bin/upmpdcli-config
--- upmpdcli-1.5.19.orig/debian/upmpdcli-deezer.install
+++ upmpdcli-1.5.19/debian/upmpdcli-deezer.install
@@ -0,0 +1,1 @@
+usr/share/upmpdcli/cdplugins/deezer
--- upmpdcli-1.5.19.orig/debian/upmpdcli.dsc
+++ upmpdcli-1.5.19/debian/upmpdcli.dsc
@@ -0,0 +1,14 @@
+Format: 1.0
+Source: upmpdcli
+Section: Misc
+Priority: extra
+Binary: upmpdcli
+Architecture: any
+Version: 1.5.13-1.1
+Maintainer: Manvendra Bhangui <npupnp@indimail.org>
+Homepage: https://framagit.org/medoc92/upmpdcli
+Debtransform-Release: 1
+Debtransform-Tar: upmpdcli-1.5.13.tar.gz
+Debtransform-Files-Tar: debian.tar.gz
+Standards-Version: 3.9.1
+Build-Depends: cdbs, debhelper (>= 10), gcc, g++, pkg-config, m4, gawk
--- upmpdcli-1.5.19.orig/debian/upmpdcli-hra.install
+++ upmpdcli-1.5.19/debian/upmpdcli-hra.install
@@ -0,0 +1,1 @@
+usr/share/upmpdcli/cdplugins/hra
--- upmpdcli-1.5.19.orig/debian/upmpdcli.init
+++ upmpdcli-1.5.19/debian/upmpdcli.init
@@ -0,0 +1,149 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          upmpdcli
+# Required-Start:    $network $local_fs $remote_fs 
+# Required-Stop:     $remote_fs
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: UPnP Renderer front-end to MPD
+# Description: upmpdcli is as an UPnP Media Renderer front-end 
+#    to MPD, and enables you to control it with any UPnP controller
+#    running, for example, on an Android tablet. It uses the MPD
+#    instance to actually play the tracks. A typical configuration
+#    would have for example, MPD running on a Raspberry PI, with
+#    upmpdcli on the same host or any other Linux PC on the network.
+### END INIT INFO
+
+# Author: Jean-Francois Dockes <jf@dockes.org>
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC=upmpdcli             # Introduce a short description here
+NAME=upmpdcli             # Introduce the short server's name here
+DAEMON=/usr/bin/upmpdcli # Introduce the server's location here
+DAEMON_ARGS="-D -c /etc/upmpdcli.conf"    # Arguments to run the daemon with
+PIDFILE=/var/run/$NAME.pid
+SCRIPTNAME=/etc/init.d/$NAME
+
+# Exit if the package is not installed
+[ -x $DAEMON ] || exit 0
+
+# Read configuration variable file if it is present
+[ -r /etc/default/$NAME ] && . /etc/default/$NAME
+
+# Load the VERBOSE setting and other rcS variables
+. /lib/init/vars.sh
+
+# Define LSB log_* functions.
+# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
+. /lib/lsb/init-functions
+
+#
+# Function that starts the daemon/service
+#
+do_start()
+{
+	# Return
+	#   0 if daemon has been started
+	#   1 if daemon was already running
+	#   2 if daemon could not be started
+	start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
+		|| return 1
+	start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
+		$DAEMON_ARGS \
+		|| return 2
+	# Add code here, if necessary, that waits for the process to be ready
+	# to handle requests from services started subsequently which depend
+	# on this one.  As a last resort, sleep for some time.
+}
+
+#
+# Function that stops the daemon/service
+#
+do_stop()
+{
+	# Return
+	#   0 if daemon has been stopped
+	#   1 if daemon was already stopped
+	#   2 if daemon could not be stopped
+	#   other if a failure occurred
+	start-stop-daemon --stop --quiet --retry=TERM/5/KILL/5 --pidfile $PIDFILE --name $NAME
+	RETVAL="$?"
+	[ "$RETVAL" = 2 ] && return 2
+	# Many daemons don't delete their pidfiles when they exit.
+	rm -f $PIDFILE
+	return "$RETVAL"
+}
+
+#
+# Function that sends a SIGHUP to the daemon/service
+#
+#do_reload() {
+	#
+	# If the daemon can reload its configuration without
+	# restarting (for example, when it is sent a SIGHUP),
+	# then implement that here.
+	#
+#	start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
+#	return 0
+#}
+
+case "$1" in
+  start)
+    [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME"
+    do_start
+    case "$?" in
+		0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+		2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+	esac
+  ;;
+  stop)
+	[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
+	do_stop
+	case "$?" in
+		0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+		2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+	esac
+	;;
+  status)
+       status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
+       ;;
+  #reload|force-reload)
+	#
+	# If do_reload() is not implemented then leave this commented out
+	# and leave 'force-reload' as an alias for 'restart'.
+	#
+	#log_daemon_msg "Reloading $DESC" "$NAME"
+	#do_reload
+	#log_end_msg $?
+	#;;
+  restart|force-reload)
+	#
+	# If the "reload" option is implemented then remove the
+	# 'force-reload' alias
+	#
+	log_daemon_msg "Restarting $DESC" "$NAME"
+	do_stop
+	case "$?" in
+	  0|1)
+		do_start
+		case "$?" in
+			0) log_end_msg 0 ;;
+			1) log_end_msg 1 ;; # Old process is still running
+			*) log_end_msg 1 ;; # Failed to start
+		esac
+		;;
+	  *)
+	  	# Failed to stop
+		log_end_msg 1
+		;;
+	esac
+	;;
+  *)
+	#echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
+	echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
+	exit 3
+	;;
+esac
+
+:
--- upmpdcli-1.5.19.orig/debian/upmpdcli.install
+++ upmpdcli-1.5.19/debian/upmpdcli.install
@@ -0,0 +1,25 @@
+etc
+usr/bin/scctl
+usr/bin/upmpdcli
+usr/share/upmpdcli/AVTransport.xml
+usr/share/upmpdcli/Analog-Input
+usr/share/upmpdcli/ConnectionManager.xml
+usr/share/upmpdcli/ContentDirectory.xml
+usr/share/upmpdcli/MS-description.xml
+usr/share/upmpdcli/OHCredentials.xml
+usr/share/upmpdcli/OHInfo.xml
+usr/share/upmpdcli/OHPlaylist.xml
+usr/share/upmpdcli/OHProduct.xml
+usr/share/upmpdcli/OHRadio.xml
+usr/share/upmpdcli/OHReceiver.xml
+usr/share/upmpdcli/OHTime.xml
+usr/share/upmpdcli/OHVolume.xml
+usr/share/upmpdcli/RenderingControl.xml
+usr/share/upmpdcli/cdplugins/pycommon
+usr/share/upmpdcli/description.xml
+usr/share/upmpdcli/presentation.html
+usr/share/upmpdcli/protocolinfo.txt
+usr/share/upmpdcli/radio_scripts
+usr/share/upmpdcli/rdpl2stream
+usr/share/upmpdcli/src_scripts
+usr/share/upmpdcli/upmpdcli.conf-dist
--- upmpdcli-1.5.19.orig/debian/upmpdcli-qobuz.install
+++ upmpdcli-1.5.19/debian/upmpdcli-qobuz.install
@@ -0,0 +1,1 @@
+usr/share/upmpdcli/cdplugins/qobuz
--- upmpdcli-1.5.19.orig/debian/upmpdcli-radios.install
+++ upmpdcli-1.5.19/debian/upmpdcli-radios.install
@@ -0,0 +1,1 @@
+usr/share/upmpdcli/cdplugins/upradios
--- upmpdcli-1.5.19.orig/debian/upmpdcli.service
+++ upmpdcli-1.5.19/debian/upmpdcli.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=UPnP Renderer front-end to MPD
+After=network-online.target mpd.service
+Wants=network-online.target
+
+[Service]
+Type=simple
+# Note: if start fails check with "systemctl status upmpdcli"
+ExecStart=/usr/bin/upmpdcli -c /etc/upmpdcli.conf
+# For some reason, it happens the first start of libupnp fails. Probably
+# this should be started later in the start sequence, but I don't know
+# how. Retry a bit later.
+Restart=always
+RestartSec=1min
+
+[Install]
+WantedBy=multi-user.target
--- upmpdcli-1.5.19.orig/debian/upmpdcli-spotify.install
+++ upmpdcli-1.5.19/debian/upmpdcli-spotify.install
@@ -0,0 +1,1 @@
+usr/share/upmpdcli/cdplugins/spotify
--- upmpdcli-1.5.19.orig/debian/upmpdcli-tidal.install
+++ upmpdcli-1.5.19/debian/upmpdcli-tidal.install
@@ -0,0 +1,1 @@
+usr/share/upmpdcli/cdplugins/tidal
--- upmpdcli-1.5.19.orig/debian/upmpdcli-uprcl.install
+++ upmpdcli-1.5.19/debian/upmpdcli-uprcl.install
@@ -0,0 +1,1 @@
+usr/share/upmpdcli/cdplugins/uprcl
--- upmpdcli-1.5.19.orig/debian/watch
+++ upmpdcli-1.5.19/debian/watch
@@ -0,0 +1,23 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage
+# <Webpage URL> <string match>
+http://www.lesbonscomptes.com/upmpdcli/ upmpdcli-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/upmpdcli-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/upmpdcli-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for devscripts >= 2.9
+# http://sf.net/upmpdcli/upmpdcli-(.*)\.tar\.gz
+
+# Uncomment to find new files on GooglePages
+# http://example.googlepages.com/foo.html upmpdcli-(.*)\.tar\.gz
