INTERACT FORUM

Please login or register.

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

Author Topic: Media Center 9 SDK  (Read 2205 times)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42382
  • Shoes gone again!
Media Center 9 SDK
« on: February 17, 2003, 09:49:13 am »

Before release, we will update several parts of the MC 9 SDK.

However, until then, you can get and set any field in the MC database using:

IMJFileAutomation->Set(STRING strField, STRING strValue)
IMJFileAutomation->Get(STRING strField, BOOL bFormated)

The field list is here:

http://ftp://ftp.jriver.com/pub/downloads/music/tmp/MJFields.h

Hope that helps people a bit.  Thanks!
Logged
Matt Ashland, JRiver Media Center

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Media Center 9 SDK
« Reply #1 on: February 17, 2003, 10:32:07 am »

No Sample VB Code To Look At?

Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42382
  • Shoes gone again!
Re: Media Center 9 SDK
« Reply #2 on: February 17, 2003, 11:18:49 am »

I think if you have a file (the thing with Artist, Album, etc.), you should be able to just put a dot in VB and it'll show Get and Set.

Just make sure you're using the latest .tlb from the Media Center directory.
Logged
Matt Ashland, JRiver Media Center

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Media Center 9 SDK
« Reply #3 on: February 18, 2003, 03:20:10 am »

this might sound dumb to you guys but

Matt said

>> Just make sure you're using the
>> latest .tlb from the Media Center directory.

I did pull up some of the visual basic files in notepad and i do see one of them pointing to the TLB file (since i started with the now vanished Busybox VB project) but if i was to start a OCX file clean how would i tell Visual basic to point to the TLB file?

Matt: Maybe this will tell you the level of programing and i need all the help i can get. a VB sample will surely Help (when you are done working on the SDK).

Please
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

drosoph

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 661
  • TiVo-aholic
Re: Media Center 9 SDK
« Reply #4 on: February 18, 2003, 04:54:45 am »

King:  Dont forget about adding "Field Choosers" to the Chart Finder PLUGIN (I will help if you want :) ) ...

I'd love to have a "Charted At" field instead of using the "Comment" field :)

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42382
  • Shoes gone again!
Re: Media Center 9 SDK
« Reply #5 on: February 18, 2003, 05:01:12 am »

In VB 6 try this:

VB -> Project -> References ->Browse -> Media Jukebox.tlb

Then make sure "Media Jukebox" (or similar) is checked in the list.
Logged
Matt Ashland, JRiver Media Center

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: Media Center 9 SDK
« Reply #6 on: February 18, 2003, 09:52:01 am »

Quote
King:  Dont forget about adding "Field Choosers" to the Chart Finder PLUGIN (I will help if you want :) ) ...

I'd love to have a "Charted At" field instead of using the "Comment" field :)



I will hold you to the "Help" part

If it was not for the Busybox sample i would have still been looking at a blank screen.

======================================

Thanks Matt never Knew that option was there.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA
Pages: [1]   Go Up