Announcesong command |
Announcesong command |
VesQ |
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 { 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.%tmp = $dll(ac,meval,var_pos) dll ac mexec announcesong $1 dll ac mexec announcesong %tmp 3 dll ac mexec preset 0 } |
Serge |
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. |