INTERACT FORUM
More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: kstuart on January 02, 2013, 12:00:08 pm
-
The usual command line syntax used by some other players to play a folder, doesn't seem to be working for me:
"C:\Windows\System32\MC18.exe" /Play "%1"
What will work ?
Thanks !
-
Some options such as import variants accept paths, others take playitems which do not include folders. See:
http://wiki.jriver.com/index.php/The_Command_Line (http://wiki.jriver.com/index.php/The_Command_Line)
-
Yes, I did read that page first. The playitems example has:
"C:\path\to\file.flac"
so can I use something like:
" C:\path\to\*.* "
in some sort of way ?
-
Not like that. Windows command shell doesn't expand paths that way. Here's an explanation:
http://superuser.com/questions/460598/is-there-any-way-to-get-the-windows-cmd-shell-to-expand-wildcard-paths (http://superuser.com/questions/460598/is-there-any-way-to-get-the-windows-cmd-shell-to-expand-wildcard-paths)
with possible workarounds for you.
-
It would make a lot more sense to simply make a Smartlist (or View) that looks for the files, and then play that with:
/Play TREEPATH=Playlists\MyPlaylist
The files would have to be imported first, but just use AutoImport (and set a flag on the files at import if you don't want them "polluting" your main Library views).
-
Does the command line allow two options, or do you have to issue two separate commands ?
For example, can you have:
MC18.exe /Library <library name> /Import <paths>
?
-
I think you need two separate calls, one per /Option. Some /Options support multiple arguments.
-
Any chance of having this added? Seems like a strange omission.