View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 02-17-2018 , 20:10   Re: Advanced ShowMOTDPanel
Reply With Quote #27

Is MOTD support callbacks like if I would like to receive an event when flash player finished playing the music?

I am using Disco plugin.
And I don't like it looping the track instead of playing tracklist.

So, first solution is to modify php such a way it close web-page as soon as track is finished playing. I hope MOTD has ability to track such event and return a callback. So, I can jump to next track via SourceMod plugin.

Second solution, of course, add tracklist support to php or swf player, but I'm not very familiar with php or Action Script.

Of course, there is always 3-rd variant: make script for auto-calculating each song length and save it into .cfg, so plugin will use it to track end of each song.

Last edited by Dragokas; 02-17-2018 at 23:13.
Dragokas is offline