Mopidy install problem - Raspberry pi 4b

Trying to install mopidy on Raspberry pi 4b.

The article I am using ( Build a home music system with Raspberry Pi — The MagPi magazine) says to first use this command :

wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -

I get the following error message :
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).

The Mopidy INstall documentation also says the same thing, to use that command
https://docs.mopidy.com/en/latest/installation/debian/#debian-install

The sequence of commands recommended to use for mopidy install :

wget -q -O - https://apt.mopidy.com/mopidy.gpg | sudo apt-key add -
sudo wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/buster.list
sudo apt update

???
Any help and advice is appreciated !

I think it still worked though, didn’t it? It’s a warning saying that it’s deprecated, not an error saying it didn’t work.

I think it partially works…but the Mopidy documentation for installation instructions should be updated to account for this error message seen…

I still question if Mopidy is working → see the other issue I posted, where I get sound from a streaming radio website, but if I use IRIS and try to play an album, no sound.

Here’s an article talking about it. Apparently the next Ubuntu LTS will be the last version to support that method.

This has already been raised as an issue to be fixed.