INTERACT FORUM

Please login or register.

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

Author Topic: Question on V9 SDK  (Read 1899 times)

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Question on V9 SDK
« on: June 06, 2003, 10:01:56 am »

What does the MJFiles.AlbumGroup function do?

I'd take a guess that it sorts the current file list according to your album grouping rules but looking thru Ole/Com Object Viewer I see it takes two bools and returns a bool.

What are these?

Also, if it does sort the list, how do you tell when the group changes?


Basically I was thinking I could change AV to give users an option to use MC9's albums list instead of AV deciding itself.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Question on V9 SDK
« Reply #1 on: June 12, 2003, 08:46:52 am »

Here's the function:

VARIANT_BOOL CMJFilesAutomation::AlbumGroup(VARIANT_BOOL bSort, VARIANT_BOOL bGroupIfOneAlbum)

What you end up with is one file from each album in the file collection.  Use pFile->GetAlbumFiles() to expand one file back to an album.

Hope that helps.
Logged
Matt Ashland, JRiver Media Center

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
Re: Question on V9 SDK
« Reply #2 on: June 12, 2003, 08:56:40 am »

Excellent ... thanks Matt.
Logged
Pages: [1]   Go Up