INTERACT FORUM

Please login or register.

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

Author Topic: Query "Stop after current file" status  (Read 1871 times)

GrantDG

  • World Citizen
  • ***
  • Posts: 199
Query "Stop after current file" status
« on: February 25, 2012, 12:05:03 am »

Is there a way to query (using MCC) for the status of "Stop after current file" (I know I can set it - I want to know IF it's set)

I'm building a UI, and would be good to be able to display...
Logged
Looking to control J River Media Center from your Windows Phone?: Look for nMedium & nMedium Play in the WP store

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42441
  • Shoes gone again!
Re: Query "Stop after current file" status
« Reply #1 on: April 09, 2012, 08:09:10 pm »

It looks a little like this:
if (SendMessage(hwndFrame, WM_MC_COMMAND, -MCC_STOP_AFTER_CURRENT_FILE, 0) & MCC_UPDATEUI_PRESSED)
{
   // 'Stop after current file' is checked
}

Definitions:
http://www.jriver.com/DevZone/MCCommands.h
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up