Background
pulseaudio-dlna seems unsupported and is no longer available on recent Debian suites.
On the AUR, it has been moved to pulseaudio-dlna-cygn, and it’s unclear how long that package is going to be supported.
I need to add support for pa-dlna to funiculi so it remains functional in the long run.
Overview
See following patch snippet:
diff --git a/README.md b/README.md
index 571e35b..cdfa196 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,7 @@ You need the following software installed on your system:
- [`ncat`](https://github.com/nmap/nmap/tree/master/ncat#readme)
- [`pulseaudio-dlna`](https://github.com/Cygn/pulseaudio-dlna)
+ or [`pa-dlna`](https://gitlab.com/xdegaye/pa-dlna)
## Installation
diff --git a/debian/control b/debian/control
index 6f32684..f069bb5 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,12 @@ Rules-Requires-Root: no
Package: funiculi
Architecture: all
-Depends: ${python3:Depends}, ${misc:Depends}, ncat, pulseaudio-dlna, python3-colorama, python3-fire
+Depends: ${python3:Depends},
+ ${misc:Depends},
+ ncat,
+ pa-dlna | pulseaudio-dlna,
+ python3-colorama,
+ python3-fire
Description: Control Denon amplifiers from the command line (Python 3)
CLI tool to interact with Denon AVR amplifiers over the local network.
Turn the unit on and off, change volume, and stream music to it over
Draft
Background
pulseaudio-dlnaseems unsupported and is no longer available on recent Debian suites.On the AUR, it has been moved to
pulseaudio-dlna-cygn, and it’s unclear how long that package is going to be supported.I need to add support for
pa-dlnato funiculi so it remains functional in the long run.Overview
See following patch snippet:
Draft
pa-dlnaoutputs and find that URN in the UPNP descriptor XML file of the devicexmltodictpackage to parse the descriptor file for the correct URN, and usetempfile.NamedTemporaryFileto write a temporary configuration file for pa-dlna so it connects to the correct devicepa-dlna