How IRCmagic Handles Sound Files

Parts of IRCmagic deal with synchronizing sound files between you and the people you chat with. With this capability, is possible to collect hundreds of sound files in your Sounds folder.

If you are not using Navigation Services, a potential problem is introduced when you attempt to play a sound and have more than 500-800 sound files in a Sounds folder. The part of the Mac OS that shows file dialog boxes for opening and saving a files (with the exception of Navigation Service windows) limits the number of files displayed in scrolling lists to 32 K.

If the total of every character of every filename in the folder goes over 32000, the Mac OS will not show those files that are past the 32000th character.

If you attempt to view a folder with more items than can fit in 32 K, a small dialog box is displayed notifying you that some items are not displayed in the list, and the items at the end of the list are not displayed.

To help you work around this limitation, and to enable IRCmagic to operate more efficiently, IRCmagic scans the sounds folder when it loads, including all subfolders contained in the Sounds folder. IRCmagic creates a list of the files it finds and uses that list to process sounds during your chat session. This helps eliminate the file-display limit since you have the freedom to organize your sound files into subfolders with smaller numbers of sound files in them. IRCmagic works fine if these subfolders do not exist. But having the subfolders may make things easier on you.