That leaves offering stations (or no radio) in a GUI at startup, with a note that the radio will open in the browser. This should also make it clear that stopping the radio is the player's job. The problem remains that the browser pops up on top of the game window... if minimising the default browser cannot be done from the script, is there any way to bring the AGS window to the front after the station is opened in the browser? Reaching out from AGS to Windows is probably as messy as detecting if the game window is being closed.
I have looked into writing some Delphi code but to my surprise playing a remote audio stream is not straightforward... I may have to read more on this.
I have looked into writing some Delphi code but to my surprise playing a remote audio stream is not straightforward... I may have to read more on this.
