Useful tool for organizing MP3
Surfing in php classes I’ve found an useful script to organize the MP3 musics file in a given directory. It is useful because it is writen in PHP/MySQL and offer a Web font-end.
Also it store clips of files, usually of 20 seconds but it is configurable. Useful to debug a list of duplicated mp3 files when you have a great number of files.
Of course this is free software written by Nadir
Author readme file
This script can be used on sites that provide access to thousands of mp3s. The script requires the path to a folder containing multiple mp3s. It will then extract tags,clip the mp3s and then index the tag information for searching.
1) Usage:
-Import the database file that has been included (db_structure.sql.zip).
-Copy the files to the directory of a web server that supports php5. The script can also be run under php4 if the porter stemmer file is not included.
-Specify a base folder in process_files.php. (E:\Original MP3s is default). In the same folder (where base folder exists) create the folders : Corrupt MP3s,Clips,Log Files.
-Run the file index.php from a browser. Then type in the name of the folder containing the mp3s and press Process Files. The specifed folder can contain thousands of mp3s in various sub folders.2) What does this sctipt do?
-It copies the specifed folder to a base folder (which can be specified in process_files.php)
-For each music file in every folder and its subfolder, the id3 tags are extracted and saved to database in the mp_id3_tags table.
-Twenty second clips of each file is created and stored in the Clips folder (the clips is stored in a subfolder of the same name as the original file). The duration of the clips can easily be changed.
-A searchable index of the mp3 tags is created and saved in the table mp_index. This table contains for each word (in the id3 tags) a comma seperated list of row ids.
-Debugging information is continously displayed on screen.
-Summary of all the activities is stored in mp_admin_summary table.
-List of errors is stored in mp_admin_errors table.
-Corrupt mp3s are copied to the corrupt mp3s folder.
-In the log files folder a text file listing the erroneous mp3s is created.-Feel free to contact me for applying this script to your site.
Download it
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.