INTERACT FORUM

Please login or register.

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

Author Topic: Play a file followed by a Smartlist ?  (Read 1028 times)

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Play a file followed by a Smartlist ?
« 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 ?

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Play a file followed by a Smartlist ?
« Reply #1 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
Logged
Matt Ashland, JRiver Media Center

kstuart

  • Citizen of the Universe
  • *****
  • Posts: 1955
  • Upgraded to MC22 Master using preorder discount
Re: Play a file followed by a Smartlist ?
« Reply #2 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 ?

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Play a file followed by a Smartlist ?
« Reply #3 on: March 06, 2013, 04:43:42 pm »



(otherwise I have to update the wiki)
Logged
The opinions I express represent my own folly.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Play a file followed by a Smartlist ?
« Reply #4 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.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up