Setting shuffle mode via api [#21431]

To discuss development of addons / skins / customization of MediaMonkey v5 / v2024

Moderators: jiri, drakinite, Addon Administrators

Sam_H
Posts: 10
Joined: Fri May 13, 2022 5:27 am

Setting shuffle mode via api [#21431]

Post by Sam_H »

I am trying to set the shuffle state via the api e.g.;

Code: Select all

app.player.shufflePlaylist=true

Code: Select all

app.player.shufflePlaylist=false
In MM5 this worked as expected. With the new shuffle behaviour in MM2024 this no longer functions as expected. When setting shufflePlaylist the shuffle button/icon on the player does respond to the change but the now playing list is not modified and so the tracks play in order.

I would expect setting;

Code: Select all

app.player.shufflePlaylist=!app.player.shufflePlaylist
to have the same effect as pressing the toggling the shuffle button in the UI but this is not the case.

I'm running on the current release 2024.0.0.3082
MiPi
Posts: 902
Joined: Tue Aug 18, 2009 2:56 pm
Location: Czech Republic
Contact:

Re: Setting shuffle mode via api

Post by MiPi »

You are right, thanks for reporting, added as https://www.ventismedia.com/mantis/view.php?id=21431, to be fixed soon.
Sam_H
Posts: 10
Joined: Fri May 13, 2022 5:27 am

Re: Setting shuffle mode via api [#21431]

Post by Sam_H »

I can confirm that the shuffle api is working correctly for me in 2024.1.0.3103 Alpha.
Peke
Posts: 18309
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Setting shuffle mode via api [#21431]

Post by Peke »

Hi,
Great, THX for update and report on bug.

Happy Monkeying!
Best regards,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
Post Reply