Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playlist repeats even though repeat is off #2942

Open
1 task done
madbrain76 opened this issue Sep 19, 2024 · 32 comments
Open
1 task done

Playlist repeats even though repeat is off #2942

madbrain76 opened this issue Sep 19, 2024 · 32 comments
Labels

Comments

@madbrain76
Copy link

madbrain76 commented Sep 19, 2024

What version of Music Assistant has the issue?

2.3.0b25

What version of the Home Assistant Integration have you got installed?

None

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

  • Yes

The problem

A playlist repeats when it shouldn'

How to reproduce

  1. Load a playlist. I used an MA playlist made of Qobuz tracks
  2. Play it . I used a group of 2 Chromecast devices (WiiM Pro Plus)
  3. Listen to the end. It will play through, but then repeat.

In this latest occurrence, it seems that the last track of the playlist repeated many times. I can't say exactly which tracks repeated previously, but I have heard the repeat problem occur in the past, just not very frequently. Unfortunately, it is intermittent.

Music Providers

Qobuz (no other)

Player Providers

Chromecast, group of 2 . Have not tried others.

Full log output

ma_playlist_repeat.log

Additional information

No response

What version of Home Assistant Core are your running

2024.9.2

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Windows

@OzGav
Copy link
Contributor

OzGav commented Sep 19, 2024

Please look at the troubleshooting page again for what we want in these reports to narrow this down.

@madbrain76
Copy link
Author

Please look at the troubleshooting page again for what we want in these reports to narrow this down.

I did. What am I missing ? Has something changed recently with the reporting guidelines ?

@OzGav
Copy link
Contributor

OzGav commented Sep 19, 2024

Please include the following in ALL reports:

What music provider is in use when the problem is observed? What other music providers have you tried (if you have no others then make that clear)
What player provider is in use when the problem is observed? What other player providers have you tried (if you have no others then make that clear)
Are the players grouped?
How is playback being instigated (e.g. automation or via the UI)
If you aren't using HAOS then exactly how you have installed MA
What is working (e.g. player works with music provider X but not Y)
What you have tried from this page that hasn't helped

@madbrain76
Copy link
Author

I would suggest that these questions be included in the reporting template and/or form, as that is a long list.

I believe most of the information was provided, except how the playback was being instigated. It's via the UI, not automation.

With this being a fairly rare and intermittent problem, I can't really answer about what other player providers might or might not work. It is not an easily reproducible problem. It happened 2 days in a row, but before that it might have been a week or two.

@OzGav
Copy link
Contributor

OzGav commented Sep 19, 2024

No the main thing of interest is what else you have tried. Those WiiMs have multiple protocols so you should have tried the others to see if this can be narrowed down

edit: And the third thing on the issue template directs you to the troubleshooting page to go through that and the open and closed issues

@madbrain76
Copy link
Author

The DLNA player provider is too dysfunctional for me to try.

That leaves Airplay. I will give it a try.

@madbrain76
Copy link
Author

So far, I didn't reproduce it with Airplay or an Airplay group, but I don't really think that means anything. I would have to use Airplay consistently for a week or two before I might be able to conclude.

@OzGav
Copy link
Contributor

OzGav commented Sep 20, 2024

Then please continue to use AirPlay so this can be narrowed down

@madbrain76
Copy link
Author

Then please continue to use AirPlay so this can be narrowed down

I am doing that. However, my most frequently used device is a CCA, which doesn't support Airplay or DLNA.
It's impossible to predict when I will be reproduce this, even on the device I reported it on.

I would strongly recommend reviewing the log I attached. It may be the best bet at understanding the problem for the foreseeable future.

@madbrain76
Copy link
Author

I am seeing another repeat issue. This time, the entire playlist repeats, not just the last track, repeated many times.
This time, it's a Qobuz playlist, not an MA playlist.

It happened on my ungrouped CCA . There is no option to use Airplay or DLNA.
Eventually, the playlist stopped on its own.

ma_playlist_repeat_2.log

@OzGav
Copy link
Contributor

OzGav commented Sep 23, 2024

I think this is a Chromecast issue so please continue to monitor with your Airplay dvices where able.

@Panoramiac
Copy link

Panoramiac commented Sep 23, 2024

Today I had the same issue playing a local (network) mp3 album via DLNA on my Denon AVR-X1300W. The last track was repeated in a loop. The log shows nothing about this. Would enhanced logging help? The tracks are also not moved to the played list (need to check if another bug report was opened for this).

Edit: Here is a logfile showing the repeating play of the last track (DEBUG level).
MusicAssistant3.log

Copy link
Contributor

github-actions bot commented Oct 1, 2024

This issue is stale because it has been open 7 days with no activity after asking for more info. Comment or this will be closed in 3 days.

@github-actions github-actions bot added the Stale label Oct 1, 2024
@OzGav
Copy link
Contributor

OzGav commented Oct 1, 2024

Keeping open

@github-actions github-actions bot removed the Stale label Oct 2, 2024
Copy link
Contributor

github-actions bot commented Oct 9, 2024

This issue is stale because it has been open 7 days with no activity after asking for more info. Comment or this will be closed in 3 days.

@github-actions github-actions bot added the Stale label Oct 9, 2024
@madbrain76
Copy link
Author

More info was provided earlier. I'm currently abroad and without access to MA.

@OzGav
Copy link
Contributor

OzGav commented Oct 9, 2024

Have you ever seen the problem occur with Airplay?

@OzGav OzGav removed the Stale label Oct 9, 2024
Copy link
Contributor

This issue is stale because it has been open 7 days with no activity after asking for more info. Comment or this will be closed in 3 days.

@github-actions github-actions bot added the Stale label Oct 17, 2024
@OzGav
Copy link
Contributor

OzGav commented Oct 17, 2024

Keeping open for another week but we need to nail down whether this is just a Cast issue or wider

@github-actions github-actions bot removed the Stale label Oct 18, 2024
@Panoramiac
Copy link

Keeping open for another week but we need to nail down whether this is just a Cast issue or wider

How can we support you? I uploaded the log file in my post above. In my case, I use DLNA and an AV receiver. So no Apple Airplay involved.

@OzGav
Copy link
Contributor

OzGav commented Oct 21, 2024

@Panoramiac We need testing done which can show the behaviour is repeatable with one combination of player and music provider. So for example, in your case, use DLNA for 1-2 days and observe this keeps happening. Then switch to, for example, snapcast for 1-2 days and observe it never happens (or still happens!). Lets say it doesn't happen then go back to DLNA and try different music providers. Lets say it only happened with Spotify. Then go through and try single track, full album, full artist and a playlist. From this you should be able to nail down the specific combination of factors that cause this behaviour and then the devs can know where to look.

@marcelveldt
Copy link
Member

@madbrain76 can you, as original issue poster, test if the latest version fixes the issue for you ?

@Panoramiac
Copy link

@Panoramiac We need testing done which can show the behaviour is repeatable with one combination of player and music provider. So for example, in your case, use DLNA for 1-2 days and observe this keeps happening. Then switch to, for example, snapcast for 1-2 days and observe it never happens (or still happens!). Lets say it doesn't happen then go back to DLNA and try different music providers. Lets say it only happened with Spotify. Then go through and try single track, full album, full artist and a playlist. From this you should be able to nail down the specific combination of factors that cause this behaviour and then the devs can know where to look.

Need to see when I will have time for this. Have a huge construction side at my house and my NAS is shut down.

@madbrain76
Copy link
Author

I will keep trying to reproduce with Airplay now that I'm back home. I did not see it occur prior to my travel except on Chromecast.

@OzGav
Copy link
Contributor

OzGav commented Oct 26, 2024

Do try again with chromecast and see if it is still reproducible at least with that.

@Panoramiac
Copy link

@Panoramiac We need testing done which can show the behaviour is repeatable with one combination of player and music provider. So for example, in your case, use DLNA for 1-2 days and observe this keeps happening. Then switch to, for example, snapcast for 1-2 days and observe it never happens (or still happens!). Lets say it doesn't happen then go back to DLNA and try different music providers. Lets say it only happened with Spotify. Then go through and try single track, full album, full artist and a playlist. From this you should be able to nail down the specific combination of factors that cause this behaviour and then the devs can know where to look.

Currently, the playback stops after one track. Gues this is #3078, so we need to wait until this is fixed. Here is the log file:

MusicAssistant5.log

@OzGav
Copy link
Contributor

OzGav commented Oct 29, 2024

@Panoramiac that issue should be resolved in the latest stable/beta

@madbrain76
Copy link
Author

Do try again with chromecast and see if it is still reproducible at least with that.

I have tried to reproduce, so far to no avail, regardless of the type of player. I'll keep trying.

@OzGav
Copy link
Contributor

OzGav commented Oct 30, 2024

If you get to the point you are happy this is no longer occuring then please close this one.

@madbrain76
Copy link
Author

Unfortunately, I just had this happen again on 2.4.0b4, using a Google-branded Chromecast audio, with a Qobuz playlist.

ma-repeat.log

Copy link
Contributor

This issue is stale because it has been open 7 days with no activity after asking for more info. Comment or this will be closed in 3 days.

@github-actions github-actions bot added the Stale label Nov 14, 2024
@OzGav
Copy link
Contributor

OzGav commented Nov 14, 2024

We will look further into this when able although it doesnt seem widespread….

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants