Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> AMIP does somehow not fill KVIrcs Mediaplayer Vars
Delirium
post Nov 2 2010, 11:27 AM
Post #1


Newbie
*

Group: Members
Posts: 3
Joined: 2-November 10
Member No.: 991



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.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post Nov 2 2010, 03:25 PM
Post #2


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



Try some other player and see how it works.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

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