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 02-07-2017 , 11:35   Re: [ANY] Radio v2.0.0.5 (20/12/2016)
Reply With Quote #511

Hey,

Station ID doesn't matter at all. Plugin auto-generates one if nothing is found (Removed that from the config file inside the guide to stop anyone getting confused).

sm_radio_play_type "2" - Stations are loaded from "addons/sourcemod/configs/radiovolume.txt" and using the standard volume wrapper page. - Copied from the post a bit up

Just make sure you have the stations list as radiovolume.txt inside "addons/sourcemod/configs/"

Everything should then work exactly how you want. If you're still stuck, give me a shout.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
SpiritBob
Member
Join Date: Jul 2011
Old 02-19-2017 , 08:06   Re: [ANY] Radio v2.0.0.6 (31/12/2016)
Reply With Quote #512

How do you configure a radiodirect.txt for sm_radio_play_type "1"?
For unknown reasons we don't have a copy of an example of a radiodirect.txt
I'm trying to connect to this radio. http://radiofresh.bg/freshplayer/ (Not affiliated with shoutcast in any way)

Thank you in advance!
SpiritBob is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 02-19-2017 , 09:12   Re: [ANY] Radio v2.0.0.6 (31/12/2016)
Reply With Quote #513

Hey,

The format is exactly the same. Just make sure the list is saved to "addons/sourcemod/configs/radiodirect.txt" and the Stream URL is set to "http://radiofresh.bg/freshplayer/".

If you need anymore help, message here or send me a PM.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
PinHeaDi
Senior Member
Join Date: Jul 2013
Location: Bulgaria
Old 03-07-2017 , 10:43   Re: [ANY] Radio v2.0.0.6 (31/12/2016)
Reply With Quote #514

radiodirect.txt

PHP Code:
"Radio Stations"
{
    
"Radio Fresh"
    
{
        
"Stream URL"        "http://radiofresh.bg/freshplayer/;"
        "Station ID"        "636011687"
    
}
    
"Radio Veselina"
    
{
        
"Stream URL"        "http://thevoice.bg/player?radio=veselina;"
        "Station ID"        "1467068155"
    
}
    
"The Voice"
    
{
        
"Stream URL"        "http://thevoice.bg/player?radio=thevoice;"
        "Station ID"        "1457640002"
    
}
    
"Radio Vitosha"
    
{
        
"Stream URL"        "http://thevoice.bg/player?radio=vitosha;"
        "Station ID"        "2141108981"
    
}

And it doesn't work.
__________________

Last edited by PinHeaDi; 03-07-2017 at 10:44.
PinHeaDi is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 03-07-2017 , 11:54   Re: [ANY] Radio v2.0.0.6 (31/12/2016)
Reply With Quote #515

Hey,

Just did some research and found that them links won't work in wrapper mode (If that's what you was trying to achieve). Created you lists that should work out the box after a bit of testing with trial and error. Currently don't have a local server setup for testing after a windows reinstall, but hopefully everything works after testing in the wrapper page.

One thing I noticed testing out the streams - the stream server seems to be really unstable and that's testing on a Romanian connection across the border.

If the radiodirect.txt still doesn't work. Try changing sm_radio_play_type "2" which i can confirm works. The web players, especially the streams seem quite unstable.

Note: Radio Fresh has 2 stream servers added with "Radio Fresh - Server 2" being much more stable for me at least which i found on tune-in.


Just extract the bulgarian_stations.zip over the current radio install.


If you have any more issues, message here or send me a PM.
Attached Files
File Type: zip bulgarian_stations.zip (1.2 KB, 102 views)
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 03-07-2017 at 11:56.
dubbeh is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 03-15-2017 , 10:29   Re: [ANY] Radio v2.0.0.6 (31/12/2016)
Reply With Quote #516

Went to compile 2.0.0.6, and got these errors:

Code:
// radio/updater.inc(37) : error 100: function prototypes do not match
// radio/updater.inc(60) : error 100: function prototypes do not match
// radio/updater.inc(127) : error 100: function prototypes do not match
__________________
sneaK is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 03-16-2017 , 04:10   Re: [ANY] Radio v2.0.0.6 (31/12/2016)
Reply With Quote #517

You're missing the new updater.inc which i forgot to include in the 2.0.0.6 the base package

Can be found here and everything should compile out the box.

If you're still having problems, feel free to message here or send me a PM.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 03-16-2017 , 12:37   Re: [ANY] Radio v2.0.0.6 (31/12/2016)
Reply With Quote #518

Quote:
Originally Posted by dubbeh View Post
You're missing the new updater.inc which i forgot to include in the 2.0.0.6 the base package

Can be found here and everything should compile out the box.

If you're still having problems, feel free to message here or send me a PM.
Yoink, that would do the trick, thank you! Didn't realize there was an updated updater include file.
__________________
sneaK is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 03-17-2017 , 05:49   Re: [ANY] Radio v2.0.0.6 (31/12/2016)
Reply With Quote #519

You're welcome. Got 2.0.0.7 ready with all them small problems fixed and fully new decals compliant - But nothing really worth a release just yet in overall features. Might just dump the code on GitHub for anyone wanting to compile the source.

Something I was thinking over for the new release, would be a YouTube type search feature that would either do everything in SteamWorks or an external php script using a YouTube developer api key, with something like "yt search_query" but something like that might be better for a seperate plugin.

On the topic of the ShoutCast source: If anyone wants to check it out - Send me a private message and I'll be willing to send you the current code base (Thinking if to completley change over to Lumen/Laravel which I'm currenty in the process of learning or recode from scratch).

All you need to get everything working is a MySQL database, cron job access on your host and a valid ShoutCast developer API key. Just be warned early, the code base is far from how I would like it and experiemental features, like testing caching get_headers for 24 hours because of how slow it is in PHP 7.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
Mutse
Junior Member
Join Date: Sep 2015
Location: Belgium
Old 03-21-2017 , 17:40   Re: [ANY] Radio v2.0.0.6 (31/12/2016)
Reply With Quote #520

Hi @dubbeh

If interested
-> dutch translation ("nl")
Attached Files
File Type: txt radio.phrases.txt (18.1 KB, 100 views)
__________________

Mutse 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:57.


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