Page 11 of 11

Re: hyperradio

Posted: Fri Jun 27, 2014 6:26 am
by cim
Yes. That one's harder to fix, since the jump takes place within a single very long frame.

Re: hyperradio

Posted: Sat Jun 28, 2014 8:08 am
by Diziet Sma
Understood..

Incidentally, I've noticed the music stopping mid-play a lot more in-game, lately.. it gets (much) worse close to a busy Station, I've noticed, but even elsewhere in the system, it happens more frequently than before..

Re: hyperradio

Posted: Tue Jan 24, 2017 11:35 am
by MCO
hey everyone!
i hope this is not considered necroposting, but hyperradio is still being used, and i really feel like sharing this. i just wanted to show you a way to display the current songs name along with the "Connection established" message, maybe this will help someone who is even worse at js than me :wink: no responiblity is taken etc etc, you know the drill.

find you addons folder and open the hyperradio oxp/oxz. go to the scripts folder and open the file "hyperradio.js". pretty far down, you will see this line:
player.consoleMessage("Connection to "+this.stationDesc[this.stationSelect]+" established. Days left: "+(this.hyperradioDuration-clock.days));
change it to this:
player.consoleMessage("Connection to "+this.stationDesc[this.stationSelect]+" established. Days left: "+(this.hyperradioDuration-clock.days)+". Now Playing: "+this.next.substr(0, (this.next.length-4)));

and that's it. hope this will help someone someday. thanks for the awesome OXP!