INTERACT FORUM

Please login or register.

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

Author Topic: im a bit in the dark, how to GetLibrary?  (Read 1585 times)

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4565
im a bit in the dark, how to GetLibrary?
« on: October 23, 2009, 06:22:03 am »

i tried several things and i think i miss something very obvious. i want to get the name and the path of the library that is running now.

all help appreciated

 :)
gab
Logged

pbair

  • Recent member
  • *
  • Posts: 33
Re: im a bit in the dark, how to GetLibrary?
« Reply #1 on: October 23, 2009, 10:23:11 am »

The following works for me with vb.NET

Code: [Select]
Dim mediaCenterRef as MediaCenter.MCAutomation
Dim LibraryName as string
Dim LibraryPath as string

mediaCenterRef.GetLibrary(LibraryName, LibraryPath)

Logged

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4565
Re: im a bit in the dark, how to GetLibrary?
« Reply #2 on: October 23, 2009, 11:44:05 am »

 :) works for me to!..
thank you very much. i was thinking a bit to complicated.

now i can let my plug do its things in only one lib.

im happy
 :)
gab
Logged
Pages: [1]   Go Up