Wed Jul 25 15:11:38 EDT 2012 ground/X Version 3.1 released. Wed Jul 25 12:40:22 EDT 2012 ground/X mp3gen: Fixed a bug caused by special characters in directory names. Sun Sep 20 16:11:57 EDT 2009 ground/X configure: Removed comments from the configuration file. mp3gen mp3dupe: Fixed a bug triggered by a dash as the first character in a directory name. mp3dupe: Updated scan_dir function. Still needs testing. mp3gen mp3dupe: default source directory now defaults to the current directory instead of /cdrom mp3gen: Fix typo scandir is now scan_dir Tue Sep 8 20:10:29 EDT 2009 ground/X mp3gen: import fixes to scan_dir function from utils package. Mon Sep 7 02:28:42 EDT 2009 ground/X Version 3.0 released. Sun Sep 6 17:26:44 EDT 2009 ground/X mp3: Remove code to display database last modification time-buggy. mp3size: Better sanity checking of the datafile. mp3gen: new -q option for quick scanning since the new defaults are slower. mp3size: Modified for new size field in 3.0 database format. mp3gen: Modified to work with mp3info V0.8.5a. This util is actually distributed with many versions of Linux unlike the old one I was using from a different author. SPEC: Filesize now stored in KB instead of in bytes SPEC: Remove the m/s characters from the playing time Wed Jun 1 15:16:13 EST 2005 ground/X Version 2.9 released. Mon Feb 16 13:27:07 EST 2004 ground/X mp3dupe: now just displays the name of the directory we are checking not the full path in the host filesystem. Mon Nov 17 17:35:20 EST 2003 ground/X makeplete: change -nobr option to --nobr this follows GNU convention makeplete: pletes.txt now includes the year of the album. makeplete: Added --noyr option to exclude the year from pletes.txt makeplete: Cleaned up the code that generates the output text so multiple option fields will be easier to support. makeplete: Added the --noloc option so the script will exclude the location field and sort the complete albums list by artist. This might be nice if you give your listing to friends. They probably would prefer the list ordered by artist instead of location. Also the list is sorted in reverse order by default so that new files will show up first. If the --noloc option is used this is not the case so that artists beginning with the letter a will show up first. The --noloc option is probably incompatible with the -a option. I haven't tested that yet. makeplete: Added the --genre option to include the genre of each album in pletes.txt makeplete: Added --comment option for comments makeplete: Code optimization that saved 12 seconds on my P233 mp3gen: * is now removed from ID3 tags before adding files to the data base. This fixes a bug that was causing file names to appear in ID3 fields of the DB. Mon Oct 27 21:37:11 EST 2003 ground/X get_dev_version: Updated mmy email address. get_dev_version: now tries to make sure the diff file is valid before feeding it to patch. Sat Oct 25 19:05:57 EST 2003 ground/X Version 2.8 released. Fri Oct 24 23:57:01 EST 2003 ground/X configure: Removed the -e option to the read command where user input is needed in the script. This option tells bash to use readline, but this was causing a problem on an old SunOS machine. get_dev_version: removed the --verbose option to patch-the same broken SunOS box. Wed Oct 22 16:54:10 EST 2003 ground/X README: Added a note that code in the contrib directory may not be covered under the license that I am using for the rest of the scripts. configure: Now * is used as the default mask instead of *mp3*. configure: Advise the user to regenerate indexes after changing mask variable. mp3gen: Fixed a bug that was causing the directory field of the database file to be generated incorrectly when the user specified a relative path as the source. Tue Oct 21 16:18:44 EST 2003 ground/X mp3ndx: Fixed a bug with the -a option. The file to add is now searched for in the data directory instead of the current directory. Wed Oct 8 15:51:49 EST 2003 ground/X get_dev_version: Fixed a bug triggered by the removal of mp3db.cfg. Patch was assuming that the removal was a "reversed patch". Added the --force option to the patch command to fix this. configure: Fixed a bug that would print a warning if less was configured as the default pager. Tue Oct 7 18:13:58 EST 2003 ground/X README: Added information about the development mailing list. configure: Disabled some debugging code in preparation for release. get_dev_version: now patches version 2.8.17-this will be the release in one week if no bugs are found. Fri Oct 3 02:41:27 EST 2003 ground/X configure: Fixed a bug that was causing the html_dir variable to be written to the configuration file incorrectly. 2.8.16-snapshot released for testing. Thu Oct 2 16:33:20 EST 2003 ground/X configure: Now offers to make data_dir, ndx_dir, and html_dir if they do not exist. mp3size: uses new configuration file. mp3dupe: uses new config file. makeplete: Uses new config file. mp3db.cfg: goes away now contained in configure script. README: Documented new config file. README: Documented contrib directory README: changed my email address grnd@users.sourceforge.net README: updated docs for configure script README,mp3dupe,get_dev_version: removed references to mp3db.cfg Wed Oct 1 20:09:36 EST 2003 ground/X mp3gen: now uses new config file mp3ndx: now uses new config file mp3ndx: code cleanup-don't try to change to the data directory at the top of the script before we have a chance to run load_cfg. Sun Sep 28 18:14:44 EST 2003 ground/X unfinished/load_cfg: First version of this generic function that will be used in all scripts to load the configuration file. Each script will need to include its own copy of this function however since script_path is defined in the configuration file. mp3: now uses the new configuration file. Wed Sep 24 02:33:14 EST 2003 ground/X configure: Fix a small typo in the configuration file. configure: Try to make ndx and html_dir dynamic in configuration file since they both depend on $ndx_dir configure: Change the default data directory to $HOME/mp3cat and the default index directory to $HOME/mp3cat-ndx. configure: All values assigned to variables in the configuration file are now in double quotes as was the case in mp3db.cfg. Tue Sep 23 21:49:57 EST 2003 ground/X configure: Added default configuration variables from mp3db.cfg. these were imported from unfinished/initvars. configure: can now save the configuration file to disk. configure: The configuration file is now saved as .mp3db2rc in the user's home directory. This is how it should have been at the start of the project. configure: Imported the interactive configuration menu all settings can now be edited in the configure script. The only exception is the "contributed packages" section at the end of the config file. Right now the configure script is the only thing using the new .mp3db2rc file. By the time 2.8 release happens I hope to have all utilities using this new file so mp3db.cfg can be removed from the distribution. Thu Sep 18 03:50:21 EST 2003 ground/X mp3db.cfg: Added another variable for mp3db_html that I had missed. Wed Sep 17 15:49:21 EST 2003 ground/X mp3db.cfg: Added variables for the mp3db to html converter in contrib/mp3dbhtml Sun Jun 8 21:16:07 EST 2003 README: included a URL to the development diff. README: added a note asking users to include "mp3db2" in the subject line if they email. Sat Apr 19 16:46:56 EST 2003 ground/X contrib/mp3db_html: Added a database to HTML converter submitted by Christian Webber. This may still need some tuning before the 2.8 release happens. contrib: Added this directory for contributed projects. Sat Apr 12 19:39:40 EST 2003 ground/X Version 2.7 released. index.html: Added a section that contains project news. Fri Apr 11 02:01:19 EST 2003 ground/X mp3: Added -x command line option to allow the user to specify that only exact matches should be returned. This logic was already in the program it just needed to be added to the parse_cmdline and usage_info functions. mp3: Fixed a stupid but bad error that was causing -t to do an artist search and -a to do a title search. This was caused by the error in the SPEC file reported over a month ago. This bug will push the release time of 2.7 forward quite a bit. man/mp3.1: Added description of -x option. Sat Mar 22 20:59:39 EST 2003 ground/X ckrelease: Now checks get_dev_version script. get_dev_version: Added the first version of this script which will patch a distributed stable version to the current development version. This script won't be of much use until the actual 2.7 stable release happens as it can't be used to patch a development version. README: Added mention of the get_dev_version script. README: Added information about the project's web site (how did I forget that one?) README: Added info about checking the development version before reporting bugs. Hopefully some of this will convince folks to help me test the devel versions. README: Added mention of the utils directory. README: Added mention of configure and ckrelease scripts. mp3: The usage_info function now takes an argument of 'short' that displays the header information only. mp3: Shorter message is displayed if no search term is provided. Tue Mar 11 15:06:43 EST 2003 ground/X mp3db.cfg: Fixed a typo in the configuration file. I had created a miss leading comment because of the error in the spec file. unfinished/menus: Fixed the same error. Field 2 is title 3 is artist not the other way around. Mon Mar 3 21:03:47 EST 2003 ground/X SPEC: Fixed a documentation error. The artist and title fields were listed in incorrect order. This does not change the database format at all. It brings the SPEC file in line with the database format the utilities are already using. Thanks to Christian Weber for reporting this bug. Sun Mar 2 22:20:46 EST 2003 ground/X Added an unfinished directory to the development version of mp3db2. This will be used for code that is not yet running or not complete. It will be removed before release. unfinished/menus: Added a menu interface for the configuration script. This will be murged with configure after configure has a few more features. Tue Feb 25 15:01:11 EST 2003 ground/X mp3dupe: Constants in single quotes (I am glad this is almost done). mp3dupe: Added -m command line option to specify mask. Note that if this option is used with the -p option it will have no effect. mp3dupe: Converted to use the scan_dir function from mp3gen. This is a prime example of why we need some type of shared library. mp3dupe: No longer exits if run with the root directory as source directory. Sun Feb 16 02:27:26 EST 2003 ground/X mp3size: Constants in single quotes. mp3size: Cleaned up the command line parser Wed Feb 12 20:57:54 EST 2003 ground/X makeplete: Added the -nobr option that will keep the script from including the bitrate of each album. makeplete: Cleaned up the help Tue Feb 11 19:17:50 EST 2003 ground/X mp3ndx: constants in single quotes. mp3ndx: cleaned up the while loop in the command line parser. mp3gen: converted all constants to single quotes mp3gen: Local variables not released after use. Fri Feb 7 20:38:04 EST 2003 ground/X makeplete: Convert constants to single quotes makeplete: Added error checking to the sort function. Now we don't assume the temp file is available. makeplete: we now verify that the current directory exists. mp3, makeplete: fixed some spelling errors and typos Fri Feb 7 03:48:22 EST 2003 ground/X mp3: All constants are now between single quotes mp3: Local variables are no longer unset. This was causing local variables to become global. mp3: Cleaned up the command line parser. Thu Jan 30 18:34:12 EST 2003 ground/X Version 2.6 released. Wed Jan 29 17:57:44 EST 2003 ground/X mp3gen: cygwin fix for / path mp3gen: No longer follows sym links mp3gen: fixed a bug that would cause a / at the end of a path name to include the entire directory path from the filesystem. Thu Nov 21 04:04:20 EST 2002 ground/X configure: Started work on this script that should eventually be able to help with the installation of this package. Perhaps it will save a user from needing to edit each of the individual scripts. makeplete: Fixed a small syntax error that kept the script from even loading. Wed Nov 20 00:41:18 EST 2002 ground/X mp3gen: Optimized yet more calls to cut with the faster built-in IFS cleaned up the command line parser I generated some test databases with this new version of mp3gen and compared them to the output produced by version 2.30. I only noticed a speed improvement and diff couldn't find any differences in the generated data files. mp3, makeplete: I have found that leaving the IFS variable set can cause problems in other programs and to that end IFS is always reset after use (AKA right after the call to set). Tue Nov 19 04:08:04 EST 2002 ground/X mp3: Fixed a bug that would cause the location field to only show up with the first record returned. This is exactly the type of bug that I figured the conversion to IFS would cause and why I've waited a while on 2.6 release. Tue Oct 22 02:12:53 EST 2002 ground/X sql/sqlimport: Converted to use IFS-much faster now. utils/rt.lib: Added a script for recording live audio in MP3/OGG to the extra utilities directory. The first version to be included with mp3db2 is 1.58 Wed Oct 16 20:48:23 EST 2002 ground/X makeplete: Now checks to make sure the mp3db.cfg file is loaded. Why do I keep forgetting this simple check? Mon Oct 14 02:38:34 EST 2002 ground/X makeplete: converted to use the IFS builtin instead of cut. mp3: converted to IFS Thu Aug 1 21:04:14 EST 2002 ground/X Version 2.5 released. Fri Jul 26 22:59:53 EST 2002 ground/X makeplete: Cleaned up the command line parser and made the command line options make more since. The -a and -m options now just take one argument and a -o option was added to specify the output file. mp3: NOw the bitrate and year fields require an exact match. This prevents -b 16 from returning all 16 and 160K mp3s. README: Added mention of mp3info.diff mp3info.diff: Added diff file that should make mp3info-0.2.16 compile under Linux-glibc Thu Jul 25 18:45:59 EST 2002 ground/X mp3db.cfg: Changed the default search fields from "filename, directory" to "filename, artist, title, album, directory". Note that if you are using indexes you will need to regenerate them with the -d option to mp3ndx for this change to take affect. Mon Jul 22 16:01:39 EST 2002 ground/X README: Added some short and to-the-point licensing info for those who care about such things. utils: Added some extra support utilities that I find useful for maintaining MP3 collections to the package: makewav renlower riffstrip vercd. See the file utils/README for more info on these. mp3: cleaned up the command line parser a bit and eliminated the search_type variable that was set in the command line parser. Now the field variable that is used in gen_search_data is directly set from the command line parser. Tue Jul 9 00:56:36 EST 2002 ground/X VERSION: File added to contain the current version number of the package since each utility will have an independent version number. Please use the information from this file when reporting a bug. mp3ndx: the script now doesn't try to write to the index with the -v option. This fixes a bug that could cause the script to create empty index files. mp3ndx: The script now makes sure we have write access to the default index before attempting to regenerate or update. Mon Jun 10 19:42:33 EST 2002 ground/X mp3size: Added missing check to make sure mp3db.cfg is loaded mp3dupe: Added missing check to make sure mp3db.cfg is loaded mp3dupe: Added missing check to make sure data directory exists man/mp3.1: Major formatting changes man/mp3gen.1: Major formatting changes man/mp3ndx.1: Added man page for mp3ndx man/mp3size.1: Added man page for mp3size man/mp3dupe.1: Added man page for mp3dupe Man I hate documentation some one had better appreciate this. Sat Jun 8 20:12:57 EST 2002 ground/X man/mp3gen.1: Added manpage for mp3gen man/mp3.1: Added the first man page to the project mp3ndx: Cleaned up the output of the verify_ndx function a bit. Sat Jun 1 02:20:57 EST 2002 ground/X mp3ndx: -o command line option was changed to -i so it makes more since with options that don't actually write to the index. mp3ndx: Added -d option to regenerate the default index only. mp3ndx: Cleaned up the help and fixed a small typo in a veriable name. mp3ndx: Added -v option to do simple line count verification on indexes. index.html: Added to package-this is the only way I will maintain web pages. Fri Apr 26 02:06:09 EST 2002 ground/X Version 2.4 released README: updated to reflect the new location of the default mp3db.cfg file. README: Changed my email address to ground@laf.cioe.com since iname.com is going pay. mp3size: The --version option now works. README: Added a section on the mp3dupe script. README: Added a section on general command line options accepted by all the scripts. Sat Apr 20 18:10:19 EST 2002 ground/X W00T!! a 4:20 batch of changes makeplete: Added -version option mp3size: added --version option mp3: Added --version option Moved my source directory from /home/ground/scr/mp3db2 to /home/ground/mp3db2. This is so I can load the configuration file from all scripts with a simple 'source $HOME/mp3db2/mp3db.cfg'. This way if a user untars the archive in their home directory they might be able to get the thing to run with out editing any of the scripts. Added a first version of a script called mp3dupe that will check to see if a given CD has already been added to the database. It is kind of slow right now but it seems to be working OK. Tue Apr 9 23:53:12 EST 2002 ground/X makeplete: Cleaned up the command line parser so it doesn't get stuck in endless loops any more. Thu Feb 21 20:33:57 EST 2002 ground/X mp3ndx: complete rewrite of the command line parser. It was moved to its own function and many new options were added as detailed below: The -a option stayed the same and can still be used in combination with the following two options -m: override the default mask set in the comfiguration file. -o: Override the output filename for the index set in mp3db.cfg mp3ndx: Added a help message that you can get with -h or --help mp3ndx: The default index now has the filename .default so for example the default search index for main.ndx is main.ndx.default. Should make keeping multiple indexs easier. mp3: Now uses the new index filename. It is determined at run time in function check_ndx mp3db.cfg: removed the default_ndx variable mp3: now takes the -if option to allow you to specify the name of the index file to use. mp3: check_ndx is now run after the command line is parsed and the -i option is now tracked using a different variable: ignore_ndx Thu Feb 21 01:48:57 EST 2002 ground/X makeplete: You can now over ride the default output file while using the -a option by giving the output file as the second argument. If no second arg is given the default is still used so mp3gen shouldn't need to know about this change. mp3: added -h and --help command line options mp3: Optimized global searches Sat Feb 9 02:14:45 EST 2002 ground/X Version 2.3B (hopefully first public beta) released. Added some scripts to the tree to import the database in to mysql (might work with other DBMS). See sql/README for more info. Thu Dec 20 23:40:03 EST 2001 ground/X mp3: The default search index is now used even if the -c option is given mp3: now mentions the makeplete script if no pletes.txt is found and the -p option is given. mp3: Added a few more calls to that handy debug function and removed a few that could never be seen as they ran before the command line was parsed. Thu Dec 13 16:03:45 EST 2001 ground/X Documentation updates-added a general description of the program to the top of the README. Amazing how these things get over looked. Added info on the mp3size utility to the README. Reformatted the README file a bit, hopefully this makes it easier to read not harder. Updated the contact info at the end of the readme. Sat Nov 3 02:12:58 EST 2001 ground/X mp3size: optimized the script quite a bit. My entire database used to take 5 mins 37secs to process and it now finishes in 39secs. mp3: the -p option is now supported to query the complete album list. Fri Nov 2 22:05:35 EST 2001 ground/X Added a new script mp3size that attempts to determine the size of your entire archive. It hasn't had much testing nor will it be graceful about dealing with errors in the database format, but mp3gen shouldn't let those happen. Wed Oct 24 13:57:08 EST 2001 Version 2.2B released. Tue Oct 2 14:42:25 EST 2001 ground/X mp3db.cfg: The indexes have been moved to their own directory and out of the main database directory. If you are upgrading from an older version you may wish to delete or move your old indexes. mp3: The check_ndx function now makes sure the default search index is available. mp3ndx: The script now checks to make sure the index directory exists when it is first started. Tue Oct 2 00:45:18 EST 2001 ground/X Documentation updates (the coders favorite) Mon Sep 24 03:21:24 EST 2001 ground/X Today's batch of changes will require you to update the database index file if you are using the mp3ndx script. This is well worth the work as it will speed up default searches quite a bit see below for more info. mp3ndx: The script now keeps a default search index that contains only the data that is needed for a default search. This saves us from calling the function gen_search_data in the database search utility. This only saves time when you are doing a default search IE you don't specify a search type. mp3: Now supports the default search index. mp3db.cfg: Changed the filename of the primary index from "ndx" to "main.ndx". Before regenerating the new index file with the mp3ndx script you may wish to delete the old index so it isn't sitting around wasting space. mp3db.cfg: Added a variable that contains the location of the default search index. Tue Sep 18 21:39:10 EST 2001 ground/X mp3, mp3gen, makeplete: The unset bash builtin is now used to clear variables instead of resetting them to null. Wed Sep 12 18:01:36 EST 2001 ground/X mp3: Fixed a small bug in the debugging code. Now all debugging messages will go to STDERR instead of STDOUT. This should allow the debug function to be used anywhere in the program with out throwing off the data between pipes. Wed Aug 29 13:58:26 EST 2001 ground/X mp3db.cfg: Added a default_search_fields variable that configures a default search if none is specified on the command line. mp3: Now does a default search specified in mp3db.cfg if not given one on the command line. mp3: Changed the short display just a bit. The old format was: location:artist-album-filename it is now: location:directory-filename the above three changes should make version 2 of the database much the same as version 1 if no special command line options are given. makeplete: now supports the -m option to use a different mask. Note that if you use this you need to also specify the out put filename as the second arg to the -m option. Removed the mp3ndx-compat script from the distribution Wed Jul 25 02:23:09 EST 2001 First beta release 2.1b Tue Jul 24 21:17:25 EST 2001 ground/X mp3ndx now regenerates the complete index file if the -a option is given and the index doesn't exist. makeplete does the same. Updated the help for the command line query util. The name of the complete albums list is now set in the configuration file. This makes auto updating easier. becides the index filename is also set in the configuration file. Added feature to mp3gen that will allow the user to auto update the index and pletes.txt when a new file is added to the DB. Completely rewrote the command line parser for mp3gen it was brain dead. Added a variable to the configuration file "script_path" that should be set to the directory containing these scripts. Sun Jul 22 14:46:36 EST 2001 ground/X Added an -a option to the makepletes script to just add one database file to the list of pletes so the entire file doesn't need to be regenerated. Index is now not used if the -m option is specified on command line. Added -m option to specify filemask on the command line. The default mask is still set in the cfg file.. Thu Jul 19 16:08:12 EST 2001 ground/X Added code to makeplete to only consider the first part of the directory path so that multi-disc albums are not added twice. Added code to makeplete to make sure all pletes added have a - in the directory name. This should save us from adding singles directories and old albums. Thu Jul 19 00:58:32 EST 2001 ground/X First attempt to fix the makepletes script and bring it in line with the recent changes to the database. It should also have less bugs. Tue Jul 10 18:01:35 EST 2001 ground/X 2.17 snapshot released. Tue Jul 10 16:34:11 EST 2001 ground/X All the utilities now bail out with a descriptive message if the configuration file is not loaded. Moved the code that prints out detailed info for a record (the -o option) to a function of its own so I could make it more complex. Improved the long (-o) display so blank fields will no longer be printed. Tue Jul 10 14:47:56 EST 2001 ground/X Added a section to the README file mentioning that DB format is not carved in stone yet. Fixed some stupid mistakes in the indexing code in mp3ndx-compat and the command line query util. Mon Jul 9 23:10:27 EST 2001 ground/X # added some comments to help people reading the scripts Now there is at least a brief one line explanation of each function at the top. Fixed the global search option to search the 2 new fields added in V2.1. Added some error checking to the mp3gen script to make sure we don't generate records with more fields than are specified in the spec. Cleaned up the help. It was in need of some work. Added yet another field to the database. This is the directory the file was originally in on the master CD. This has the base source path removed and is relative to the root directory of the CD. added the --dir option to the search util to search by directory. Added this new field to the spec file. Added the display of the new field to the search util # Updated the mp3ndx-compat script for the new field. It will now generate a correct index file for a mix of any of the V2 file formats. I still can't wait to drop it. Sat Jul 7 23:26:19 EST 2001 ground/X 2.10 snapshot released. Sat Jul 7 22:43:02 EST 2001 ground/X Added a 10TH field to the database. This is the size of the file in bytes Bumped version number to 2.1 because of the database format change. I have managed to keep the v2.1 files backwards compatible with V2.0. In fact you can mix and match in your database. Please note that if you want to keep an index file of a database with some files using the old database format you must use the mp3ndx-compat script to generate the index. I have not added the backward compatibility code to the main line mp3ndx script because it changes the run time from 18 seconds to 5 minutes on my database. mp3ndx-compat will eventually be removed from the distribution or folded in to a diff. Updated the SPEC file to reflect the extra field and added a little more description of the index format. You will need to regenerate your index file after installing this version. Spell checked the SPEC file. Fri Jul 6 02:41:20 EST 2001 ground/x Added some debugging code. Small cleanup to the error string when the user doesn't specify a search option. Search by genre --genre option is now supported. Wed Jul 4 03:20:09 EST 2001 ground/X 2.08 snapshot released Added changelog added todo file