Official AMIP integration with XChat based on the Sockets Transport (ac.dll)
Author:  Serge Baranov
Version: 0.1

Installation instructions:
- Install AMIP
- Install AMIP Configurator (optional)
- Unpack this .zip into XChat home directory, exactly like this:
  
  XChat
      ac.dll
      ac.ini
      
      plugins
            amip_xchat.dll
            
  (ac.dll and ac.ini must be in the root XChat directory, amip_xchat.dll
  should go into plugins directory)
  
- Open AMIP Configurator, IRC Integration | Presets, choose preset #3
  and put in the following:
  
  say np: %name%?4< "%4"|>
  
  This is a string which will be evaluated in AMIP and passed to XChat, so
  it must be a valid XChat IRC command to work (starting with /say, /me or
  similar).
  
- Run XChat, join some channel, type:

  /np
  
  This should show now playing song information.

- Feel free to modify preset #3 according to your needs

- Additionally you can control the player and AMIP with commands described here:
  http://amip.tools-for.net/wiki/manual/amip#api_commands
  
  Prefix for the commands is "/ac", like:
  
  /ac control pause
  
  to pause playback.


Toubleshooting:
- Preset #3 in AMIP must not be empty and must contain a valid IRC command
- AMIP must be running
- Server/API must be enabled in AMIP Configurator (default)
- AMIP must be listening on 127.0.0.1:60333 for client connections (default)
- If this port is busy, change AMIP settings to use different port and adjust
  ac.ini according to these settings
