INTERACT FORUM

More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: kstuart on March 06, 2013, 04:20:14 pm

Title: Play a file followed by a Smartlist ?
Post by: kstuart on March 06, 2013, 04:20:14 pm
I'm trying to figure out a way to play a file followed by a Smartlist, at a scheduled time.

My try:

* Windows Scheduled task with the commandline:

mc18.exe /play "C:\Users\Administrator\Music\file.wav"|TREEPATH="Playlists\Smartlists\Morning"

For example, if file.wav were a chosen alarm sound and the Smartlist "Morning" was a Shuffle play of tracks had the Keyword "Morning", then you can imagine the use. ;)

I've also tried just quotes around the playitems as a whole.

I can get file.wav to play, but not followed by the Smartlist.

Is this a syntax mistake, or do playitems have to be either files, or a playlist, but not both ?
Title: Re: Play a file followed by a Smartlist ?
Post by: Matt on March 06, 2013, 04:27:00 pm
The command line system doesn't support a list of special items.  So if you use TreePath=, you can't use anything else.

Possible solutions:
1) Issue two commands: play the first file, then /Append for the Smartlist.
2) Make the smartlist start with the file so a single Smartlist would be enough
3) Twist our arm to support lists of special things like TreePath=, Search=, etc. instead of only one
Title: Re: Play a file followed by a Smartlist ?
Post by: kstuart on March 06, 2013, 04:40:01 pm
Is your second option saying that you can have two parts to a Smartlist - a file, followed by a shuffle play of a rule ?
Title: Re: Play a file followed by a Smartlist ?
Post by: MrC on March 06, 2013, 04:43:42 pm
(http://4.bp.blogspot.com/-ppFlmXcUw1c/TV9L-JAmzJI/AAAAAAAAEJc/h4Scz2RcsOM/s400/KB.jpg)

(otherwise I have to update the wiki)
Title: Re: Play a file followed by a Smartlist ?
Post by: Matt on March 06, 2013, 04:47:50 pm
Is your second option saying that you can have two parts to a Smartlist - a file, followed by a shuffle play of a rule ?

Maybe.  Or you could do it with sorting.  Or you might be able to do it by nesting Smartlists (including several Smartlists from another).

However, I think #1 is probably easier.