INTERACT FORUM

Please login or register.

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

Author Topic: Command line number for left panel  (Read 2342 times)

pr1me

  • Recent member
  • *
  • Posts: 26
Command line number for left panel
« on: November 15, 2013, 04:39:39 am »

Hello,

I would like to toggle (view/hide) the left panel using shortcut (where Playing now, audio, images, video, podcats is located etc...)
I can't seem to find which command line toggle it, i tried

22003   MCC_SHOW_TREE_ROOT   int nTreeRootIndex

But it open jriver "start instead"

If anybody could help me  :-*
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42344
  • Shoes gone again!
Re: Command line number for left panel
« Reply #1 on: November 15, 2013, 06:41:25 am »

I don't think there is a command to automate that currently.

If you can get to +5 in this thread from others that would like it, we'll add it.

Thanks.
Logged
Matt Ashland, JRiver Media Center

DoubtingThomas

  • Citizen of the Universe
  • *****
  • Posts: 564
Re: Command line number for left panel
« Reply #2 on: November 15, 2013, 08:41:58 am »

+1   Would need "display on" and "display off" discrete commands.
Logged

pr1me

  • Recent member
  • *
  • Posts: 26
Re: Command line number for left panel
« Reply #3 on: November 21, 2013, 02:54:42 am »

Thanks for answering  :)

Hopefully other users will show interest to this command and help get this done.
Logged

connersw

  • Citizen of the Universe
  • *****
  • Posts: 661
Re: Command line number for left panel
« Reply #4 on: November 21, 2013, 07:52:25 am »

+1

This would be useful for smaller screens (ie tablet touch interfaces).
Logged

down4jazz

  • Junior Woodchuck
  • **
  • Posts: 65
+1
« Reply #5 on: November 21, 2013, 09:53:30 am »

Would be great for the small screen user.
Logged

nitephlight

  • World Citizen
  • ***
  • Posts: 142
Re:
« Reply #6 on: November 22, 2013, 01:37:45 am »

+1 for sure, love having total screen real estate control especially when using multiple views simultaneously
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Command line number for left panel
« Reply #7 on: November 22, 2013, 08:51:35 am »

+1
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42344
  • Shoes gone again!
Re: Command line number for left panel
« Reply #8 on: November 22, 2013, 09:07:29 am »

A deal's a deal.  Next build:
SDK: Added MCC_SHOW_TREE to allow showing, hiding, or toggling the tree (MCC code 22029, parameter is -1: toggle, 0: hide, 1: show).

One way to toggle is this command line:
MC19.exe /MCC 22029,-1

Someday we might build on this to make an optional toolbar button, or even a little widget on the lower left of the statusbar.
Logged
Matt Ashland, JRiver Media Center

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Command line number for left panel
« Reply #9 on: November 22, 2013, 09:11:15 am »

Someday we might build on this to make an optional toolbar button, or even a little widget on the lower left of the statusbar.

Hah.

I asked mostly because:

1. It would be convenient on devices with very small screen sizes.
2. I can easily write a script that starts MC in Standard View, hides the tree, and makes sure it is on-top.  That will be my stock reply from now on when people complain that the tree doesn't remain hidden.

Solves two problems.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Command line number for left panel
« Reply #10 on: November 22, 2013, 11:05:46 am »

Matt, if you get a chance to update:

   http://www.jriver.com/DevZone/MCCommands.h

I'll pull and update the MCC wiki page from the current defs.
Logged
The opinions I express represent my own folly.

DoubtingThomas

  • Citizen of the Universe
  • *****
  • Posts: 564
Re: Command line number for left panel
« Reply #11 on: November 22, 2013, 05:20:56 pm »

I'm all set up, IR is learned, commands are configured to use this new command line option...  Thanks
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Command line number for left panel
« Reply #12 on: November 22, 2013, 07:20:06 pm »

MC Core Commands wiki page updated:

   http://wiki.jriver.com/index.php/Media_Center_Core_Commands
Logged
The opinions I express represent my own folly.

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9133
Re: Command line number for left panel
« Reply #13 on: November 23, 2013, 07:55:13 am »

This is really good. I wasn't sure at first, but, mapped to Ctrl+z, excellent.

Thank you Pr1me, thank you '+1's', and thank you Matt. Nice work.

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42344
  • Shoes gone again!
Re: Command line number for left panel
« Reply #14 on: November 23, 2013, 08:04:30 am »

This is really good. I wasn't sure at first, but, mapped to Ctrl+z, excellent.

If you use Ctrl+Z, you probably want to flag it to not be translated in an edit control.  Otherwise the tree will dance when you try to undo a typing mistake!
Logged
Matt Ashland, JRiver Media Center

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9133
Re: Command line number for left panel
« Reply #15 on: November 23, 2013, 08:51:57 am »

I set the translate flags at "23". (1+2+4+16) Hopefully I understood the way it works. Appears to be OK in the quick before/after tests I carried out.

pr1me

  • Recent member
  • *
  • Posts: 26
Re: Command line number for left panel
« Reply #16 on: November 23, 2013, 05:45:41 pm »

Thanks everybody!

Can't wait to use this  ;D
Logged
Pages: [1]   Go Up