Yokemate of Keyboards
Posts: 2221 from 2003/2/24
From: po-RNO
Few tips that should make it work:
1) "Patternhint" alone isn't enough to recognize a file, you should add "Name" line in the Match block (if there's no other way to recognize it):
Match
PatternHint #?.ym
Name #?.ym
End
After this you should see Ambient recognizing it when right clicking a ym file and checking the context menu title.
2) You should define an action for the mimetype immediately after creating the filetype file, either with Ambient Mime settings or with text editor. If you launch Ambient prefs and save them without having any action on the filetype, the custom filetype file will be deleted and it stops working until you re-create the file.
3) As you define the Type to "audio/x-ym" the filetype file should be named as "x-ym" too, for the clarity at least.