473,382 Members | 1,362 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Fastest Media File Search Method

I remember seeing really fast disk searching code from MSDN Magazine or
something like that using .NET 2.0, but I can't find it.

Basically I'm developing jukebox software that will do an initial
search of the entire hard drive(s) and catalogue any media files by
extracting tags and/or using filename analysis. I've got all the tag
reading stuff, and I know you can recursively enumerate through
files/directories using the .NET framework, but is this a
fast/efficient manner?

Is there a way that is head a shoulders above the rest in
speed/efficiency?

Apr 3 '06 #1
2 2182
The only thing I can think of would be to use the API and use
FindFirstFileEx (and the related API calls).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<mi************@gmail.com> wrote in message
news:11**********************@v46g2000cwv.googlegr oups.com...
I remember seeing really fast disk searching code from MSDN Magazine or
something like that using .NET 2.0, but I can't find it.

Basically I'm developing jukebox software that will do an initial
search of the entire hard drive(s) and catalogue any media files by
extracting tags and/or using filename analysis. I've got all the tag
reading stuff, and I know you can recursively enumerate through
files/directories using the .NET framework, but is this a
fast/efficient manner?

Is there a way that is head a shoulders above the rest in
speed/efficiency?

Apr 3 '06 #2
_DD
On 3 Apr 2006 15:06:14 -0700, mi************@gmail.com wrote:
I remember seeing really fast disk searching code from MSDN Magazine or
something like that using .NET 2.0, but I can't find it.

Basically I'm developing jukebox software that will do an initial
search of the entire hard drive(s) and catalogue any media files by
extracting tags and/or using filename analysis. I've got all the tag
reading stuff, and I know you can recursively enumerate through
files/directories using the .NET framework, but is this a
fast/efficient manner?

Is there a way that is head a shoulders above the rest in
speed/efficiency?


I believe the tag reader will be far slower than folder recursion, so
you may want to concentrate on optimizing that. What are you
currently using to read tags?
Apr 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jonathan | last post by:
I am hoping that someone more experienced than myself can point me towards what might be the fastest data lookup method to use for storing ip addresses. My situation is that I will need to maintain...
60
by: Julie | last post by:
What is the *fastest* way in .NET to search large on-disk text files (100+ MB) for a given string. The files are unindexed and unsorted, and for the purposes of my immediate requirements, can't...
4
by: Benjamin Joldersma | last post by:
Hello all, My company is installing a Bluecoat caching machine to help serve some of our dynamic content. This is fine for free documents, but we have to make a minor architectural tweak for...
2
by: UJ | last post by:
I have a dataset that will have say 10000 records in it with the names of files that are used by the system. I then have a large directory of files that correspond to that list of files and want to...
5
by: beersa | last post by:
Hi All, I have to query the database with the string from text file. Here are the details: OS: WinXP Home Pro DB: Oracle 9.x The table in DB has 20,000 rows. The text file has 15,000...
9
by: Clinto | last post by:
Hi, I am trying to find the fastest way to search a txt file for a particular string and return the line that contains the string. I have so for just used the most basic method. Initialized a...
0
by: Konrad | last post by:
Hi everyone. I've got problem with converting xml file to xsd schema. The Xml file looks like: <?xml version="1.0" encoding="iso-8859-2"?> <rss version="2.0"...
0
by: kplazinski | last post by:
Hi everyone. I've got problem with converting xml file to xsd schema. The Xml file looks like: <?xml version="1.0" encoding="iso-8859-2"?> <rss version="2.0"...
0
by: kplazinski | last post by:
Hi everyone. I've got problem with converting xml file to xsd schema. The Xml file looks like: <?xml version="1.0" encoding="iso-8859-2"?> <rss version="2.0"...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.