INTERACT FORUM

Please login or register.

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

Author Topic: MC Core Commands wiki updated  (Read 2212 times)

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
MC Core Commands wiki updated
« on: June 23, 2011, 01:06:02 pm »

I've done some work on the MC Core Commands wiki page.

   http://wiki.jriver.com/index.php/Media_Center_Core_Commands

1) The commands tables were auto-generated from the latest .h file from Matt.  Thus, the commands and parameter are up to date (mc 16.0.116).  Regenerating the tables is trivial.
2) The Zones section (now Specifying Zones) is expanded with more, and hopefully clearer, examples for command line users.
3) The Zones section look-up tables are now collapsed into a single table, with individual zone columns.  This table is also auto-generated from a list of basic entries.

Although the page lives in DevZone, and has been generally targeted at developers,  I've focused most of the modifications to better help the many mcc*.exe command line users who have had trouble with the content.  I can think of plenty more to do, but hopefully this goal is nearer.

Feedback welcome.
Logged
The opinions I express represent my own folly.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42388
  • Shoes gone again!
Re: MC Core Commands wiki updated
« Reply #1 on: June 23, 2011, 01:08:29 pm »

Thank you very much for doing this.
Logged
Matt Ashland, JRiver Media Center

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72446
  • Where did I put my teeth?
Re: MC Core Commands wiki updated
« Reply #2 on: June 23, 2011, 01:16:59 pm »

Thank you!
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: MC Core Commands wiki updated
« Reply #3 on: June 23, 2011, 01:46:36 pm »

You're welcome.  My way of saying Thanks to JRiver, esp. as I've been next-to-useless w/feedback on RO and video.

Something stood out for me, as I was editing.  Often complex documentation hints towards simpler solutions.

In this case, the MCC command parameter + zone calculation.  I'm wondering if users can have the burden lifted, by supporting an enhanced command line syntax.  For example:

Instead of, for command 10020 (increase volume) to 25% for Zone 2:

   /MCC 10020, 50331673   # Zone specifier (50331648) + parameter value (25) = 50331673 (0x3000019 hex)

use something such as:

   /MCC 10020, 25:2          # <param value>:<zone>

and let MC do the param / zone splitting and the subsequent math.  Nice thing is this abstracts the implementation too.
Logged
The opinions I express represent my own folly.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42388
  • Shoes gone again!
Re: MC Core Commands wiki updated
« Reply #4 on: June 23, 2011, 02:02:28 pm »

Good idea.

In build 118:
Changed: MC16.exe /MCC accepts the parameter formatting [value]:[zone index] for easier multi-zone usage. (i.e. MC16.exe /MCC 10020, 25:2)
Logged
Matt Ashland, JRiver Media Center

minolotus

  • Junior Woodchuck
  • **
  • Posts: 93
Re: MC Core Commands wiki updated
« Reply #5 on: June 23, 2011, 02:22:57 pm »

I have searched the updated wiki whether a core command for turning subtitles on and off is implemented but couldn't find it. Do you plan to add this in a further version? This would be great.

Thanks.
Logged
Pages: [1]   Go Up