Raised This Month: $51 Target: $400
 12% 

[ANY] Radio v2.0.0.8 FINAL (21/08/2017)


Post New Thread Reply   
 
Thread Tools Display Modes
dubbeh
Senior Member
Join Date: Jul 2007
Old 03-22-2017 , 08:54   Re: [ANY] Radio v2.0.0.6 (31/12/2016)
Reply With Quote #521

Thanks Mutse, Will add it to 2.0.0.7 and hopefully have a release for tonight or tomorrow.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 03-24-2017 , 07:31   Re: [ANY] Radio v2.0.0.7 (24/03/2016)
Reply With Quote #522

2.0.0.7 is out - changes can be found listed below.

Changelog:

  • Added Dutch translations – Big thanks to Mutse
  • Small logic processing problem with the volume menu fixed
  • Added the updated updater.inc for new decls – Was missing from previous versions
  • Plugin now compiles with "pragma new decls" forced
  • Other small internal code changes
Enjoy!
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
Veksi8
Junior Member
Join Date: Apr 2017
Old 04-27-2017 , 02:54   Re: [ANY] Radio v2.0.0.7 (24/03/2016)
Reply With Quote #523

Radio turn off button stopped working after new sourcemod update
Veksi8 is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 04-27-2017 , 06:11   Re: [ANY] Radio v2.0.0.7 (24/03/2016)
Reply With Quote #524

Just had a look at the update notes for the most recent patch. Looks like "about:blank" is restricted now and Valve only allow http/https in MOTD pages.

Got a simple possible solution that's untested right now (Windows server is crashing on boot up with latest CS:GO update. Won't be able to try this out just yet until SourceMod/MM is stable):

Quote:
"Off Page" "about:blank"
Change that to:
Quote:
"Off Page" "https://radio.dubbeh.net/radiooff.html"
Already applied that fix to the ShoutCast side of things. Can use "sm_radio_force_download" to grab the latest playlist, only changed the Off Page to above.

Feel free to report back if the issues still persist after the change above and will dig deeper into it.

Update: Added the simple off page to the wrappers package in the base post
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 04-27-2017 at 06:29.
dubbeh is offline
Dragonisser
AlliedModders Donor
Join Date: Jan 2014
Location: Germany
Old 05-13-2017 , 11:18   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #525

Ive uploaded the wrapper files to my server and changed the url to it, but everytime i try to choose a station it says

"Not Found

The requested URL /radio/trackquery.p was not found on this server.

Apache/2.4.25 (Debian) Server at prwh.de Port 443"

I dont know why it wants to use "trackquery.p" and not "trackquery.php" because i clearly changed it to that.
Dragonisser is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 05-14-2017 , 04:40   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #526

Hey,

Can you try the version attached to this post and see of the problem still happens?

Noticed that I didn't set the string size for g_szVolumeControlTrackQueryURL - so it will be capped at a much smaller character limit.

Only thing really changed is, radio.sp line 99 and about:blank as the Off Page:
Code:
char g_szVolumeControlTrackQueryURL[MAX_MOTD_URL_SIZE + 1] = "https://radio.dubbeh.net/trackquery.php";
If this change fixes the problem - Will release a small update today or tomorrow.
Attached Files
File Type: smx radio.smx (44.0 KB, 95 views)
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
Dragonisser
AlliedModders Donor
Join Date: Jan 2014
Location: Germany
Old 05-14-2017 , 08:58   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #527

Quote:
Originally Posted by dubbeh View Post
Hey,

Can you try the version attached to this post and see of the problem still happens?

Noticed that I didn't set the string size for g_szVolumeControlTrackQueryURL - so it will be capped at a much smaller character limit.

Only thing really changed is, radio.sp line 99 and about:blank as the Off Page:
Code:
char g_szVolumeControlTrackQueryURL[MAX_MOTD_URL_SIZE + 1] = "https://radio.dubbeh.net/trackquery.php";
If this change fixes the problem - Will release a small update today or tomorrow.


Just checked, it was my fault. I read "Volume Track Query" instead of "Shoutcast Player" and trackquery wont work as a player. Tho there is no info about making a player.
Dragonisser is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 05-16-2017 , 11:22   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #528

Quote:
Originally Posted by Dragonisser View Post
Just checked, it was my fault. I read "Volume Track Query" instead of "Shoutcast Player" and trackquery wont work as a player. Tho there is no info about making a player.
The player is for loading the stations within any source engine game. For volume control to work, the music has to be loaded inside HTML 5 utilising the <audio> tag and javascript/php for the volume setting.

If you have any more questions - feel free to give me shout.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 06-26-2017 , 10:11   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #529

Will look into this today.

Had no reports and thought everything was working fine.

Edit..

Update can you test "sv_disable_motd 0" in the server config. Think that might stop MOTD's being blocked server side now.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 06-26-2017 at 10:41.
dubbeh is offline
Caaine
Member
Join Date: Oct 2013
Old 06-26-2017 , 12:01   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #530

the Stations working fine

The Volume and the Turn off funktion are not working.

Game: CSGO
Caaine is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode