Moode Forum
Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) (/showthread.php?tid=3278)

Pages: 1 2 3 4 5 6 7


RE: Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) - TheOldPresbyope - 01-12-2021

(01-12-2021, 02:12 PM)Tim Curtis Wrote: @TheOldPresbyope, JF sent a new Python3 based albumart utility. I forwarded you the emails :-)

We should plan to convert to that util from upexplorer. It also saves having to compile the samples.

Fantastic. Not only code we need but code I can read!

I’ll check it out in a bit.

Regards,
Kent


RE: Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) - zOr7gA8 - 01-17-2021

(01-12-2021, 02:47 PM)TheOldPresbyope Wrote:
(01-12-2021, 02:12 PM)Tim Curtis Wrote: @TheOldPresbyope, JF sent a new Python3 based albumart utility. I forwarded you the emails :-)

We should plan to convert to that util from upexplorer. It also saves having to compile the samples.

Fantastic. Not only code we need but code I can read!

I’ll check it out in a bit.

Regards,
Kent

any update so far?


RE: Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) - Tim Curtis - 01-17-2021

Works ok on my end testing with miniDLNA server. Linn Kazoo and UPnP Config set to Openhome services = yes.
- upmpdcli 1.5.8
- python album art fetcher


RE: Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) - zOr7gA8 - 01-17-2021

(01-17-2021, 02:54 PM)Tim Curtis Wrote: Works ok on my end testing with miniDLNA server. Linn Kazoo and UPnP Config set to Openhome services = yes.
- upmpdcli 1.5.8
- python album art fetcher

is this what the changed build recipe is having here:
Code:
sudo cp ./moode/other/upmpdcli/libupnpp-bindings-0.20.1.tar.gz ./
sudo tar xfz libupnpp-bindings-0.20.1.tar.gz
cd libupnpp-bindings-0.20.1
sudo ./configure --prefix=/usr PYTHON_VERSION=3
sudo make
sudo make install
cd ~
sudo rm -rf ./libupnpp-bindings-0.20.1
??


if yes, I would test too.


RE: Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) - TheOldPresbyope - 01-17-2021

That's just the prereq.

The new script is /var/www/command/upnp_albumart.py

Regards,
Kent


RE: Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) - zOr7gA8 - 01-17-2021

(01-17-2021, 08:56 PM)TheOldPresbyope Wrote: That's just the prereq.

The new script is /var/www/command/upnp_albumart.py

Regards,
Kent

ok. thanks.


RE: Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) - TheOldPresbyope - 01-17-2021

(01-17-2021, 09:00 PM)zOr7gA8 Wrote:
(01-17-2021, 08:56 PM)TheOldPresbyope Wrote: That's just the prereq.

The new script is /var/www/command/upnp_albumart.py

Regards,
Kent

ok. thanks.


Oops, sorry. I forgot to mention that a line in /var/www/inc/playerlib.php was modified to call this new script.


RE: Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) - Tim Curtis - 01-17-2021

Right, you'll need

1. The recipe to build and install libupnpp-bindings-0.20.1
2. /var/www/command/upnp_albumart.py
3. /var/www/inc/playerlib.php

Optionally the recipe to build and install upmpdcli 1.5.8


RE: Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) - zOr7gA8 - 01-19-2021

(01-17-2021, 09:48 PM)Tim Curtis Wrote: Right, you'll need

1. The recipe to build and install libupnpp-bindings-0.20.1
2. /var/www/command/upnp_albumart.py
3. /var/www/inc/playerlib.php

Optionally the recipe to build and install upmpdcli 1.5.8

can' test this. with files for 2. and 3. taken out of git (moode-develop) I get an mpd error. no playback.


RE: Official moOde 7.0.0 subthread [Plugins] (e.g. UPNP) - TheOldPresbyope - 01-19-2021

(01-19-2021, 04:32 PM)zOr7gA8 Wrote:
(01-17-2021, 09:48 PM)Tim Curtis Wrote: Right, you'll need

1. The recipe to build and install libupnpp-bindings-0.20.1
2. /var/www/command/upnp_albumart.py
3. /var/www/inc/playerlib.php

Optionally the recipe to build and install upmpdcli 1.5.8

can' test this. with files for 2. and 3. taken out of git (moode-develop) I get an mpd error. no playback.

I'm away from my test system so can't comment on details.

In general, it's a bad idea to cherrypick important system files like playerlib.php from the github develop branch. It may contain many commits since the last release, one or more of which may be pertinent to this specific issue but also others which are not pertinent but which depend on commits made to other files too.

When I tested the upnp_albumart.py script I edited only the line in my working playerlib.php which invoked the previous script, upexplorer.

Regards,
Kent