[madman-discuss] Trouble with plugin
Brought to you by:
inducer
From: Daniel R. J. <wiz...@ya...> - 2005-01-26 04:26:47
|
I'm trying to create a plugin which converts the selected files to aac format, and then copies them to a user-selected folder. It shows up in the plugins tab in the Preferences, fine. I'm pretty sure I set everything up right, but when I click on Configure, in the preferences, it doesn't let me choose the folder. If I try to run it, without configuring it first, it just says, "Plugin needs to be configured first". Other plugins are configurable, without a problem. I'll post the header of the file, and maybe someone here can help me figure out what I've done wrong. I'm not worried about the actual functioning of the script, as I've tested it from the command line, and it works perfectly, it just doesn't seem to work properly from within madman. #!/usr/bin/python # MADMAN-PLUGIN-VERSION: 2 # MADMAN-NAME: Copy as AAC file # MADMAN-DESCRIPTION: Copy files to a folder as aac file # MADMAN-ARGUMENTS: %config:folder to which you want to copy the files% %path% %file% %artist% %album% %title% %year% %tracknumber% # MADMAN-MENUSTRING: &Copy to folder as aac # MADMAN-CONFIRM: 1 # MADMAN-RESCANAFTER: 0 By the way, I'm using Madman 0.93, it that helps any. -- Dan Jones |