Setting shuffle mode via api [#21431]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Setting shuffle mode via api [#21431]

Re: Setting shuffle mode via api [#21431]

by Peke » Thu Jan 16, 2025 8:31 am

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

Happy Monkeying!

Re: Setting shuffle mode via api [#21431]

by Sam_H » Thu Jan 16, 2025 7:09 am

I can confirm that the shuffle api is working correctly for me in 2024.1.0.3103 Alpha.

Re: Setting shuffle mode via api

by MiPi » Sat Jan 11, 2025 3:08 am

You are right, thanks for reporting, added as https://www.ventismedia.com/mantis/view.php?id=21431, to be fixed soon.

Setting shuffle mode via api [#21431]

by Sam_H » Fri Jan 10, 2025 5:04 pm

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

Top