INTERACT FORUM

Please login or register.

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

Author Topic: Remote control for playlist MCWS  (Read 2669 times)

toodooleedoo

  • Recent member
  • *
  • Posts: 22
Remote control for playlist MCWS
« on: March 23, 2013, 05:38:09 pm »

I am using Unified Remote to control JRiver and since the out of the box remote was very lacking I created my own and its working great.  I can actually post the XML if anyone is interested, however I am now working on creating a new button set to launch my favorite playlist.

This is an example of what I have now which actually works great.  I used the Web remote and went to playlist and put the command that used here

Code: [Select]
<Action Name="JRiver PL Web Media">
<ActionRef Name="Post" Target="Core.Web" Extra="http://localhost:52199/WebRemote/library.html?LibraryLocation=1008&#38;Command=Shuffle"/>
</Action>


This works great except the Web Remote requires my password and Unified Remote does not allow POST/GET with password Authentications.  When I disable my password in the JRiver settings my remote works fine however I later realized when updating things on my separate PC that JRiver requires a password to do any changes so I had to put the password back.

I noticed the MCWS does not require a password and seems to do basically the same thing with REST logic however I have not been able to figure out how to trigger a playlist.  Can anyone help I found the command to display all of my playlists and found this information surrounding the playlist I want to play

Code: [Select]
<Item>
<Field Name="ID">
531723557
</Field>
<Field Name="Name">
Kids Favs
</Field>
<Field Name="Path">
Kids Favs
</Field>
<Field Name="Type">
Playlist
</Field>
</Item>

Question is how can I play a playlist through MCWS?  

Logged

toodooleedoo

  • Recent member
  • *
  • Posts: 22
Re: Remote control for playlist MCWS
« Reply #1 on: March 23, 2013, 06:53:52 pm »

With a bit more tinkering I got it :)

Do this to get your Playlist ID
http://localhost:52199/MCWS/v1/Playlists/List

Then like this to play it
http://localhost:52199/MCWS/v1/Playlist/Files?PlaylistType=ID&Action=Play&Playlist=531723557

Since Unified Remote doesn't like the ampersands configure the URL like this (this took me a LONG time to figure out)

Code: [Select]
<ActionRef Name="Post" Target="Core.Web" Extra="http://localhost:52199/MCWS/v1/Playlist/Files?PlaylistType=ID&#38;Action=Play&#38;Playlist=531723557"/>
And boom now I can make widgets on my homescreen and just launch stuff this remote is coming along GREAT!

Thanks for the REST support JRiver and feel free to bonk unified remote on the head for having such a lame out of the box remote :)



Logged

toodooleedoo

  • Recent member
  • *
  • Posts: 22
Re: Remote control for playlist MCWS
« Reply #2 on: March 23, 2013, 10:49:20 pm »

Bah really talking to myself here but just noticed that it actually is not working as the rest is also hidden behind the library password.  I didn't catch my browser had it cached.  My only solution is to disable the password when I want to use Unified Remote and turn it on when I want to do library updates from my laptop.   A bit of a pain wish I could remote this restriction from JRiver.

Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Remote control for playlist MCWS
« Reply #3 on: March 23, 2013, 11:51:31 pm »

You can use the username:password@ in the URL, but it might trigger a warning.  Try it out:

   http://username:password@localhost:52199/MCWS/v1/Playlists/List
Logged
The opinions I express represent my own folly.

toodooleedoo

  • Recent member
  • *
  • Posts: 22
Re: Remote control for playlist MCWS
« Reply #4 on: March 23, 2013, 11:59:49 pm »

It's not working for me I did raise a ticket though on Unified Remote' support in hopes they can add username/password functionality.

I am surprised JRiver forces an authentication password I  understand why they would recommend it but the fact I am in a secure network with strict firewall settings I am not worried about security.

Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Remote control for playlist MCWS
« Reply #5 on: March 24, 2013, 12:09:29 am »

Turn off Authentication in Media Network, and it won't be required.
Logged
The opinions I express represent my own folly.

toodooleedoo

  • Recent member
  • *
  • Posts: 22
Re: Remote control for playlist MCWS
« Reply #6 on: March 24, 2013, 07:37:29 am »

If you turn off authentication you can not perform file deletions update and do some other tasks.  I forget the actual popup message now but JRiver warned me basically I am in read only mode.

Logged
Pages: [1]   Go Up