Chango 1.0

Chango is a system for cacheing MP3 files from multidisc cdrom drives.
Chango is a system for cacheing MP3 files from multidisc cdrom drives. Since you can't actually mount different discs in the same physical device simultaneously, this software will cache the files you need off to a predetermined cache, so that all of the needed files will be available simultaneously.

This is how to configure it for your system;

Edit the 'drives.conf' file in accordance to how your machine is set up. The included .conf file shows two drives, each holding a max of 4 discs.

/dev/cdrom0:/mnt/cdrom0:4
/dev/cdrom1:/mnt/cdrom1:4

I setup symlinks in /dev from /dev/cdrom0 to /dev/hdc and a second one from /dev/cdrom1 to /dev/hdd. Make sure these are read/execute by the user who will be running the software. I am using a RedHat distro, so all mounted devices will end up in /mnt. so, my /etc/fstab shows the following:

/dev/cdrom0 /mnt/cdrom0 iso9660 noauto,owner,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,ro 0 0

So, by looking at both files, you should see that there is a corrolation between the two.

At this point, you should be able to 'mount /mnt/cdrom0' as whatever user will be running the script. As well, you should be able to change disks using 'eject -c 2 /dev/cdrom0' to swap disks.

Run the 'scandrives.pl' script. 'perl scandrives.pl' This will scan the CD's in the drives, and create the database files based on the mp3s. It should show you the directories it is working through as its working. If it notices that the cd is the same as the one it had already scanned, it will skip it. (This is so that if you change just one disc, you can re-run the app, and it will only do the full work on the new or changed discs.)

last updated on:
July 20th, 2006, 3:05 GMT
price:
FREE!
homepage:
yorgle.cis.rit.edu
license type:
GPL (GNU General Public License) 
developed by:
Jerry Keen
category:
ROOT \ Multimedia \ Audio
Chango
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT