Mopy Stops Play From Now Playing after one song... After Update

Hi, Strange upgrade problem. Let me start with as little config info as I can as it may just be “Too Old upgrade this (OS or Python ???)”. Mopidy, which runs as a service, has worked fine for years until yesterday.
Mopidy is installed from Apt on a Raspberry Pi 4 Model B Rev 1.4 “Debian GNU/Linux 10 (buster)”

mopidy/stable,stable,now 3.4.2-2 all [installed]
mopidy-local/stable,stable 3.2.1-1 all
mopidy-tunein/stable,stable,now 1.1.0-1 all [installed]
(Note Local is installed by python.

Python is also installed by apt
sudo python --version
Python 3.7.3

I think apt (Which I usually run weekly) pushed a mopidy update??? But I was not watching so I do not know.

To update python mods I ran (which I usually do monthly but have not done in ?? a while)
sudo python3 -m pip install -U pip; sudo python3 -m pip install -U Mopidy-Local Mopidy-Iris yt-dlp youtube-dl Mopidy-YouTube Mopidy-MusicBox-Webclient Mopidy-TuneIn

After these updates, on this OS with this Python, etc.
When I queue up multiple songs to play. It will play only the first song and stop. Play another from now playing and it will play it and stop again. Looking at Loglevel 4 does not show a smoking gun just that it transitions from Playing to Stop (even though there are more songs in the queue.

I have tried restart, disable/enable, reboot, IRIS, ncmpc, changed apt to repos to bookworm and reinstalled (did not change problem but still seems to work on Buster)…

So is this just me? PiOS, Python, Local not loading from apt? Something else that is known??? Or should I just nuke and pave? (honestly I would n&p and it is probalby time but the library is so big that it is a pain to copy at the SD Micro and USB speeds :frowning: )

Thanks for any help. If wanted I can drop the mopidy config and raspinfo (but this seems to be a one off)

Update1: I noticed in IRIS That in The “Now Playing” the track being played is not turning to green (the sign that that is the track playing)… If I turn on repeat, it will play the same song over and over… It is like even though the queue shows tracks (in all clients like IRIS and ncmpc)

Off the top of my head I don’t know why this has suddenly stopped working for you. There was a release recently and although your system is obsolete and unsupported, it should have remained working. You could try reinstalling the previous version of Mopidy as a test? It’s possible we broke something when Mopidy is used with an ancient of gstreamer but it’s not worth debugging that, we simply don’t support it.

However, You should upgrade your system. buster is far too old and the OS stopped receiving security updates last month.

@afred Have you checked whether you have “single” mode enabled? (This is documented here). Not sure this is exposed through Iris… With Argos you have a button on top-right:

Thank you KOS , that is kind of what I thought too… I like Matthias’s Idea and may try to run it to ground a bit. Is there a reason Argos in not found at Extensions ?

Because strictly speaking Argos isn’t an extension; It’s a client implemented as a desktop application, not a web application distributed through Mopidy server.

Thank you… You got it. IRIS (afaik) does not expose single.

Using mpc:

pi@mop4b:~ $ mpc -h 192.168.7.7 -p 6600 single off
Lou Reed - Perfect Day
[playing] #1/110   0:13/3:44 (5%)
volume:100%   repeat: off   random: on    single: off   consume: off
pi@mop4b:~ $

It is now working :slight_smile:

I would have liked to see the state of singe before I did this but alas…
Perhaps I will try

Possible API/API Docs issue
I thought the same thing but the API states that singe should be disabled when Random is ON (at least that is what I understand); however, with a little testing I see that Random can be on but Single state is on too, and it does indeed stop after the current playing track.

Perhaps, the docs should be updated to reflect this or??? API set_single
I confused Random with Repeat
Random + Single Plays random song and stops as expected
Repeat + Single plays the current song over and over and over as expected

pi@mop4b:~ $  export MPD_HOST=192.168.7.7
pi@mop4b:~ $ export MPD_PORT=6600
pi@mop4b:~ $ mpc
The Dave Brubeck Quartet - Take Five
[playing] #68/110   5:27/6:29 (84%)
volume:100%   repeat: off   random: off   single: on    consume: off
pi@mop4b:~ $ mpc random on
The Dave Brubeck Quartet - Take Five
[playing] #68/110   6:02/6:29 (93%)
volume:100%   repeat: off   random: on    single: on    consume: off
pi@mop4b:~ $ mpc
volume:100%   repeat: off   random: on    single: on    consume: off

mpc -h 192.168.7.7 -p 6600 status should show the state of single without changing it.

You can have combinations of single and random. The docs you link to only indicate how playback works when single and repeat is enabled at the same time, so I’m not certain what docs you are referring to.

Thank you… You got it. (…)

Good to know.

It was not just an idea. I faced the same strange behavior: After last update (through apt update too), Mopidy stopped playing more than one track from the tracklist. It took me a while to realize that single mode had been mysteriously enabled (mode I never uses) I presume by the update…

@jodal

Thanks. Just using mpc seems to show the state too…

Doh! It says Repeat… I read it as Random :frowning:

All is well here, nothing to see, move along :slight_smile:
Thanks again.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.