Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Instantly reloading a config
Leandros
post 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?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post 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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: