INTERACT FORUM

Please login or register.

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

Author Topic: MJ Automation Update  (Read 1502 times)

Nikolay

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1681
  • Former CTO, JRiver, Inc.
MJ Automation Update
« on: August 06, 2002, 12:39:16 pm »

MJAutomation interface has been updated.  Changes are:

- Added to new function to MJAutomation to create and modify playlists.
- Added new parameters to MJ command line interface.
- Sort function in MJAutomation was not working with playlists.
- Added ability to retrieve Top Hits and Recently Played playlists through MJAutomation
Logged

WickedEwok

  • Regular Member
  • Recent member
  • *
  • Posts: 34
  • Software Architect
RE:MJ Automation Update
« Reply #1 on: August 07, 2002, 03:23:15 am »

Hi Nickolay,
 I can't wait to start playing with these new features.

 Unfortunately, I'm having a problem, and I can't seem to pin it down. I've copied the new Media Jukebox.tlb file over the old one in my development area (I'm working on the new WebRemote in C/C|PLS||PLS|), but I can't seem to get it to show me the new functions. Is their some step I need to take to make Visual C|PLS||PLS| to 'reimport' the functions? I know someone else had a similar problem before, but I just can't fix this. I've looked in the tlb file, and I see text for some of the new commands, so I'm assuming they're there and the compiler can't see them.

  Ugh.

  Thanks Nickolay,
  -Ben
Logged

Nikolay

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1681
  • Former CTO, JRiver, Inc.
RE:MJ Automation Update
« Reply #2 on: August 07, 2002, 05:37:45 am »

WickedEwok,

I just checked the TLB file. It's the latest version.  Make sure that you copy file to the right location.  

Web Remote uses import directive to get info from tlb:
#import "..\..\Media Jukebox\Debug\Media Jukebox.tlb"  no_namespace, named_guids

Nikolay
Logged

WickedEwok

  • Regular Member
  • Recent member
  • *
  • Posts: 34
  • Software Architect
RE:MJ Automation Update
« Reply #3 on: August 07, 2002, 05:53:26 am »

I'm using

#import "Media Jukebox.tlb" no_namespace, named_guids

And it complains if I remove the copy from my directory, so I know it's going against the right one. And I've looked in the tlb file, and I see it has your new stuff.

For some reason, the compiler isn't picking up the changes. I am totally new to COM and this tlb stuff, so I'm a bit mystified. I've cleaned, removed the _p and _i files, rebuilt. Nothing. I still can't "see" the new methods in IMJPlaylistsAutomationPtr.

I was hoping there was some "quick fix" that maybe you or another COM expert could help me with. If not, darn.

-Ben
Logged

WickedEwok

  • Regular Member
  • Recent member
  • *
  • Posts: 34
  • Software Architect
RE:MJ Automation Update
« Reply #4 on: August 07, 2002, 06:11:34 am »

It's me again.

I figured it out. I had to delete the ncb file, as it controls intellisense. Rebuilt, and now I can see the new things.

Sorry about my confusion.
Logged

Nikolay

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1681
  • Former CTO, JRiver, Inc.
RE:MJ Automation Update
« Reply #5 on: August 07, 2002, 07:07:18 am »

No problem.  Development environment is getting more and more complicated with every new versions.  It's becoming very hard to keep up with everything it does; especially when something does not work as it should.

Nikolay
Logged
Pages: [1]   Go Up