INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: SHUFFLE ALBUMS in Media Center Automation  (Read 195 times)

PhDSM

  • Regular Member
  • World Citizen
  • ***
  • Posts: 195
SHUFFLE ALBUMS in Media Center Automation
« on: January 10, 2025, 03:15:14 am »

Hello everybody,

Is there a shuffle-album function Media Center Automation ?
I found it in MCC (10073) but not in MCA.
Does it exist ?
If not, will we get it one day ?
Thanks
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2724
Re: SHUFFLE ALBUMS in Media Center Automation
« Reply #1 on: January 10, 2025, 04:10:45 am »

You can use MJCurPlaylistAutomation.ReShuffleFiles() to shuffle the Playing Now playlist:
https://wiki.jriver.com/index.php/MJCurPlaylistAutomation

Use GetCurPlayList() to get the interface object.

The COM Automation API is kind of deprecated. Why not use MCWS instead which has an API to execute any MCC command?
Logged

PhDSM

  • Regular Member
  • World Citizen
  • ***
  • Posts: 195
Re: SHUFFLE ALBUMS in Media Center Automation
« Reply #2 on: January 10, 2025, 04:44:17 am »

Thanks for your reply,

I know the  MJCurPlaylistAutomation.ReShuffleFiles()  but it does a standard reshuffle  not and Album Reshulffle.

Tell me more about  COM Automation API depreciation, I use it a lot, I have a big set of Python apps doing various things.
Does it mean that one day there will be no COM API access anymore ?
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2724
Re: SHUFFLE ALBUMS in Media Center Automation
« Reply #3 on: January 10, 2025, 04:47:51 am »

It likely won't go away but there are no new features/APIs added for many years now. I've switched my tools to the REST-based MCWS which is more functional and frequently updated. Other devs are also using MCWS with their python scripts/tools.

Another advantage is that it works on Linux and Mac too.
Logged
Pages: [1]   Go Up