Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Announcesong command
VesQ
post Jul 3 2008, 09:04 PM
Post #1


Newbie
*

Group: Members
Posts: 8
Joined: 3-July 08
Member No.: 547



API command "announcesong N" does what it should do, but when I do "announce" after that it always shows the Nth songs information. Although I've created a workaround for this (uses ac.dll):
CODE
alias announcesong {
  %tmp = $dll(ac,meval,var_pos)
  dll ac mexec announcesong $1
  dll ac mexec announcesong %tmp 3
  dll ac mexec preset 0
}
In my case, I've put the 3rd preset as empty, since I don't actually want it to be announced in public/announced at all. In the last command I also switch the preset back to the first one (although it's 0 there, look at my other bug report) since announcesong also switches the default preset to what's used in it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post Jul 4 2008, 06:22 PM
Post #2


AMIP Developer
***

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



Thanks for the report, indeed, the song information in the internal hash get overwritten with the info from song N and the next call to announce command will use this info until the song is changed in the player and the internal hash is updated again.

I'll try to address it in 2.64.
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: