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

That's perfectly possible, but requires a bit of work to set up.

One way to do it would be by running your own radio stream (This is quite complex and requires a fair bit of work) - Can get an idea of how to go about that here or use a host that specialises in IceCast.

Another method is to create a custom YouTube playlist and add it as a station link or use each song as an option.

Set inside Radio "sm_radio_play_type 1"

Create a file called "addons/sourcemod/configs/radiodirect.txt" that would look something like this:
Code:
"Radio Stations"
{
	"Use Genres"		"0"
	
	"My Song 1"
	{
		"Stream URL" "https://www.youtube.com/watch?v=abcdefgh"
	}
	"My Song 2"
	{
		"Stream URL" "https://www.youtube.com/watch?v=abcdefgh"
	}
}
Now inside Radio, It will give each song as a choice inside the menu, but you won't have the volume control.

YouTube API support was something I was looking into a while back, and got side tracked fixing the problem inside CS:GO. Will definitely look into it again, now that I have more free time to focus on other tasks.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 09-06-2017 at 07:58.
dubbeh is offline
Cripix
Senior Member
Join Date: Sep 2016
Location: French, Bordeaux
Old 09-07-2017 , 04:32   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #572

Update French Translate
Attached Files
File Type: txt radio.phrases.txt (19.4 KB, 102 views)
__________________
My jailbreak Server :
Cripix is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 09-07-2017 , 14:26   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #573

Awesome, Thanks Cripix - Will add it to the next update and give credit.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
LESTRO
Member
Join Date: Jul 2017
Old 09-10-2017 , 05:25   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #574

Great plugin.
LESTRO is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 09-11-2017 , 08:17   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #575

Thanks Lestro - It's good to get feedback whether It's good or bad .

Got another small updated to Radio - based post has been updated.

2.0.0.11 Changelog:
- Reverted ShoutCast update timer fix - Was incorrect (Checks every 30 minutes now - 1,800 seconds)
- French translation updated - Huge thanks to Cripix
- Update all SteamWorks libraries to git 126 and updated SteamWorks.inc
- Added a changelog to the download package

Enjoy and please report any issues you might find.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
crazyflower
New Member
Join Date: Sep 2017
Old 09-11-2017 , 09:42   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #576

Why this cannot work well in L4D2 now?
crazyflower is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 09-12-2017 , 09:30   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #577

Made some progress in getting L4D2 to work again.

Seems like it requires JPlayer to function correctly though - <audio> tag doesn't appear to work at all.

Edit:

Got Left 4 Dead 2 fully working locally. Will put an update out later today.

Edit 2:

Update pushed. Had to release another update on top - To fix a typo within the playlists and Radio.

Quote:
v2.0.0.13
- Typo fixed in HTML5 (HMTL5) with the station playlists and plugin

v2.0.0.12
- Fixed Left For Dead 2 support - 1 is currently untested right now but feedback would be great
- New console variable "sm_radio_volume_wrapper_type 0/1":
0 = Use the HTML5 audio player - set inside the station lists under "HTML5 Volume Wrapper"
1 = Use the JPlayer audio player - same as above using "JPlayer Volume Wrapper"
New pages are html_rvw.html and jplayer_rvw.html inside radio2_wrapper.zip
If you experience playback issues in your current mod of choice - Try changing this setting first
- JPlayer forced under Left 4 Dead 1 and 2
Please report any issues you might find with this update
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 09-12-2017 at 14:16.
dubbeh is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 09-16-2017 , 09:40   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #578

Released an update for the previous Radio version 1 that fixes lots of problems since the CS:GO changes and addresses L4D support. This is for users still wanting a basic radio player without all the extra features on Version 2 - That might see the initial setup as a bit overwhelming.


Radio v1.0.0.23 Changelog:
- Fully fixed CS:GO support with MOTD Fixer
- Left 4 Dead support added utilising JPlayer
- Added a new radiostaions_vol.ini – Thanks to Caaine
- Included Updater by GoD-Tony and MOTD Fixer in the base package

Full documentation and downloads can be found here.

Enjoy
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 09-22-2017 , 21:11   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #579

Quote:
Originally Posted by dubbeh View Post
That's perfectly possible, but requires a bit of work to set up.

Another method is to create a custom YouTube playlist and add it as a station link or use each song as an option.

Set inside Radio "sm_radio_play_type 1"

Create a file called "addons/sourcemod/configs/radiodirect.txt" that would look something like this:
Code:
"Radio Stations"
{
	"Use Genres"		"0"
	
	"My Song 1"
	{
		"Stream URL" "https://www.youtube.com/watch?v=abcdefgh"
	}
	"My Song 2"
	{
		"Stream URL" "https://www.youtube.com/watch?v=abcdefgh"
	}
}
Now inside Radio, It will give each song as a choice inside the menu, but you won't have the volume control.

YouTube API support was something I was looking into a while back, and got side tracked fixing the problem inside CS:GO. Will definitely look into it again, now that I have more free time to focus on other tasks.
I tried this last night and it worked great. I went to bed and woke up this morning to it broken and I can not figure out why! It works with the shoutcast radios. But I can't get YT URLs to work anymore.

Edit: Yea been trying all day. Just can't get it to work now. Any chance of soundcloud support?

Last edited by TrappaTroopa; 09-23-2017 at 04:44.
TrappaTroopa is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 09-23-2017 , 14:38   Re: [ANY] Radio v2.0.0.8 FINAL (21/08/2017)
Reply With Quote #580

You getting any type of errors in the log files? Check inside "addons/sourcemod/logs" especially for anything related to MOTD Fixer - Added extra logging in 1.04/1.05 that will give feedback on missing client data, or any type of registraion errors.

Will look into SoundCloud support - Should work almost identical to how YouTube is right now but you won't get the volume control.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh 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 11:01.


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