INTERACT FORUM

Please login or register.

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

Author Topic: Direct A Search Of Files  (Read 1773 times)

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Direct A Search Of Files
« on: June 23, 2002, 09:39:14 am »

I Can Use

   ' get all the files in the library
   Dim MJFiles As MediaJukebox.MJFilesAutomation
   Set MJFiles = g_MJ.Search("")

Per The SDK, It Will Allow A Search Of The Complete MJ File Listing.

But I Want To Lets Say Set The File List To "TestPlayList" And Only Search That Listing Is There A Way To Set The Search To A PlayList?

and then stick it into My ListBox

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

RhinoBanga

  • Citizen of the Universe
  • *****
  • Posts: 1703
  • Developer
RE:Direct A Search Of Files
« Reply #1 on: June 23, 2002, 10:42:18 am »

Hmmm ... I see what you mean now ... there is no way to get the search criteria used to create the scheme.
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
RE:Direct A Search Of Files
« Reply #2 on: June 23, 2002, 01:01:44 pm »

I Wonder If This Support Can Be Added. (J River?)
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: 42372
  • Shoes gone again!
RE:Direct A Search Of Files
« Reply #3 on: June 24, 2002, 06:03:22 am »

I think it would work if you made the search playlist=TestPlaylist

Let me know...

-Matt
Logged
Matt Ashland, JRiver Media Center

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
RE:Direct A Search Of Files
« Reply #4 on: June 24, 2002, 11:29:01 am »

I will try that Out

SDK:
   ' get all the files in the library
   Dim MJFiles As MediaJukebox.MJFilesAutomation
   Set MJFiles = g_MJ.Search("")

I Guess What Your Talking About:
   ' get all the files in the library
   Dim MJFiles As MediaJukebox.MJFilesAutomation
   Set MJFiles = g_MJ.Search("MY Test Playlist")
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: 42372
  • Shoes gone again!
RE:Direct A Search Of Files
« Reply #5 on: June 24, 2002, 01:43:41 pm »

Hey King,

The search engine you're using with this method is the same one that's available everywhere in Media Jukebox.  So, you can use keywords like playlist= or artist= to help narrow the search.

I think MJ's help has some of the in's and out's of the search language if you're looking for documentation.

Looking forward to what you cook up...

-Matt
Logged
Matt Ashland, JRiver Media Center

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
RE:Direct A Search Of Files
« Reply #6 on: June 24, 2002, 03:48:57 pm »

So More Like:?

Dim MJFiles As MediaJukebox.MJFilesAutomation
Set MJFiles = g_MJ.Search("playlist=MY Test Playlist")
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: 42372
  • Shoes gone again!
RE:Direct A Search Of Files
« Reply #7 on: June 25, 2002, 09:31:22 am »

Yes.

And you can do lots of other good stuff with the search engine as well.  Check out the help file for more details.

Take care Mark.

-Matt
Logged
Matt Ashland, JRiver Media Center

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
RE:Direct A Search Of Files
« Reply #8 on: June 25, 2002, 10:58:23 am »

OutStanding...
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