Raised This Month: $32 Target: $400
 8% 

[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 09-27-2017 , 06:03   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #591

It will need a special type of wrapper page that sets the volume from a get request, sent from Radio for example. Quite similar to how the current wrapper page functionality is right now with setting the stream URL and volume.

Can see the documentation for it here - I just need to implement that into a wrapper page that would take the YT video ID and volume as a get request.


Edit:

Quick example of a working YouTube wrapper page with volume support added:
Code:
"Blackbear IDFC Tarro Remix (Tarro Remix)"
{
        "Stream URL"	"https://www.youtube.com/watch?v=gxE4ngu78Ro?autoplay=1"
        "Station ID"		"2"
}
Would become https://radio.dubbeh.net/youtube_rvw...78Ro&volume=50

That sets the volume based on the sent value and plays the video based on the YouTube video ID.

Will look into getting an extension to Radio or working on a seperate YouTube plugin soon™ xD .
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 09-27-2017 at 10:45.
dubbeh is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 10-08-2017 , 10:42   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #592

Got an update for Radio with updated translations and couple of small bug fixes.

v2.0.0.14
- Modified cl_disablehtmlmotd checking code, to only message clients when It's set to 1 (Was messaging clients when cVar wasn't found too)
- Added the latest MOTD Fixer v1.06
- Russian translations updated - Thanks to MihaAndTema
- German translations updated - Thanks to Warja Wachen
- Changed the config files to use "Volume Wrappers Base URL" for the volume wrappers

Big thanks to MihaAndTema and Warja Wachen for the updated Russian and German translations

YouTube volume control is planned for the next update *hopefully*. It will require code restructuring, which will take some time to complete.

Enjoy
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 11-17-2017 , 05:54   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #593

Quick update about YouTube support inside Radio.

Decided that it's best to not add full YouTube support but creating a seperate plugin with support for playlists etc.

This is going to take a bit time to complete with getting the hang of SQL usage inside SourceMod and the initial codebase required to get the functionality that I'm after. Only one potential downside is video durations will need to be added by users (or admins, depending on cVar option) and and create an internal video database - This is not final just yet and might be done with the YouTube API itself and running an external script to query. This is essential for rotating videos inside playlists, so the plugin knows how long each song is.

I'm hoping for a public release by the start of December, which gives me around 2 weeks to test and potentially change any design ideas.


Radio Package updated:
I've updated the base Radio download package to include the latest MOTD Fixer v1.07.
Full changelog can be found here.

Hosting change:
Will be moving away from krystal.co.uk by the end of this month, because of problems trying to update the ShoutCast internal database, and the job on a shared hosting environment isn't really viable. It takes a long time to process, especially when the stations per sub-genre are set quite high (On current hosting, anything over 10 seems to time out, which is understandable on a shared hosting environment).

Going to be moving back to an OVH VPS after this weekend.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 11-17-2017 at 07:21.
dubbeh is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 11-18-2017 , 13:56   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #594

This isnt really working very well. Everytime I try to switch station it just starts playing the previous one. I cant even turn it off via the menu.

Using radiovolume.txt
Using your hosting
Using default configs except for sm_radio_play_type "2.0"

Code:
"Radio Stations"
{
	"Off Page"		"https://radio.dubbeh.net/radiooff.html"
	"Volume Wrappers Base URL"		"https://radio.dubbeh.net"
	"Volume Track Query"		"https://radio.dubbeh.net/trackquery.php"
	"Use Genres"		"0"
	"Kerst Hitradio"
	{
		"Stream URL"		"https://streaming.radionomy.com/Kerst-Hitradio"
		"Station ID"		"2060319503"
	}
	"Christmas-Hits"
	{
		"Stream URL"		"http://node-02.strongradiohost.com/yz1r6gdc6k5tv?rj-ttl=5&rj-token=AAABX9CbQW8fXJ7mtRHBgse0L47WxAi56KLA-vTPciBmH4b53zhFDw"
		"Station ID"		"1133799859"
	}
	"RADIO SANTA CLAUS"
	{
		"Stream URL"		"https://streaming.radiostreamlive.com/radiosantaclaus_devices"
		"Station ID"		"2024924773"
	}
	"A Country Christmas Mix"
	{
		"Stream URL"		"http://ithaca.cdnstream.com/1833_64"
		"Station ID"		"1148003447"
	}
	"Countdown2.Christmas Radio"
	{
		"Stream URL"		"http://158.69.227.214:8101/64aac"
		"Station ID"		"1525830005"
	}
	"Christmas Classics"
	{
		"Stream URL"		"http://listen.181fm.com/181-xtraditional_64k.aac?noPreRoll=true"
		"Station ID"		"18560778"
	}
	"Aboslut Christmas"
	{
		"Stream URL"		"http://janus.cdnstream.com:5379/live"
		"Station ID"		"1993198716"
	}
	"Rix FM"
	{
		"Stream URL"		"http://fm01-icecast.mtg-r.net/fm01_aac"
		"Station ID"		"656556520"
	}
	"Mix Megapol"
	{
		"Stream URL"		"http://fm02-icecast.mtg-r.net/fm02_aac"
		"Station ID"		"29394543"
	}
	"Bandit Rock"
	{
		"Stream URL"		"http://fm02-icecast.mtg-r.net/fm02_aac"
		"Station ID"		"1582852321"
	}
	"NRJ"
	{
		"Stream URL"		"http://ads-e-bauerse-fm-07-gos1.sharp-stream.com/nrj_instreamtest_se_mp3?i=nrj_instreamtest_se_mp3"
		"Station ID"		"250925468"
	}
	"Radio Active"
	{
		"Stream URL"		"http://stream.dbmedia.se/radioactive96"
		"Station ID"		"1490812479"
	}
}

Last edited by Ejziponken; 11-18-2017 at 14:31.
Ejziponken is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 11-18-2017 , 17:28   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #595

Is anything coming up in the server logs? It sounds like the old issue MOTD Fixer was meant to address - Thinking the CS:GO update might have changed something again.

Can have a look into this tomorrow, was just checking the forums before going to bed.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 11-18-2017 , 18:08   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #596

Quote:
Originally Posted by dubbeh View Post
Is anything coming up in the server logs? It sounds like the old issue MOTD Fixer was meant to address - Thinking the CS:GO update might have changed something again.

Can have a look into this tomorrow, was just checking the forums before going to bed.
I actually got it to work now when im hosting my own MOTD files etc. Not sure why.
Ejziponken is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 11-19-2017 , 09:41   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #597

Good that you got it sorted, downside is it could be something related to my hosting.

Will run some tests after the hosting switching later tonight, see how the script is functioning then. Going to be wiping the MOTD Fixer database too.

So everyone will need to make sure they're running the latest v1.07 to auto-register, or at least get a notification about an invalid server token. Which can be found here or in the base Radio download package.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 11-19-2017 at 09:43.
dubbeh is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 11-21-2017 , 13:43   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #598

Quick update about the current website downtime.

Everything should be working again within the next couple of hours, currently waiting for the DNS to migrate over to VPS and then the I'll need to renew the Lets Encrypt certificates. Which should hopefully all be complete by 9pm UK time - If everything goes as intended, which usually never does in I.T. xD.

Edit:
Migration should be complete now - Still need to give it time and see if any errors pop up.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 11-21-2017 at 17:26.
dubbeh is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 06-13-2018 , 07:29   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #599

Is anyone having issues with the latest TF2/Steam update?

Had one report of someone having problems after the latest update to TF2 or Steam.

Got another method I could add to Radio for loading MOTD stations without the use of MOTD Fixer.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
CookieB
Member
Join Date: Apr 2016
Location: Germany
Old 06-30-2018 , 16:31   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #600

Hello,

since there are other motd fixes now it would be nice to have a cvar to disable the error for the missing motd fix. It's a simple patch but if you have a github I can make a pull request to add it as well.

I'm aware that removing the translations can work around it but then it just prints an empty line.

Last edited by CookieB; 06-30-2018 at 16:31.
CookieB 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 23:29.


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