Update: 2016.12.03
i.Listen v0.4 script is for:
AMIP (Advanced mIRC Integration Plug-in) (java required),
in combination with AIMP4 Player
Plug-in download link:
AMIP 2.67 plugin & jConfigurator 0.34 for AIMP4 Player (Windows 32bit & 64bit)
amip.dll
i.Listen.mrc (copy or move i.Listen.mrc file to mIRC/scripts folder)
configurator.properties
jConfigurator.exe
jConfigurator.jar
plugin.ini
Added menubar, channel, status
AMIP i.Listen is (ON/OFF) >
;a i.Listen v0.4 - [by Mi9]
;
; This script is for:
; AMIP (Advanced mIRC Integration Plug-in)
; in combination with AIMP Player
;
; For script updates visit: http://hawkee.com/snippet/17254/
;--------------------------------------------------------------
;
CTCP *:VERSION:{ .ctcpreply $nick VERSION i.Listen v0.4 - [by Mi9] - http://hawkee.com/snippet/17254/ }
menu menubar,channel,status {
AMIP i.Listen is ( $+ $upper($group(#amip).status) $+ )
.Open AIMP Player: aimp
.Close AIMP Player: dde mPlug control exit
.-
.i.Listen: np
.-
.Pause: dde mPlug control pause
.Previous: dde mPlug control <
.Next: dde mPlug control >
.Play: dde mPlug control play
.Stop: dde mPlug control stop
.-
.Shuffle ON: dde mPlug setshuffle on | echo -a 3:.: Shuffle is ON
.Shuffle OFF: dde mPlug setshuffle off | echo -a 4:.: Shuffle is OFF
.-
.Options: amip
.-
.AMIP i.Listen is ( $+ $upper($group(#amip).status) $+ ):{
if $group(#amip).status == on { .disable #amip | var %cgr 4 }
else { .enable #amip | var %cgr 3 }
echo $+ %cgr $+ :.: AMIP i.Listen is $upper($group(#amip).status)
}
}
alias np { if ($group(#amip).status = off) halt | else nps }
#amip on
alias nps {
if ($server) {
var %song $dde(mPlug,var_name), %length $dde(mPlug,var_min) $+ : $+ $dde(mPlug,var_sec) $+ min
var %bitrate $dde(mPlug,var_br) $+ Kbps, %samplerate $dde(mPlug,var_sr) $+ KHz, %active $active
if (%length == 00:00min) { var %length Radio Stream }
if (%song != $null) {
if ($active != Status Window) && (# isin $left(%active,1) || @ !isin $left(%active,1)) && ($active != Notify List) { describe %active [i.Listen] %song $chr(91) $+ %length / %bitrate / %samplerate $+ $chr(93) }
else { echo -s [12i.Listen] %song 4 $chr(91) $+ %length 12/ %bitrate 12/ %samplerate 4 $+ $chr(93) $+ }
}
else { echo -a 4:.: Sorry, AIMP Player is OFF or AMIP Plugin is not loaded. }
}
}
on *:input:*:{ if ($1 == .np) { np } halt }
#amip end
alias amip {
if ($isdir(C:\Program Files (x86)\Aimp\Plugins\amip)) var %aimp.path Program Files (x86)
elseif ($isdir(C:\Program Files\Aimp\Plugins\amip)) var %aimp.path Program Files
else echo -a 4:.: Sorry, AMIP (Advanced mIRC Integration Plug-in) is not installed.
run C:\ $+ %aimp.path $+ \Aimp\Plugins\amip\jConfigurator.exe | echo -a 3:.: Open AMIP Configurator.
}
alias aimp {
if ($isdir(C:\Program Files (x86)\Aimp)) var %aimp.path Program Files (x86)
elseif ($isdir(C:\Program Files\Aimp)) var %aimp.path Program Files
else echo -a 4:.: Sorry, AIMP Player is not installed. 12http://www.aimp.ru
run C:\ $+ %aimp.path $+ \Aimp\aimp.exe | echo -a 3:.: Open AIMP Player.
}
;z