• 0

Itunes Interface (EASY STUFF)


Question

Hi Guys,

I'm working on my project : FAST PLAY. It's an ULTRA FAST version of windows media player. I've had about 10 people beta test it and they said it was excellent, however one person suggested an Itunes interface would be the best.

So, do any of you know a command that will.

- Search ALL subfolders of A FOLDER, and add EVERY file found to a LIST.

Secondly, I've currently got TWO simple lists.

ONE holds the FILE NAME

TWO holds the FILE PATH.

(when clicking on a file in ONE, the corresponding file is loaded from INVISIBLE LIST TWO)

Is there an easy way to get a LIST that has TABS?

(So for example files can be arranged by filename, album, artist)

Cheers,

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

There isn't a command that will do the search for you. But it's not terribly difficult to write some code to do it yourself. Just use a recursive algorithm that will continue searching until it runs out of directories.

Link to comment
Share on other sites

  • 0

Pseudocode:

main()
{
   foreach (drive in drives)
      ScanDirectory(drive);
}

function ScanDirectory(Path)
{
   foreach (directory in Path)
      ScanDirectory(directory);
   foreach (file in Path)
      //Do something with files here
}

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.