Printable Version of Topic

Click here to view this topic in its original format

AMIP Community _ Support _ AMIP does somehow not fill KVIrcs Mediaplayer Vars

Posted by: Delirium Nov 2 2010, 11:27 AM

Hi, I use this KVS Script to display Song info:

CODE
%secp = $($mediaplayer.position() / 1000);
%minp= $(%secp / 60);
%secp = $(%secp - $(%minp / 60));
%secp %= 60;

%secl = $($mediaplayer.length() / 1000);
%minl= $(%secl / 60);
%secl = $(%secl - $(%minl / 60));
%secl %= 60;
if(%secp < 10) {
    %secp = "0%secp";
}
if(%secl < 10) {
    %secp = "0%secl";
}
if($mediaplayer.album() ==  "")
{
    %album = "Unbekannt";
}
else {
    %album = $mediaplayer.album();
}
me $k(2)np: $b() $k(3) $mediaplayer.artist() $k(0)-$k(3) $mediaplayer.title() $k(4)($k(0)from$k(3) %album$k(0)\;$k(3) %minp:%secp $k(0)of$k(3) %minl:%secl $k(0)\;$k(3) $mediaplayer.bitRate() $k(0)kbps$k(4));


This worked well on my old System (Windows 7 32 Bit). Now I do have a new notebook and windows 7 64 Bit. I'm working with MediaMonkey. AMIP works so far as the integration into Windows Live Messenger works correctly.

I've also double-checked the ac.ini file for correct entries. It seems valid to me.

Any ideas how to get this working?
Script and AMIP worked together perfectly on my old system.

Edit: OK, I have to correct things in some way. AMIP now crashes MediaMonkey. But I can't see the reason why.

Posted by: Serge Nov 2 2010, 03:25 PM

Try some other player and see how it works.

Powered by Invision Power Board
© Invision Power Services