problem with file type / creator and ubumenu / folder

Mar 8, 2008 at 1:39pm

problem with file type / creator and ubumenu / folder

hello,

trying to build a patch where ubumenu or folder object displays a list of audio files (mp3, mp4, AIFF, Wave) which exist in a directory.

a seemingly simple task, which is being made obnoxiously difficult by problems with creator codes… it seems that lots of mp3 files on my HD seem to be lacking type and creator codes (reported as “none”).

I have managed to track this problem using “FileUtilsCM” (http://www.macupdate.com/info.php/id/9104), which allows me to view and modify the file type and creator codes.

In Max, the file types i used to filter the results are:
“M4A “, “M4P “, MPG3, “MP3 “, “Mp3 “, MPEG, WAVE, AIFF

the problem is this patch is for a project where ppl can bring in their own audio files, so i cant manually modify the file type code so that it is recognised by max.

it’s made more complicated because i am using jit.qt.movie and spigot~ to play the audio files, and this creates xml files in the same directory as the audio file… so i have to filter the results from ubumenu or folder so that it only lists audio files.

any suggestions?

thanks,

j

#36261
Sep 2, 2008 at 11:42pm

hi,
got the same problem, didn’t found any issues …

solution???
danke

freeka

#124310
Sep 3, 2008 at 1:55pm

Okey we found out a solution with the help of Jln..

you have to add a line in the max-fileformat.txt file, its totally strange cycling didn’t made it yet… :D

here is the line i added :

“max fileformat .mp3 MP3s 0 “MP3s audio file” audiofile;”

then just use ” type MP3s ” with the folder object

clap clap

#124311
Sep 3, 2008 at 3:48pm

can i also point out that this method also works for .mp4 files, not just .mp3

j

#124312
Sep 3, 2008 at 3:53pm

yes it actually work flv too or every format quicktime can read ;)

#124313

You must be logged in to reply to this topic.