INTERACT FORUM

Please login or register.

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

Author Topic: MJAutomation Com Object  (Read 1646 times)

Craig

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 612
MJAutomation Com Object
« on: August 16, 2006, 09:31:58 am »

Hi,

Is it possible using the MCAutomation1 object to get "MCAutomation1.GetPlayback" info from a zone other than the active one?

My attempts using MJAutomation1.GetZones only lead to making the zone I want to interrogate become the active zone which would cause problems for someone using the interface.

Thanks
Craig
Logged
MC2Slim - Windows Shell and JRiver Media Center Integration for Squeezebox.

http://www.duff-zapp.co.uk

Craig

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 612
Re: MJAutomation Com Object
« Reply #1 on: August 16, 2006, 02:57:34 pm »

Thanks guys,

I've got it figured out

Craig
Logged
MC2Slim - Windows Shell and JRiver Media Center Integration for Squeezebox.

http://www.duff-zapp.co.uk

tommer

  • Recent member
  • *
  • Posts: 19
Re: MJAutomation Com Object
« Reply #2 on: August 21, 2006, 01:57:03 am »

How do you do that?
Logged

Craig

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 612
Re: MJAutomation Com Object
« Reply #3 on: August 23, 2006, 06:52:44 am »

Tommer

Here's how I did it


var
  MJZoneControl : MediaJukebox_tlb.IMJZoneAutomation;
  Zone : Integer
  Local_Position: Integer;
begin
      MJZoneControl:=MJAutomation1.getzones.GetZone(Zone);
      Local_Position := MJZoneControl.GetPlayback.Position;

Hope it helps

Craig
Logged
MC2Slim - Windows Shell and JRiver Media Center Integration for Squeezebox.

http://www.duff-zapp.co.uk
Pages: [1]   Go Up