INTERACT FORUM

Please login or register.

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

Author Topic: How do I start playback of library items from MCWS?  (Read 1674 times)

Mastiff

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1977
  • The Multi-Zone Tzar
How do I start playback of library items from MCWS?
« on: April 29, 2021, 06:02:19 am »

I have found the function to play playlists, here to my boat Mad Max which has the address 192.168.2.101 when it's docked:

http://192.168.2.101:16000/MCWS/v1/Playback/PlayPlaylist?Zone=-1&ZoneType=ID&PlaylistType=ID

But from there to actually play the playlist wasn't as easy as I thought. My best guess was this:

http://192.168.2.101:16000/MCWS/v1/Playback/PlayPlaylist?Playlist=BoatMusic&Zone=-1&ZoneType=ID&PlaylistType=ID

Or this:
http://192.168.2.101:16000/MCWS/v1/Playback/PlayPlaylist?Zone=-1&ZoneType=ID&Playlist=BoatMusic&PlaylistType=ID

But none of them will play the playlist BoatMusic. The response is "OK" in the browser, but nothing happens in Media Center. Can somebody please let me know what I should do? Also, what shold I do if there is a space in the name of the playlist?
Logged
Tor with the Cinema Inferno & Multi-Zone Audio system

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41920
  • Shoes gone again!
Re: How do I start playback of library items from MCWS?
« Reply #1 on: April 29, 2021, 06:56:45 am »

Playlist type shouldn't be ID if you're passing a name.
Logged
Matt Ashland, JRiver Media Center

Mastiff

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1977
  • The Multi-Zone Tzar
Re: How do I start playback of library items from MCWS?
« Reply #2 on: April 29, 2021, 07:03:16 am »

Thanks for answering, Matt! So I should use path, then? But how do I format that?
Logged
Tor with the Cinema Inferno & Multi-Zone Audio system

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41920
  • Shoes gone again!
Re: How do I start playback of library items from MCWS?
« Reply #3 on: April 29, 2021, 07:06:50 am »

I think it's just playlist type of path.
Logged
Matt Ashland, JRiver Media Center

Mastiff

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1977
  • The Multi-Zone Tzar
Logged
Tor with the Cinema Inferno & Multi-Zone Audio system

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41920
  • Shoes gone again!
Re: How do I start playback of library items from MCWS?
« Reply #5 on: April 29, 2021, 07:53:42 am »

This just worked for me:
http://localhost:52199/MCWS/v1/Playback/PlayPlaylist?Zone=-1&ZoneType=ID&Playlist=Phillip&PlaylistType=Path

You don't need Playlists\ in front of the name unless you actually have a "Playlists" group.
Logged
Matt Ashland, JRiver Media Center

Mastiff

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1977
  • The Multi-Zone Tzar
Re: How do I start playback of library items from MCWS?
« Reply #6 on: April 29, 2021, 07:57:56 am »

Thank you! That worked, yeah. Removing the Playlists\ did the trick.
Logged
Tor with the Cinema Inferno & Multi-Zone Audio system

Mastiff

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1977
  • The Multi-Zone Tzar
Re: How do I start playback of library items from MCWS?
« Reply #7 on: April 29, 2021, 02:16:54 pm »

Btw is there a similar way to put in single tracks, or is it better to create playlists for each of the tracks I want to have on hand for this shortlist?
Logged
Tor with the Cinema Inferno & Multi-Zone Audio system
Pages: [1]   Go Up