Computing: Free Pascal Programming

Programming Home   Home   Contact

Local MP3 search (SearchMP3).


Description: Application to search for .mp3 files on the local computer. Search may be done either based on file properties or on the values of the MP3 tags (which must be set in this case, of course). There are lots of search criteria for both search methods; if several are selected, the file is included in the search results, if it meets all of them (except for album and track title, where the search text/word may be in either of them).

After selecting the search criteria and set the search and display options as wanted (cf. the help text file for details), push the "Search" button: A second window, showing the search results, opens. Here you may:

Improvements: Save the file list as HTML table or PDF document, instead of simple text file.

To do: Searching by play length is currently not implemented.

Programming notes: This application uses MS Windows specific code to read file properties, thus may not be compiled on other platforms without modifications. Reading of the MP3 tags is done by using the ID3v2 unit (which originally didn't return the music genre when I ran the program on my system - I clearly marked all modifications that I made to the code to resolve this issue).

Free Pascal features: Searching the hard drive for specific files. Reading MS Windows file properties. Reading MP3 tags using the Free Pascal ID3v2 unit. Playing mp3 files, using the system default audio player.

Screenshot:

Local MP3 serach: Serach criteria
 
Local MP3 search: Serach results