Instantly reloading a config |
Instantly reloading a config |
Leandros |
Feb 25 2007, 08:55 PM
Post
#1
|
Newbie Group: Members Posts: 1 Joined: 25-February 07 Member No.: 250 |
Hi, is the following possible?
I'm having AMIP print to a file, however I also want it to write to another file. However I don't need it writing to both at the same time (I wouldn't mind it, it's just that I couldn't get it to work by having 2 separate "CFG_SFILE=" lines). I wrote a simple batch file to copy the files with the proper CFG_SFILE paths over plugin.ini which it does fine. AMIP configurator notices the change, but AMIP itself doesn't change to the new path unless I do something in AMIP configurator and save the changes. Is there a command to reload AMIP from the plugin.ini so I don't have to close Winamp and reopen it? |
Serge |
Feb 25 2007, 10:48 PM
Post
#2
|
AMIP Developer Group: Root Admin Posts: 935 Joined: 12-March 06 Member No.: 1 |
1. AMIP reloads plugin.ini automatically.
2. http://amip.tools-for.net/wiki/manual/amip#commands : /fileonce:(filename) command Writes current song to file instead of mIRC. Useful to integrate AMIP with program without DDE, for example e-mail client, e.g in AMIP: /fileonce:(e:\current.log)%name and in The Bat!: Winamp is playing: %INCLUDE=�e:\current.log� as a part of e-mail template. Use \n in command to write multiple lines into file. Note that you can have multiple commands in the preset/callback so that you can write to the several files at a time. |