INTERACT FORUM
More => Old Versions => JRiver Media Center 24 for Mac => Topic started by: MrBiff on December 21, 2018, 12:20:46 pm
-
Do the MCWS Control/CommandLine functions that take file name or tree paths work on macOS ?
Examples that do not seem to work:
http://192.168.0.10:52199/MCWS/v1/Control/CommandLine?Arguments=%2FAppend%20%2FUsers%2Fedm%2FMusic%2F01.mp3 ==> 200 OK
http://192.168.0.10:52199/MCWS/v1/Control/CommandLine?Arguments=%2FAppend%20TREEPATH%3DPlaylists%5CHoliday ==> 200 OK
If not, is there another method to add items in a tree path to Now Playing, like the second example?
-
Oof - this doesn't even work on Windows:
mc24.exe /ShowTreePath "TREEPATH=Audio"
-
That's because the syntax does not have "TREEPATH=" in it.
For example, this works:
MC24.exe /ShowTreePath "Audio"
-
I see. My mistake on the Windows example.
How about example 2 in the MCWS commands above?
-
This works on Windows, but not macOS.
... /MCWS/v1/Control/CommandLine?Arguments=%2FShowTreePath%20Playlists\Testing1
-
It seems like you are trying to shoehorn in command line type commands into MCWS for functions that it already does natively. For example, PlayPlayList is a native MCWS command.
Maybe you have a use case I'm not familiar with?
Brian.
-
It seems like you are trying to shoehorn in command line type commands into MCWS for functions that it already does natively. For example, PlayPlayList is a native MCWS command.
Maybe you have a use case I'm not familiar with?
No, because TREEPATH can be any part of the tree, like:
/MCWS/v1/Control/CommandLine?Arguments=%2FShowTreePath%20TREEPATH=Audio
so this does not work:
MCWS/v1/Playback/PlayPlaylist?PlaylistType=Path&Playlist=Audio