PDA

View Full Version : [ANY] Radio v2.0.0.8 FINAL (21/08/2017)


Pages : [1] 2 3

dubbeh
08-03-2007, 13:03
Radio Version 2.0.0.16

Adds a Radio player to SourceMod that supports direct stations or streaming audio with built in volume control. Main Feature of version 2 is the ShoutCast auto-updating backend with a huge station list, song query and genre support.

Utilising https://radio.dubbeh.net with the ShoutCast API - SourceCode for the PHP/MySQL script is available on request.


Full documentation can be found here (https://dubbeh.net/sourcemod-plugins/radio-2/)
Tutorial on adding streams from TuneIn.com can be found here (https://dubbeh.net/2017/02/how-to-add-custom-streams-from-tunein/)

Download 2.0.0.16 (https://dl.dubbeh.net/sourcemod/radio/radio_2016.zip) - Complete Package including SteamWorks - Updated by Hexa-Core for SM 1.11 (https://forums.alliedmods.net/showthread.php?t=229556), SMJansson (https://forums.alliedmods.net/showthread.php?t=184604), MOTD Fixer (https://dubbeh.net/sourcemod-plugins/motd-fixer/) and Updater (https://forums.alliedmods.net/showthread.php?t=169095) (To keep everything in sync and working as intended)
Download Wrappers (https://dl.dubbeh.net/sourcemod/radio/radio2_wrappers.zip).

Powered by ShoutCast (http://www.shoutcast.com)


Version 1.0.0.23 documentation and downloads are available here (https://dubbeh.net/sourcemod-plugins/radio/)


Notice: CS:GO is completely unsupported right now until Valve reintroduces some type of MOTD functionality. "-scaleform" was removed which was the only way to get it working under CS:GO

Notice: To play stations under the new Chromium Embedded Framework changes with auto-play policies, will need to press play when the stations pop-up

xYx
08-03-2007, 14:02
lo,

kewl plugin in test it later!!

dubbeh
08-03-2007, 14:53
added a small update ;)

users radio station choices can be advertised to the whole server

^BuGs^
08-03-2007, 15:11
Look up the command:RegConsoleCmd

This would automatically create the !radio and /radio commands for chat and still allow access for "console" access by doing "sm_radio".

dubbeh
08-03-2007, 16:10
Thanks for the info bugs

I'll have an update out soon ;)

Extreme_One
08-04-2007, 09:53
Great plugin! :)

The menu system is borked though. If you go back and forward through the next/ prev menus the listings change.

Originally reported here (http://forums.alliedmods.net/showthread.php?t=58709)

dubbeh
08-06-2007, 04:25
Made a slight change in how it formats the array location from "%x" to "%d". Hopefully it fixes the menu corruption bug :(

[Arnold]
08-06-2007, 05:40
Great plugin, thx! One thing is missing, people need to be given the opportunity to turn the radio off again!

dubbeh
08-06-2007, 09:12
i was doing it the hard way by selecting the station again & pressing stop in wmp :(

I'll see if i can find a more efficient way in the next update ;)

[Arnold]
08-06-2007, 16:31
Ok, it's much simpler to just make a menu entry with an empty html page like this (http://www.meatfactory.net/extras/radio/radio_off.html). Maybe you just take that hint up in your sample config (and not my html page, please :-) ).

Arnold 8)

Extreme_One
08-06-2007, 18:17
;513403']Ok, it's much simpler to just make a menu entry with an empty html page like this (http://www.meatfactory.net/extras/radio/radio_off.html). Maybe you just take that hint up in your sample config (and not my html page, please :-) ).

Arnold 8)


That's exactly what I currently do except the downside is you get:

{name} is currently listening to Radio Off

;)

TheBar
08-06-2007, 21:27
I used about:blank to turn it off.
"Radio OFF" about:blank

Cheers -Jon

dubbeh
08-07-2007, 08:20
Updated the plugin with a new command sm_radiooff to turn the radio off

shortcuts are !radiooff & /radiooff

Extreme_One
08-07-2007, 09:19
Updated the plugin with a new command sm_radiooff to turn the radio off

shortcuts are !radiooff & /radiooff

Cool.
Do we now see something like:

<NAME> is no longer listening to the radio

^ If not can you please add it :)

dubbeh
08-07-2007, 09:27
yeah

shows "[SM-RADIO] <NAME> stopped listening to the radio" ;)

Extreme_One
08-07-2007, 17:43
yeah

shows "[SM-RADIO] <NAME> stopped listening to the radio" ;)

Nice one.

Can you add something like:

custom_radiooff_page 1
custom_radiooff_path "http://blah-blah.com/off.htm"

Please :wink:

Oh and BTW the menu works perfectly for me now . :up:

Thank you.

dubbeh
08-08-2007, 13:38
Added that to the latest release & setup a cvar to control a custom radio off page ;)

sm_radio_off_page "about:blank" - set to about:blank by default

Extreme_One
08-08-2007, 13:59
Added that to the latest release & setup a cvar to control a custom radio off page ;)

sm_radio_off_page "about:blank" - set to about:blank by default

Thank you :up:

[Arnold]
08-09-2007, 02:43
Hi,

the new sm_radio_off_page cvar is faulty. On every server start it is set to "about:blank" although I defined a html page in the config. After the first mapchange the cvar is set correctly.

Over that I get a "Unknown command ";;sm internal 1" error on every mapchange after installing 1.0.0.4.

dubbeh
08-09-2007, 03:20
Thanks for the feedback

I'll have a look into it today

Could possibly be the way it reads the cvar - If thats the case I'll add <"Custom Off Page" http://www.website.com> to the radiostations.ini :)

dubbeh
08-10-2007, 03:45
Update to v1.0.0.5 to address the custom off page bug ;)

Custom off page can no be setup like -
"Off Page" http://www.customwebsite.com/radiooff.html

This should stop any possible bugs with using a string cvar :)

[Arnold]
08-10-2007, 04:02
Works! Thx.

dubbeh
08-10-2007, 05:08
nps ;)

If anyone has any radio stations they would like adding - just post them in here and ill add them to the main download

Extreme_One
08-10-2007, 12:51
Nice update.

Thanks for fixing the custom off page. :)

Lord Pickle
08-10-2007, 17:36
I am ignorant. Where do I put the radiostations.ini? The setup says, " radiostations.ini -> the default mod folder", but I dont know what the default mod folder is. Thanks

Extreme_One
08-10-2007, 18:27
I am ignorant. Where do I put the radiostations.ini? The setup says, " radiostations.ini -> the default mod folder", but I dont know what the default mod folder is. Thanks


If you are running CS:S it's the "cstrike" folder, For DOD:S it's the "dod" folder etc. etc. :)

tcviper
08-11-2007, 14:26
Could you change that ini to the cfg/sourcemod folder where all configs are?

TheBar
08-11-2007, 23:33
KROQ is a good one
"KROQ" http://www.radiotower.com/player.php?channel_id=4163
and
"KLSX" http://www.radiotower.com/player.php?channel_id=4239
If you want to listen to Adam Corola

dubbeh
08-12-2007, 09:58
tcviper I'll release that in the next update ;)

thanks for the stations TheBar, I'll add them in the next update too ;)

spelworm
08-13-2007, 00:55
Ok i think i installed it right but still after i type !radio (or /radio or sm_radio) the server freezes for like 1 minute then it continues normally but wondered why :S

Edit: *shoots himself* nvm fixed had to reload the plugin after i installed it wrong so it would load all the files correctly :) and that i found in 1 second after i wrote this :S

great thnx :) maybe add EngageFM to the list ( www.engagefm.co.uk (http://www.engagefm.co.uk) )

dubbeh
08-13-2007, 04:40
small update to fill a few requests ;)

thanks to everyone for the new stations

[Arnold]
08-13-2007, 05:15
General question: shouldn't the plugin configuration files be located in /addon/sourcemod/configs while the sourcemod configuration files belong to /cfg/sourcemod?

dubbeh
08-13-2007, 09:58
It's the opposite way around ;)

made that mistake a while back with the high ping plugin, found out that plugin configs are loaded from cfg/sourcemod

bolinux
08-17-2007, 11:25
Here my custom radiostations.ini:


//
// Radio Stations Example File
//
// Example:
// "Radio Station Name" http://www.sourcetunes.com/music/css/index.htm (http://www.sourcetunes.com/music/css/index.htm)
//

"Top40" http://www.sourcetunes.com/music/player/chan9_web.php
"HipHop/Rap #1" http://www.sourcetunes.com/music/player/chan4_web.php
"HipHop/Rap #2" http://www.sourcetunes.com/music/player/chan5_web.php
"Classic Rap" http://www.sourcetunes.com/music/player/chan8_web.php
"Club/House" http://www.sourcetunes.com/music/player/chan10_web.php
"Dance" http://www.sourcetunes.com/music/player/chan11_web.php
"Trance" http://www.sourcetunes.com/music/player/chan13_web.php
"Drum & Bass" http://www.sourcetunes.com/music/player/chan14_web.php
"Metal" http://www.sourcetunes.com/music/player/chan6_web.php
"80's Hits" http://www.sourcetunes.com/music/player/chan7_web.php
"Alternative Rock" http://www.sourcetunes.com/music/player/chan1_web.php
"Hard Rock" http://www.sourcetunes.com/music/player/chan2_web.php
"Classic Rock" http://www.sourcetunes.com/music/player/chan3_web.php
"Country" http://www.sourcetunes.com/music/player/chan12_web.php
"Turn Radio OFF!" about:blank

// Set the custom radio off page here - use about:blank for default
"Off Page" about:blank


or use it as webshortcutlist in ingame browser: http://www.sourcetunes.com/music/css/index.htm (http://www.sourcetunes.com/music/css/index.htm)

sourcetunes comes whit a nice looking player.

bo.

dubbeh
08-17-2007, 12:00
Thanks for that - Gives user a good selection of music types

I'm planning on adding translations in the next release & might set that list to the default one ;)

fred
08-24-2007, 12:30
nice plugin , i m using radioblog for make my radio :) : http://forums.radioblogclub.com/viewtopic.php?t=10972

can you add a option for every player listen the same radio of the admin and keep the choice to turn off

i ask you this because the problem with radioblog is that each user start the playlist at the beginning (not possible to sing together :mrgreen:)
I think that radioblog is a good association with your plugin

an example my disco radio : http://fredo.free.free.fr/radio.blog/radio.php

thanks

dubbeh
08-24-2007, 12:42
I'll have a look into it for the next release & see what i can come up with :)

Just about to put up an update to support translations & bolinux's radiostations.ini file as the default one ;)

SourceTunes
09-28-2007, 16:16
Hey Dubbeh I currently run all the Source Tunes channels that are used as your default channels. Glad you all like the variety of music. I am going to add some functionality to the player like currently playing and last 5 played. During this change html pages for each channel will be condensed to one single PHP page that uses the URL to pass info.

I wish there was a way to pull the stations and links from a XML page, I know sslice was able to do that a while back with his newsstand plugin. In any case I will post a link to the new URL's that can be copy and pasted into the ini.

tkaway69
09-28-2007, 19:59
Props. :) Small problem though. The stations are fubard. Like... Most of them are not what they say. Metal station is Classic Rap. Others as well. Check into that when you get a chance other than that... Awesome Job. Fixed it. Never mind, Just had to edit the .ini

Teknor
10-02-2007, 14:14
Here is another problem I noticed.

This is listed in the server console and log file.

After 1st map change.
L 10/02/2007 - 12:31:50: server_cvar: "sm_radio_version" "1.0.0.8"
After 2nd map change
L 10/02/2007 - 12:36:20: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 12:36:20: server_cvar: "sm_radio_version" "1.0.0.8"
After 3rd map change
L 10/02/2007 - 12:41:33: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 12:41:33: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 12:41:33: server_cvar: "sm_radio_version" "1.0.0.8"
After 10th map change.
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"

See the pattern?

tcviper
10-03-2007, 09:12
Can you add a cvar to disable the welcome msg when people join saying This server runs Sourcemod Radio, type..........

tkaway69
10-03-2007, 09:25
Tried to remove from .sp. I then tried to recompile .sp. I got all sorts of errors. So.. Yea a cvar would be nice.

dubbeh
10-05-2007, 09:45
Sorry i havn't been around that much recently. Been quite busy over the past week+ with all my spare time spent practicing css for this ED league

@SourceTunes Think something like that can be done with the sockets extension, I'll see what i can come up with

@teknor I'll have a look into that bug

@tkaway69 can u do me a big favour & post the fixed .ini file thanks

@viper|tkaway69 Added a cvar to enable the welcome message to be switched on or off with a cvar "sm_radio_welcome"

tkaway69
10-05-2007, 09:56
All I did was edit the genre to match the stations.
Edited "radiostations.ini"
//
// Radio Stations Example File
//
// Example:
// "Radio Station Name" http://www.sourcetunes.com/music/css/index.htm
//

"Country" http://www.sourcetunes.com/music/player/chan9_web.php
"Pop Hits" http://www.sourcetunes.com/music/player/chan4_web.php
"R&B Hits" http://www.sourcetunes.com/music/player/chan5_web.php
"Metal Hits" http://www.sourcetunes.com/music/player/chan8_web.php
"80's Pop hits" http://www.sourcetunes.com/music/player/chan10_web.php
"Rap (Clean)" http://www.sourcetunes.com/music/player/chan11_web.php
"Old School Rap" http://www.sourcetunes.com/music/player/chan13_web.php
"Techno/Club/Dance" http://www.sourcetunes.com/music/player/chan14_web.php
"Rap (Uncensored)" http://www.sourcetunes.com/music/player/chan6_web.php
"Alternative Rock" http://www.sourcetunes.com/music/player/chan7_web.php
"Hard Rock" http://www.sourcetunes.com/music/player/chan1_web.php
"Classic Rock" http://www.sourcetunes.com/music/player/chan2_web.php
"Classic Alternative" http://www.sourcetunes.com/music/player/chan3_web.php
"Hip Hop Hits" http://www.sourcetunes.com/music/player/chan12_web.php
"Turn Radio OFF!" about:blank

// Set the custom radio off page here - use about:blank for default
"Off Page" about:blank

Your supplied "radiostations.ini"
//
// Radio Stations Example File
//
// Example:
// "Radio Station Name" http://www.sourcetunes.com/music/css/index.htm
//

"Top40" http://www.sourcetunes.com/music/player/chan9_web.php
"HipHop/Rap #1" http://www.sourcetunes.com/music/player/chan4_web.php
"HipHop/Rap #2" http://www.sourcetunes.com/music/player/chan5_web.php
"Classic Rap" http://www.sourcetunes.com/music/player/chan8_web.php
"Club/House" http://www.sourcetunes.com/music/player/chan10_web.php
"Dance" http://www.sourcetunes.com/music/player/chan11_web.php
"Trance" http://www.sourcetunes.com/music/player/chan13_web.php
"Drum & Bass" http://www.sourcetunes.com/music/player/chan14_web.php
"Metal" http://www.sourcetunes.com/music/player/chan6_web.php
"80's Hits" http://www.sourcetunes.com/music/player/chan7_web.php
"Alternative Rock" http://www.sourcetunes.com/music/player/chan1_web.php
"Hard Rock" http://www.sourcetunes.com/music/player/chan2_web.php
"Classic Rock" http://www.sourcetunes.com/music/player/chan3_web.php
"Country" http://www.sourcetunes.com/music/player/chan12_web.php
"Turn Radio OFF!" about:blank

// Set the custom radio off page here - use about:blank for default
"Off Page" about:blank

symphyle
10-06-2007, 12:22
Hi !

Sorry, i'm not an english man :s

When I type "!radio" or sm_radio" I have this message :


"Invalid radio stations menu handle" and i can't seen menu.

Anyone some Help ?

thanks,

Symphyle

tkaway69
10-06-2007, 13:31
Install:
radio.smx -> addons\sourcemod\plugins
radio.sp -> addons\sourcemod\scripting
radio.phrases.txt -> addons\sourcemod\translations
plugin.radio.cfg -> cfg\sourcemod
radiostations.ini -> cfg\sourcemod

Check and make sure you have these files in the folders they belong in.

symphyle
10-06-2007, 13:52
Yes, I have these.

And plugin is OK ...
[SM] Listing 27 plugins:
01 "Basic Comm Control" (1.0.0.1535) by AlliedModders LLC
02 "CS:S DM Equipment" (2.0.0.416) by AlliedModders LLC
03 "CS:S DM Preset Spawns" (2.0.0.416) by AlliedModders LLC
04 "CS:S DM Basics" (2.0.0.416) by AlliedModders LLC
05 "CS:S DM Bot Quotas" (2.0.0.416) by BAILOPAN
06 "CS:S DM Spawn Protection" (2.0.0.416) by AlliedModders LLC
07 "SourceMod Radio" (1.0.0.9) by dubbeh

But, i always have "Invalid radio stations menu handle" when I type !radio in chat area. :cry:

tkaway69
10-06-2007, 14:51
Well it sounds like a translations problem. I can not say for sure though. We are not having this problem. we are using Windows Build of sourcemod_version "1.0.0.1535". Good luck with this.

symphyle
10-06-2007, 18:18
Thanks, it was a syntax error in translate file :)

SourceTunes
10-07-2007, 16:38
I have just finshed changing the sourcetunes channels from mulitple to one single file (radio_web.php), you will need to change your .ini to the following.



"Hard Rock" http://www.sourcetunes.com/music/player/radio_web.php?chan=activex&name=Hard Rock
"Classic Rock" http://www.sourcetunes.com/music/player/radio_web.php?chan=classicrock&name=Classic Rock
"Classic Alternative" http://www.sourcetunes.com/music/player/radio_web.php?chan=classicalt&name=Classic Alternative
"Pop Hits" http://www.sourcetunes.com/music/player/radio_web.php?chan=hitmusic&bitrate=hi&name=Pop Hits
"RnB Hits" http://www.sourcetunes.com/music/player/radio_web.php?chan=RnB&bitrate=hi&name=RnB Hits
"Rap (Uncensored)" http://www.sourcetunes.com/music/player/radio_web.php?chan=raw&name=Rap (Uncensored)
"Alternative Rock" http://www.sourcetunes.com/music/player/radio_web.php?chan=q97alt&name=Alternative Rock
"Metal Hits" http://www.sourcetunes.com/music/player/radio_web.php?chan=hairband&bitrate=hi&name=Metal Hits
"Country" http://www.sourcetunes.com/music/player/radio_web.php?chan=BarRockinCountry&bitrate=hi&name=Country
"80s Pop Hits" http://www.sourcetunes.com/music/player/radio_web.php?chan=80s&name=80s Pop Hits
"Rap (Clean)" http://www.sourcetunes.com/music/player/radio_web.php?chan=hiphop&name=Rap (Clean)
"Hip Hop Hits" http://www.sourcetunes.com/music/player/radio_web.php?chan=power&bitrate=hi&name=Hip Hop Hits
"Old School Rap" http://www.sourcetunes.com/music/player/radio_web.php?chan=rapclassics&name=Old School Rap
"Techno/Club/Trance" http://www.sourcetunes.com/music/player/radio_web.php?chan=techno&bitrate=hi&name=Techno/Club/Trance

Falco
10-07-2007, 17:25
For some reason ingame the player shows up but no sound. Checked the links externally and they work fine. Any ideas?

Edit: Just some more info, I tried all the station from the !radio menu and found that the RNB station runs for 5secs. 80's station work fine. All other stations do not work. So its a good thing I'm an 80's fan cause thats the only station I can get to work, lol. Also if I !browse to the station menu http://www.sourcetunes.com/music/css/index.htm all stations work.

SourceTunes
10-08-2007, 10:46
I'm not sure what would cuase this, I did have to edit my post to remove the hyperlinks, if you copied them before you would not get the full URL becuase they were being cropped.

bolinux
10-08-2007, 10:53
Here is another problem I noticed.

This is listed in the server console and log file.

After 1st map change.
L 10/02/2007 - 12:31:50: server_cvar: "sm_radio_version" "1.0.0.8"
After 2nd map change
L 10/02/2007 - 12:36:20: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 12:36:20: server_cvar: "sm_radio_version" "1.0.0.8"
After 3rd map change
L 10/02/2007 - 12:41:33: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 12:41:33: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 12:41:33: server_cvar: "sm_radio_version" "1.0.0.8"
After 10th map change.
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"
L 10/02/2007 - 1:15:23: server_cvar: "sm_radio_version" "1.0.0.8"

See the pattern?

do you have "sm_radio_version" "1.0.0.8" as cvar in your cfg?

then delet it, this is only a info cvar, not a config cvar! :wink:

Teknor
10-09-2007, 01:33
do you have "sm_radio_version" "1.0.0.8" as cvar in your cfg?

then delet it, this is only a info cvar, not a config cvar! :wink:Info cvar it may be, but it's generated by radio.smx :wink: :shock:

Falco
10-09-2007, 02:07
Thanks SourceTunes, I used your edited ini and all is well.

dubbeh
10-09-2007, 19:14
Thanks sourcetunes

Updated the radiostations.ini & bumped the plugin to v1.0.0.10

tkaway69
10-14-2007, 01:45
Ok.. I cant get radio to work anymore. I have tried using your updated .ini but no stations play. Menu comes up when you choose a station but there is no music. and where it usually has the genre at the top of station menu there is nothing. It's almost as if when you choose a radio station all you are getting is http://www.sourcetunes.com/music/player/radio_web.php I have tried your station urls in web browser and they all work, but in game it is as if the channel part of the url (?chan=activex&name=Hard Rock) is missing. My radio version shows that it is up to date.

Here is my .ini
//
// Radio Stations Example File
//
// Example:
// "Radio Station Name" http://www.sourcetunes.com/music/css/index.htm
//

"Hard Rock" http://www.sourcetunes.com/music/player/radio_web.php?chan=activex&name=Hard Rock
"Classic Rock" http://www.sourcetunes.com/music/player/radio_web.php?chan=classicrock&name=Classic Rock
"Classic Alternative" http://www.sourcetunes.com/music/player/radio_web.php?chan=classicalt&name=Classic Alternative
"Pop Hits" http://www.sourcetunes.com/music/player/radio_web.php?chan=hitmusic&bitrate=hi&name=Pop Hits
"RnB Hits" http://www.sourcetunes.com/music/player/radio_web.php?chan=RnB&bitrate=hi&name=RnB Hits
"Rap (Uncensored)" http://www.sourcetunes.com/music/player/radio_web.php?chan=raw&name=Rap
"Alternative Rock" http://www.sourcetunes.com/music/player/radio_web.php?chan=q97alt&name=Alternative Rock
"Metal Hits" http://www.sourcetunes.com/music/player/radio_web.php?chan=hairband&bitrate=hi&name=Metal Hits
"Country" http://www.sourcetunes.com/music/player/radio_web.php?chan=BarRockinCountry&bitrate=hi&name=Country
"80s Pop Hits" http://www.sourcetunes.com/music/player/radio_web.php?chan=80s&name=80s Pop Hits
"Rap (Clean)" http://www.sourcetunes.com/music/player/radio_web.php?chan=hiphop&name=Rap
"Hip Hop Hits" http://www.sourcetunes.com/music/player/radio_web.php?chan=power&bitrate=hi&name=Hip Hop Hits
"Old School Rap" http://www.sourcetunes.com/music/player/radio_web.php?chan=rapclassics&name=Old School Rap
"Techno/Club/Trance" http://www.sourcetunes.com/music/player/radio_web.php?chan=techno&bitrate=hi&name=Techno/Club/Trance
"Turn Radio OFF!" about:blank

// Set the custom radio off page here - use about:blank for default
"Off Page" about:blank

jiggly
10-14-2007, 06:26
I am having the same issue now; I get two working stations RnB Hits & 80s pop hits

Any advice on what I can do?

dubbeh
10-14-2007, 12:21
I'll have a look into it today

Could be cutting off the station name from the question mark, I'll do a bit of debugging & report back soon

tkaway69
10-14-2007, 12:24
Thanks. This is a great plugin and well liked when it is working.

dubbeh
10-14-2007, 12:42
Found the bug & fixed it in 1.0.0.11 ;)

The buffers wasn't big enough for the new radio station URL's sizes

tkaway69
10-14-2007, 12:49
Thanks. When updating. The Plugin is all that really need updating right? The .txt, .ini and .cfg should be fine. Am I right or wrong? Well... It works now. Thanks for fixing.

jiggly
10-15-2007, 23:32
Works Great , thanks for the fast fix..

Funkfor20
10-18-2007, 20:23
Will this work for tf2?

supermj
10-19-2007, 00:40
Will this work for tf2?

I tried it and it didn't seem to...

dubbeh
10-19-2007, 05:14
What happend? did the menus not show up, or the chat not get hooked correctly

Can't test anything on orangebox yet, still need to go out & buy it

supermj
10-19-2007, 12:05
when you do the radio command, nothing happens.

dubbeh
10-20-2007, 03:12
Sounds like a possible bug with the sourcemod chat hook

Just wondering, does sm_radio work in the console?

Billeh
10-21-2007, 12:19
I seem to be having problems, the !radiooff will bring up the motd with a blank page but the !radio does nothing at all.

jiggly
10-22-2007, 08:25
Yep , same here ,its not working with TF2 .. any chance to getting it to work with TF2?

Excellent work on your plug in, our guys loved it on Dod source now there all begging for it on TF2. i think the large selection of music was a excellent touch.

dubbeh
10-22-2007, 10:38
I'll have a look into it tonight & see what the possible cause could be

Sounds like it might be having a problem finding the radiostations.ini

Billeh
10-22-2007, 14:36
Its in the config folder afaik.

Funkfor20
10-22-2007, 17:06
for my css server I am getting invalid menu handle when trying to access !radio

I have checked locations of all files .

I added sm_radio enable 1 to the autoexec .. Is that neccessary?

What did I do wrong

The009
10-22-2007, 17:57
Well I have decided to give my list and resources for everyone to use.

http://radio.the009.net/register/

Sign up and follow the links and you will be able to get around 50 stations right now and I always add more.

The pages will auto generate the links to put into the stations links.

This also works with mani web shortcuts.

Have fun all

tkaway69
10-22-2007, 18:36
Much appreciated 009. It seems there is a limit to the Number of stations you can have. It seems to limit you to 31 stations. Is there a way we can increase this?

misfit
10-22-2007, 23:17
Wow, very cool. Thanks. :-)

dubbeh
10-23-2007, 05:20
Updated the plugin to support an unlimited number of stations

Not sure if the TF2 bug is still happening. Made the plugin run SetFailState if it can't find the radiostations.ini

sessus
10-23-2007, 08:23
here is a request:

woudl you be able to add categories to the radio script so that stations can be devided up in genres?

misfit
10-23-2007, 10:27
here is a request:

woudl you be able to add categories to the radio script so that stations can be devided up in genres?

Thinking the same thing last night. So...ditto. :-)

The009
10-23-2007, 20:11
I am making one more update to the radio. I am going to make station submission and also redo the stations to all mysql. this will actually allow for faster results and searching of genera

this way if you only want a speffic genera on your server you will be able to sort the list.

As soon as it is done I will let you all know to get the new lists.

Hoody
10-28-2007, 21:00
Can anybody confirm that this is working on TF2? Dont want to install just yet and find it doesnt work :P

sessus
10-29-2007, 10:17
+ German translation

(not sure if the special characters will come on the menu, if not, I'm happy to change it for ya)

Hoody
10-29-2007, 19:02
Just to let you know... I tested it and it worked perfectly with TF2 :) Good job! :D

The009
10-31-2007, 19:28
Just an update.

The lists for the radio mod are half way done being updated.

The new features will allow you to sort by genera and much more.

I will keep you all updated

jiggly
11-07-2007, 07:46
Updated the plugin to support an unlimited number of stations

Not sure if the TF2 bug is still happening. Made the plugin run SetFailState if it can't find the radiostations.ini

Linux TF2
Hard rock station isn't working ! other than that, works pretty good.

Zervun
11-08-2007, 11:09
most of the stations work a few do not but it's awesome! (linux server)

sessus
11-08-2007, 22:22
you guys probably should consider that the Radio plugin just provides a menu with links to different websites that have a radio stream in them. So if your stations don't work, find new ones and change the config file accordingly.

The009
11-09-2007, 01:53
The entire listing system that I have created has multiple and I mean multiple over 50 stations in them. Some might work some might not atm.

The new version that I have made is fully running via MySQL so I have been working on a hole new system with 32 working stations and creating more.

The009
11-09-2007, 20:08
Needing beta testers for the new lists.

and what you think of the layouts.

Please PM me if you are interested.

The009
11-18-2007, 22:31
Version 3.0 Of the ingame player is now ready. Including the ability for you to add your own logo to the player and If you are using TF2 then you can have it match the color the ingame board.

http://radio.the009.net/register3.0/

Anyone using the old list will need to re-register if you wish to use the new version for it has better features and runs much smother.

I am still adding more stations all the time.

Any questions on any of it let me know.

[Arnold]
12-17-2007, 11:14
The plugin seem to ignore its config file. Though I set "sm_radio_welcome" to "0", the message still appears to all players. If I write that cvar settings into the server.cfg it works.

Arnold 8)

ThatGuy
01-01-2008, 16:22
I have the same problem as Arnold, it ignores the cfg and reads the server, but even though I told it to welcome everyone when joining.. it doesn't always work

Phoenix2
01-02-2008, 07:57
;564172']The plugin seem to ignore its config file. Though I set "sm_radio_welcome" to "0", the message still appears to all players. If I write that cvar settings into the server.cfg it works.

Arnold 8)

I get the same problem. It won't turn off unless I run sm_rcon exec sourcemod/plugin.radio.cfg in the console.

You should make it so it so it auto-reloads whenever the map changes, like sourcemod.cfg does. I'm guessing this wouldn't be too hard to code in.

On a lighter note, this plugin is awesome. My regs simply love it. I've edited the source code to say [UndeadFM] <Player Name> is now listening to Hard Rock, instead of [SM-RADIO] <Player Name> is now listening to Hard Rock. I hope this is alright with you. 8)

Cheers,
Phoenix2
http://www.UndeadVengeance.com

abnvet
01-02-2008, 17:01
Just installed and running nicely. Great Job! Do you have any issues if we change the SM-Radio to something else? and if so, is it just a matter of replacing the SM-Radio in the source to make this happen

nutz
01-02-2008, 20:35
just wanted to list a few good stations for ppl...all are alternative/hard rock stations and are some of my faves...

"Rock-KXTE-Las Vegas" http://www.radiotower.com/player.php?channel_id=4153
"Rock-KWHL-Anchorage" http://www.streamaudio.com/stations/player/pages/newplayer/LS_NEW_WMP7.ASP?station=KWHL_FM&PSNumber=0
"Rock-KBPI-Denver" http://www.kbpi.com/cc-common/streaming_new/index.html?refreshed=yes#
"Rock-KROQ-LA" http://www.radiotower.com/player.php?channel_id=4163

SourceTunes
01-07-2008, 17:56
I'm not sure if the default radiostations.ini still includes our Source Tunes channels but if it does it will soon require some updates.

Web Player Going Away
We will be discontinuing the web radio player we currently offer and moving to a JavaScript based player. Since the MOTD window does not support JavaScript it will not work in game, but don’t fear we have something better.
New Replacement Player and Stations
Our new In Game server player and channels have all been converted to work off our new database. During this transition we added over 60 channels of music. On top of that a majority of them also give you the ability to check the current song playing as well as the last 5 played.
New Station Locations
I have made two pages that directly access the database we store our stations in and output exactly what you need to paste into your radiostations.ini, The first one includes both Category of Music and Station Name and the second link only includes the Station Name. They both fetch info from the database so they should always be up to date with the latest channels.

Category and Station Name
http://www.sourcetunes.com/players/list.php (http://www.sourcetunes.com/players/list.php)
Station Name Only
http://www.sourcetunes.com/players/list_nocat.php (http://www.sourcetunes.com/players/list_nocat.php)


Please update your current radiostations.ini as soon as possible, we will only be supporting the old web player for a few more weeks. Hope you all enjoy.

We will also be updating our browser toolbar player as well with the new stations in the near future.
http://sourcetunes.ourtoolbar.com/

odie3
01-21-2008, 14:55
I installed this plugin last night, its pretty cool.

Thanks to SourceTunes for the radio link list.

LitKey
02-02-2008, 20:55
Hi,

I have installed this on my Insurgency server, and the radio commands work and pop up with a menu to select the station of your choice, but the stations don't work when you select them to be played. Also, the browse commands do not work... no window pops up like in games like CSS. Nothing happens. Is there something Insurgency doesn't support that this plugin needs to run correctly?

Thanks,
LitKey

yahretzkee
02-09-2008, 18:57
When i write anything except sm_browse "www.website.com", error appears and css shuts down

DontWannaName
02-14-2008, 21:40
SM_radio_advert is ignored and wont work. Unknown command, guess it broke.

Zalaxy
02-23-2008, 11:46
Okay so did the new patch make it borked? I'm stumped as I cannot get this to work on my TF2 server for the life of me. I've placed all the files in the correct spot. I've triple checked that. I have restarted the server countless times after checking and even overwriting the old files with freshly downloaded ones.

I've also added the commands to the server config. Meaning the sm_radio_enable command was added to the server config files. Just to see if that would help. It didn't.

The problem I'm having is the server is not recognizing any of the radio commands. Yet it does recognize the browse command and the browsing works perfectly. So I would go into console. Type the rcon password. Then type the sm_radio_enable 1 and it tells me sm_radio_enable is not a command.

Any assistance would be helpful. Has this thing gotten borked since the new patch or is there a error I'm doing on my side? Thank you in advance.

odie3
02-23-2008, 12:05
I do not think it is broken since it is working for me just fine. However, oddly I got a pop-up on my desktop and my game minimized (was asked if ffdshow could be loaded by hl2.exe). I told it always and I went right back into TF2 with the radio working.

BTW, are your using the radio.ini file (the stations) from the first post or the stations from this post (http://forums.alliedmods.net/showpost.php?p=571554&postcount=96)?

Zalaxy
02-23-2008, 16:25
I appreciate the help. I tried upating the old steam.ini to the present one and seeing if that changed anything. It didn't. My firewall isn't blocking anything though, as my game isn't doing anything. The problem is the server is saying that there is no such commands as !radio ,sm_radio_welcome 1/0 isn't a command either.

I'm about at my own end here as to what to do. So I've come here looking for help. Hopefully someone has had a similar problem or at least can see if I've had an ignorant moment somewhere.

odie3
02-23-2008, 22:47
Perhaps you did not put a file or files in their proper place? I know that sounds rather simple but it is just a suggestion to double check.

R4nd0mT!m3r
04-20-2008, 22:14
that dont work on my server i type !radio and then console says sm_radio cmd dont exist

DontWannaName
04-20-2008, 23:15
You didnt install it correctly. Type rcon sm plugins list in console if you have rcon access to see if it loaded. Check sourcemod/logs for error logs and make sure the smx is in the plugins folder.

R4nd0mT!m3r
04-21-2008, 02:04
it work fine i have start porblems with souremod usally i use EventScript 2.0 its much easier xD

J@y-R
04-23-2008, 07:10
Works not so fine on my server

I have problems

If I were a radio station in game will listen nothing möchte happened!
But when I use the link from my radiostations.ini
write in my browser can i listen radio

Greetz
JaY

tcviper
04-24-2008, 07:40
Attached you can all find a version which:

1) removes all spam in logs (loading radio....)
2) removes the Advert at player connect

Enjoy!

DJ Tsunami
04-24-2008, 08:18
Yeah, for some reason it doesn't read the settings from plugin.radio.cfg, so it still shows the welcome and announce messages even though you turned them off. You're better off adding these settings to sourcemod.cfg.

endeffects
05-16-2008, 18:08
Hallo guys =)

today i have released the sourcemod version
of my music plugin:

http://forums.alliedmods.net/showthread.php?t=71432

it's pretty easy to use.

regards

DJ Tsunami
05-17-2008, 08:27
So it this plugin, there's no difference between yours and this one.

FunTF2Server
05-26-2008, 12:48
Hey here's a suggestion. Could you make it for an admin can make a radio station play to everyone?

I run an extreme party server, and it would be cool if when everyone wants to, I can enable the "heavy metal" music station, and it will play for everyone.

I"m guessint it wouldn't be too hard to add it to your plugin, just have to make the motd screen (with radio station) pop up for everyone when an admin does a command?

exvel
06-24-2008, 20:13
Nice plugin. Thanks.

Bug: plugin.radio.cfg doesn't execute.
Request: plz add "Radio Off" button in menu on each page.

willy1234x1
06-25-2008, 03:18
Nice plugin. Thanks.

Bug: plugin.radio.cfg doesn't execute.
Request: plz add "Radio Off" button in menu on each page.
There's one at the end of the list and you can just type !radiooff that would just be redundant.

DontWannaName
06-25-2008, 03:41
or you can copy and paste the radio off info and put it every 8th space or 7, cant remember how many fit. Dubbeh has been gone for a long time, no updates are coming unless someone else edits it.

exvel
06-25-2008, 07:30
There's one at the end of the list and you can just type !radiooff that would just be redundant.
or you can copy and paste the radio off info and put it every 8th space or 7, cant remember how many fit. Dubbeh has been gone for a long time, no updates are coming unless someone else edits it.
I already did it and it is terrible. "Radio off" should be in navigation part of menu, so there must be a little space between radiostations buttons and "off" button. Also when you choosing "Radio off" plugin prints in chat "Player xxx listen Radio Off". :(

DontWannaName
06-25-2008, 11:55
Theres a setting to turn that off. You have to set the radio settings in server.cfg since the config that comes with it isnt executed.

exvel
06-25-2008, 12:52
I know it. :)

Cooltad
06-30-2008, 20:32
Plugin crashes my server and gives no errors.
latest sourcemod 1.1 snapshot.

DontWannaName
06-30-2008, 20:49
Probably a setting like telling people what station your listening to in chat. I have them all off.

Cooltad
06-30-2008, 21:33
I do too.

DontWannaName
06-30-2008, 22:11
It works fine for me with 1.1 in Windows

Cooltad
06-30-2008, 23:42
hmm
thats a releif to hear, so now i know my crashing issue is the other thing i thought it was :P

sirmoe
07-02-2008, 19:32
Any chance getting this updated to work with yesterdays steam update?

Cooltad
07-02-2008, 19:49
Works fine for me with latest 1.1 snapshot.

imported_Anth0ny
07-03-2008, 04:26
if i have http://www.icecast.org/index.php - based server, is this plugin will work with it?

DontWannaName
07-03-2008, 11:27
You just need it to stream, the simpler the better. I know sourcetunes uses windows media.

MaKTaiL
07-04-2008, 08:22
Hello everyone!

For those who are not able to play the Source Tunes Radios like me I have made a new "radiostations.ini" with the Shamusi Radios.

They are all categorized by type. You can download it below. Bye.

willy1234x1
07-07-2008, 06:21
Are last.fm and Pandora compatible with this plugin? Or are they something that I'd have to make a separate plugin for?

Cooltad
07-07-2008, 14:54
Are last.fm and Pandora compatible with this plugin? Or are they something that I'd have to make a separate plugin for?
The only differences could be the music, and the player that shows the music. So it should be fine. :D

willy1234x1
07-07-2008, 14:57
They both run on flash so I'm not sure. Because I don't know if the in game browser runs flash.

Cooltad
07-07-2008, 15:18
They both run on flash so I'm not sure. Because I don't know if the in game browser runs flash.
Most people have flash. Anyone who cares enough about comps to play TF2 on a comp has flash, so no problem. and SourceTunes is not run off flash, its ran off of wmp.

sofwmrebiteme
07-19-2008, 12:35
I am stumped. Here is what i get when i run sm_radio 1
[SM] Native "DisplayMenu" reported: Menu handle 0 is invalid (error 4)

Log says:
[radio.smx] [SM-RADIO] Loading the radio stations from "cfg/sourcemod/radiostations.ini"
L 07/19/2008 - 12:24:58: [radio.smx] [SM-RADIO] Finishing parsing "cfg/sourcemod/radiostations.ini" - Found 69 radio stations
L 07/19/2008 - 12:25:04: [randomcycle.smx] RandomCycle has chosen dod_avalanche for the nextmap.

Location of files:
radio.smx -> addons\sourcemod\plugins
radio.sp -> addons\sourcemod\scripting
radio.phrases.txt -> addons\sourcemod\translations
plugin.radio.cfg -> cfg\sourcemod
radiostations.ini -> cfg\sourcemod


Got this in my server.cg

// Enable the radio plugin
// "0" = Off
// "1" = On
sm_radio_enable "1"
// Enable advertising the users radio station choice
// "0" = off
// "1" = on
sm_radio_advert "1"
// Enable the welcome message
// "0" = off
// "1" = on
sm_radio_welcome "1"


Running sourcemod-1.0.4-r2414



What did I do wrong?

DontWannaName
07-19-2008, 14:58
Why are you giving sm_radio a value? It doesnt need a value.

sofwmrebiteme
07-19-2008, 21:36
Running DOD final
Running sourcemod-1.0.4-r2414

1. one of the issues is no radio when I select !radio
2. when i use the default helpmenu.cfg i can link out to your Mefight club login. I have tried every microsoft.com, yahoo.etc...Here is an example of my line
"sm_browse www.yahoo.com (http://www.yahoo.com)" "www.yahoo.com (http://www.yahoo.com)"

I tried it and i get nothing when I click. But i am seeing this in the plugin list:
[SM] Listing 29 plugins:
01 "Custom Votes" (0.5.3) by chundo
02 "sm_dod_realism" (1.0.102) by <eVa>Dog
03 "Basic Commands" (1.0.4-svn) by AlliedModders LLC
04 "SlapSlay Commands" (1.0.4-svn) by AlliedModders LLC
05 "PsychoStats rank`n`top" (0.2) by O!KAK
06 "Admin Menu" (1.0.4-svn) by AlliedModders LLC
07 "Basic Votes" (1.0.4-svn) by AlliedModders LLC
08 "Reserved Slots" (1.0.4-svn) by AlliedModders LLC
09 "Basic Ban Commands" (1.0.4-svn) by AlliedModders LLC
10 "Basic Comm Control" (1.0.4-svn) by AlliedModders LLC
11 "MapChooser" (1.0.4-svn) by AlliedModders LLC
12 "Nextmap" (1.0.4-svn) by AlliedModders LLC
13 "SourceMod Radio" (1.0.0.12) by dubbeh
14 "Anti-Flood" (1.0.4-svn) by AlliedModders LLC
15 "Fun Commands" (1.0.4-svn) by AlliedModders LLC
16 "Admin File Reader" (1.0.4-svn) by AlliedModders LLC
17 "PsychoStats Spatial Plugin" (1.1) by Stormtrooper, K1ller
18 "In-game Help Menu" (0.3) by chundo
19 "Basic Chat" (1.0.4-svn) by AlliedModders LLC
20 "PsychoStats - First Map Fix" (1.01) by Stormtrooper
21 "Basic Info Triggers" (1.0.4-svn) by AlliedModders LLC
22 "SM Parachute" (1.9) by SWAT_88
23 "Advertisements" (0.5.5) by Tsunami
24 "DOD:S Balancer" (1.0) by AMP
25 "Admin Help" (1.0.4-svn) by AlliedModders LLC
26 "Gas" (1.0.100) by <eVa>Dog
27 "Fun Votes" (1.0.4-svn) by AlliedModders LLC
28 "RandomCycle" (1.0.4-svn) by AlliedModders LLC
29 "Rock The Vote" (1.0.4-svn) by AlliedModders LLC


here is what I am seeing in console:

L 07/20/2008 - 00:08:32: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/20/2008 - 00:08:32: [SM] Native "PrintToChat" reported: Language phrase "Welcome" not found
L 07/20/2008 - 00:08:32: [SM] Debug mode is not enabled for "radio.smx"
L 07/20/2008 - 00:08:32: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 13 on
Player111: !radio
L 07/20/2008 - 00:08:45: [SM] Native "DisplayMenu" reported: Menu handle 0 is invalid (error 4)
L 07/20/2008 - 00:08:45: [SM] Debug mode is not enabled for "radio.smx"

Molli
07-20-2008, 01:07
This plugin rocks :up:

tanx.

BLS
07-20-2008, 13:53
yes, this plugin is awsome.. running on our DOD:S thanks..

DJ Tsunami
07-20-2008, 14:47
@sofwmrebiteme: you forgot to upload radio.phrases.txt to the translations folder...

sofwmrebiteme
07-20-2008, 16:01
Tsunami, I appreciate the help. You got me on the right track. The naming convention is messed up. That led me to the problem. Here is what i am seeing when I download the phrases and plugin from page one.
example:
radio[1].phrases.txt
plugin[1].radio.cfg
I think I was mixing them up but they are downloading this way and did not work.
It is working fine now. whew!!!
Thought I would post my findings!

Derek
09-13-2008, 09:05
Woot! Great Plugin.

WebNoob
09-13-2008, 10:09
Question:

I have the following set in the plugin.radio.cfg file:

// Enable the welcome message
// "0" = off
// "1" = on
sm_radio_welcome "0"

Yet, it still plays the welcome messages when a user joins. How can I shut those off?

siosios
09-13-2008, 14:56
edit the radio.phrases.txt for the plugin and remove the msg.....



"Phrases"
{
"Welcome"
{
"#format" "{1:s}"
"en" "Welcome {1}, this server is running SourceMod Radio"
"de" "Willkommen {1}, auf diesem Server läuft SourceMod Radio"
}


remove everything in blue

Derek
09-13-2008, 15:00
edit the source for the plugin and remove the msg.....

Not everyone know's how to do that. :)

siosios
09-13-2008, 15:05
sorry i edited.... read my last msg again.

Thermopyle
09-19-2008, 21:47
L 09/19/2008 - 14:31:26: [SM] Native "CloseHandle" reported: Handle e200e0 is invalid (error 3)
L 09/19/2008 - 14:31:26: [SM] Debug mode is not enabled for "sc_module.smx"

Box Cutter
09-20-2008, 07:38
L 09/19/2008 - 14:31:26: [SM] Native "CloseHandle" reported: Handle e200e0 is invalid (error 3)
L 09/19/2008 - 14:31:26: [SM] Debug mode is not enabled for "sc_module.smx"

I think you mean to post that here....

http://forums.alliedmods.net/showthread.php?t=60046


-BC

Thermopyle
09-20-2008, 12:17
Lol, you're right! Too many firefox tabs open.

zhelev81
10-11-2008, 07:39
radios :))

http://shamusi.com/onlineradio/index.html

chief2493
10-14-2008, 16:51
I just installed your plugin but, im getting this error
13:44:02 L 10/14/2008 - 15:44:07: [radio.smx] [SM-RADIO] Loading the radio stations from "cfg/sourcemod/radiostations.ini"
13:44:02 L 10/14/2008 - 15:44:07: [radio.smx] [SM-RADIO] Unable to open "cfg/sourcemod/radiostations.ini"
13:44:02 L 10/14/2008 - 15:44:07: [SM] Plugin encountered error 25: Call was aborted
13:44:02 L 10/14/2008 - 15:44:07: [SM] Native "SetFailState" reported: SM-RADIO] Unable to open the radiostations.ini file
13:44:02 L 10/14/2008 - 15:44:07: [SM] Displaying call stack trace for plugin "radio.smx":
13:44:02 L 10/14/2008 - 15:44:07: [SM] [0] Line 155, /home/groups/alliedmodders/forums/files/2/9/2/1/8/21044.attach::GetRadioStationsFromFile()
13:44:02 L 10/14/2008 - 15:44:07: [SM] [1] Line 77, /home/groups/alliedmodders/forums/files/2/9/2/1/8/21044.attach::OnMapStart()

gH0sTy
10-15-2008, 02:14
So did you upload the radiostations.ini to your "YourGameOrMod/cfg/sourcemod/" Folder ?

chief2493
10-15-2008, 14:06
So did you upload the radiostations.ini to your "YourGameOrMod/cfg/sourcemod/" Folder ?

yes, ive re-uploaded it a few times, and re-downloaded and then uploaded the new one at least twice

zhelev81
10-24-2008, 09:12
dubbeh fix pls the announce ,.. i can't swich it off ,,..even if i delete the lines in the phrases is still comming up [SM-RADIO] pls dubbeh :)

tcviper
10-30-2008, 05:05
Here, use this version which we use on the SteamFriends.com servers and has that annoying message removed:

zhelev81
10-30-2008, 08:13
tnx a lot :) i'm gonna try :)

u good man :)

DontWannaName
10-30-2008, 23:38
I dont get the welcome message on my server using the cvar? Is that what you guys dont want? It works for me?

gH0sTy
10-31-2008, 08:03
Here is a fixed Version so enabling and disabling in the config for welcome message and advertising works now.

zhelev81
10-31-2008, 09:26
great ,thanks :)

Analog
11-28-2008, 13:31
Can you do if user start playing radio then volume of game music go to zero?
And when user type !radiooff music level restore.
It is actual now for Left4Dead.

sry for my english. hope you understand.

Analog
11-29-2008, 04:18
why not ? :cry:

zhelev81
12-02-2008, 23:15
Where the radio taking resources (bandwidth)? Every client from hes own or from the server.Important for me,looking for the answer.

zerak
12-03-2008, 13:38
it just open a webpage to a audiofile, so the load will be on the website and the client I guess :)

InflatableSoulmate
12-13-2008, 21:37
Here's a version of the radio plugin that will actually load the config file properly. All the other files from the front page work as named with this version of the plugin. I also modified the way it makes the radio menu items available so that the plugin should work as soon as it is loaded instead of having to wait on a map change for it to start working.

gH0sTy
12-19-2008, 09:12
it just open a webpage to a audiofile, so the load will be on the website and the client I guess :)
Yes, that's correct.
This plugin only opens the MOTD window on client side and loads a website so there is no bandwidth use for the server.

shustas
12-27-2008, 09:52
Ok, nice plugin, just one problem, if I disable radio announce, it disables radio advertise as well

zhelev81
12-27-2008, 10:21
Ok, nice plugin, just one problem, if I disable radio announce, it disables radio advertise as well

if you open your eyes and read 2 posts above u may find the answer !!!


:D :D :D

shustas
12-27-2008, 11:24
oK, thank you

fr3akY
01-06-2009, 03:25
I have a small problem.

I have started the radio and changed the volume of music on the visible webpage (at the media player).

After i changed the volume i closed the window and started to play but the radio volume change back to his default volume.
Now my settings are deleted and the music is a little bit to loud but i cant change the volume on the mdeia player webpage.

:cry:

InflatableSoulmate
01-10-2009, 19:51
I would imagine that you could just use the !radio command and choose the same station you had chosen before to bring the page back up.

Singe
01-16-2009, 20:54
Is source tunes down? Was working perfect on my L4D server then one day just quit. I dont think its a plugin problem because I can go straight to the url in the radiostations.ini and it will come up but nothing plays. Anyone else having this issue?

gH0sTy
01-17-2009, 10:31
Maybe some radio stations need to be updated by sourcetunes but f.e. the Hit Music stations are working for me.

tko.busdriver
01-17-2009, 11:18
none of the stations are working for me either. :(

Darin
01-17-2009, 11:59
I won't work for me either, In the box I see all black where the player should be.

zhelev81
01-17-2009, 12:10
I did my own radio so I don't depend on any of those sites,exactly for the reason they can be down at any time :)

check this out and I'll tell you how to do it if you like it :)


http://csmega-radio.hit.bg/Di.FMGoaPsyTrance.html

Darin
01-17-2009, 12:20
howcome when I say !radiooff it brings up a white blank MOTD?

zhelev81
01-17-2009, 12:25
change this :

"Off Page" about:blank

to your wish in radiostations cfg settings !

Darin
01-17-2009, 12:30
Thanks, Is there any way after !radiooff for the MOTD not to appear? I find it annoying after typing the command.

zhelev81
01-17-2009, 12:50
I'm not sure about this :) So I can't say yes or no :)

Singe
01-17-2009, 19:39
Ok at least Im not the only one! Thanks for letting me know!

DevilsReject
01-18-2009, 14:09
does this work on l4d? as well?


EDIT:::::
That would be a No, but why not?

Singe
01-18-2009, 23:23
The plugin works perfect on L4D. I run it on my servers all the time. The only problem is that the actual radio stations are down at the moment. They worked for a bit yesterday so I assume someone is working on this issue.

DevilsReject
01-19-2009, 00:42
ok thats the problem then, i did install it and it all works but no music so that has to be the problem is the stations are down.

Singe
01-20-2009, 06:41
Theres a post here, probably someone from this website :wink:. However I couldnt get any of these to work either. Does the plugin need an update?

http://www.sourcetunes.com/index.php?topic=140.0

Singe
01-21-2009, 20:54
Stations are back up!!!!!!!!!!!!!!!

zhelev81
01-21-2009, 21:27
create your own station and do not depend on s0mething which is not permanent like this source tunes or whatever is called :)


check this out :

Di.FM Goa-Psy Trance (http://csmega-radio.hit.bg/Di.FMGoaPsyTrance.html)

DevilsReject
01-21-2009, 21:29
this still dont work on my l4d server but does on my tf2 server wtf man.

InflatableSoulmate
01-25-2009, 23:29
Yes, I believe sourcetunes is pretty much dead in L4D. This has been a raging topic on the L4DMods forums of late. There must be something different about the way that websites are handled between L4D and the standard source engine.

ulx
01-28-2009, 12:26
great plugin - our community loves it!

BUT: is there any chance to keep the musicstream alive @ mapchange, as the motd kills it by default (CS:S)?

tcviper
01-30-2009, 05:43
No you cant keep it alive when the map change.

DontWannaName
01-30-2009, 19:32
This is why valve should give us access to use the overlay browser from the servers! :D

InflatableSoulmate
02-05-2009, 01:30
Bah. If valve gave plugin developers access to the steam overlay browser, some asswipe would instantly put up a website that exploits some IE vulnerability and set up a plugin on his server that forces everyone who connects to go there. Since the overlay browser is just an encapsulated IE, everyone who isn't playing a source game in wine would get infected, then they'd probably hack everyone's steam accounts so they could cheat on VAC servers.

MrSaturn
02-09-2009, 04:03
create your own station and do not depend on s0mething which is not permanent like this source tunes or whatever is called :)


check this out :

Di.FM Goa-Psy Trance (http://csmega-radio.hit.bg/Di.FMGoaPsyTrance.html)

How did you do this? I want to make my own station too but I cant figure out how. I can setup all of these plugins and configure them but I havent been able to find the right coding to help me embed a synchronious broadcast inside a webpage.


Could you give me some links or advice please?

CrazyHamster
02-09-2009, 04:52
Hi everyone.

I just downloaded and tried the version from post #1 (version 1.0.0.12), and when I turned the radio on, the game just became so lag, that wasn't playable. I read through all 20 pages, and it seems that most people are having good results, from using just the default settings... :crab:

So should I use the one from InflatableSoulmate (post #163) instead?
---------------------------------

zhelev81,

I got the same request as MrSaturn's. Would be nice if you can kindly show us how to create our own stations. I want to include some of my local web stations, as well as the ones from my school and my friends' schools.

Thanks. :)
____________________________________________

zhelev81
02-09-2009, 06:24
Hi here is how :)

Download the html file I uploaded :

Rename it how u wish :)

Edit with your favorite editor ,,I use WordPad

Edit the lines to change the name :

<center><font size="+2"><font color="red">WELCOME TO CSMEGA-RADIO STATIONS

Then change the :

<center><font size="+1"><font color="blue">You are listening @ 181.FM - The BOX - #1 For Hip-Hop

Then the :

<param name="FileName" value="http://216.155.137.150:8024" />
Here Write the station (I got that from winamp radios)

And change here as well :

src="http://216.155.137.150:8024" align="middle"


Thats it ,... u got your own station ... not depending on anyone ...

Note : Do not upload this on your server because I'm not sure if it's going to use your internet ... upload it somewhere else ..

Then just link it to your Sm radio :)

CrazyHamster
02-09-2009, 08:30
zhelev81,

Awesome! Thanks for sharing!! :wink:

A question though, when u mention not to upload to the server, you mean the game server? Just want to make sure on that.

I do have a separate web hosting service, which I use for the my clan's website, as well as the fast download for my TF2 server. I am planning to set up the web radio page on it.

By the way, which version of the radio plugin are you using? Are you using the one from the original author, or the version from InflatableSoulmate?

Thanks again for sharing the knowledge on how to set up the web radio station. Really appreciate it!! :up:
________________________

zhelev81
02-09-2009, 09:03
Yes put it on a separate hosting :)

I use this version :

enjoy :)

MrSaturn
02-09-2009, 11:35
Hi here is how :)

Download the html file I uploaded :

Rename it how u wish :)

Edit with your favorite editor ,,I use WordPad

Edit the lines to change the name :

<center><font size="+2"><font color="red">WELCOME TO CSMEGA-RADIO STATIONS

Then change the :

<center><font size="+1"><font color="blue">You are listening @ 181.FM - The BOX - #1 For Hip-Hop

Then the :

<param name="FileName" value="http://216.155.137.150:8024" />
Here Write the station (I got that from winamp radios)

And change here as well :

src="http://216.155.137.150:8024" align="middle"


Thats it ,... u got your own station ... not depending on anyone ...

Note : Do not upload this on your server because I'm not sure if it's going to use your internet ... upload it somewhere else ..

Then just link it to your Sm radio :)

.... Thats not your own radio station... thats just.... renaming someone elses... I thought you meant your own radio station as in, you yourself chose the music that is being played. The exact songs. This is far from what you stated.

Thanks for the help, but this is not what I was looking for.

zhelev81
02-09-2009, 11:42
lol .... u want own radioa station ?well u have to pay alot :D

this never stoped working for me because this radio stations are from winamp and the always work good :))

u link them with this script because u cannot stright use them in sm radio :)

What else do u neeed ?

:shock::shock::shock:

MrSaturn
02-09-2009, 14:52
lol .... u want own radioa station ?well u have to pay alot :D

this never stoped working for me because this radio stations are from winamp and the always work good :))

u link them with this script because u cannot stright use them in sm radio :)

What else do u neeed ?

:shock::shock::shock:

Yeah ur right, what I want is kinda ridiculous.

But I found it! I'm testing it out right now. I am transmitting on a shoutcast band radiostation and am going to use your template to embed it into a webpage. Thanks alot for the help.

MrSaturn
02-09-2009, 15:19
Just FYI I was able to get a shoutcast radio going.

http://mrsaturn2.artofwarcentral.com/radio.html

This is the shoutcast setup

http://www.shoutcast.com/download

zhelev81
02-09-2009, 15:55
:up::up::up:

CrazyHamster
02-09-2009, 22:52
MrSaturn,

Good job dude, and if you don't mind, I want to include yours to my radio list. I like your music. Let me know.

As for zhelev81's method, I would say that's what most of us want.

Put it this way, we actually are trying to provide our own web radio listing to our players. Like for my usage, I just link my favorite radio stations for their internet broadcastings, and I can depend on my own listing, since I am hosting it myself. Also, it gives me a flexibility on the choice of radio stations (I just trim it down to like 3 or 4 stations, that is enough).

The SHOUTcast seems interesting though, and I might try it out for fun over the weekend, but I doubt that I would want to use it, since I don't want to spend my monthly bandwidth of my web hosting on that, nor I have the music collection for hosting my own web radio...

It would nice if you come back and let us know how much bandwidth it is using, say maybe for a week?

Again, thanks both zhelev81 and MrSaturn.
---------------------

By the way, how is this plugin working for everybody here? I am using the one that zhelev81 uploaded (post #196). It seems to be better, but still a bit laggy, to the level that effect my gameplay. Anyone else has performance issue before and knows the workaround?

I am testing the plugin on my sandbox currently, and I really want to provide it to my players, since most of them demand it.

DJTEAZER
02-11-2009, 22:01
Can you add my 3 shoutcast streams to your plug in?

Slicks
02-12-2009, 11:06
Slick Plugin..

Very Useful When No bodys on mic.

Good Job +karama

iVeDAkiLLa
02-18-2009, 14:48
Hey Guys,

how can i take new Radiostations to the list??

I will add Stations like technobase.fm, sunshine-live and fm4 austria

Is this possible??

gH0sTy
02-20-2009, 07:03
You can create a html file including the Windows media player.
Then upload it to your website and add the URL to the radiostation.ini.
Here is an example for TechnoBase.FM
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>DeepMix Radio</title>


</head>


<body>

<div style="text-align: center;">
<h1><span style="color: rgb(204, 204, 204); font-family: Arial Black;">TechnoBase.FM<br>

</span></h1>

<span style="color: rgb(204, 204, 204); font-family: Arial Black;">
</span>
<table style="text-align: left; margin-left: auto; margin-right: auto; color: rgb(204, 204, 204); font-family: Arial; width: 569px; height: 476px;" border="0" cellpadding="2" cellspacing="2">

<tbody>

<tr>

<td style="width: 692px;">
<div style="text-align: center;"><span style="font-weight: bold;"></span><span style="font-weight: bold;"></span><object id="WinMedia" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" height="60" width="319">
<param name="FileName" value="http://dsl.tb-stream.net:80">
<param name="AutoStart" value="true">
<param name="ShowControls" value="true">
<param name="ShowStatusBar" value="true">
<param name="AudioStream" value="1">
<param name="AutoSize" value="0">
<param name="AutoStart" value="0">
<param name="AnimationAtStart" value="0">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="0">
<param name="Balance" value="0">
<param name="BaseURL" value="">
<param name="BufferingTime" value="5">
<param name="CaptioningID" value="0">
<param name="ClickToPlay" value="-1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DefaultFrame" value="">
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="1">
<param name="DisplaySize" value="1">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="-1">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="-1">
<param name="EnableTracker" value="true">
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="0">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value="">
<param name="SAMIStyle" value="">
<param name="SAMIFileName" value="">
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="-1">
<param name="ShowControls" value="-1">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="1">
<param name="ShowStatusBar" value="-1">
<param name="ShowTracker" value="-1">
<param name="TransparentAtStart" value="0">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="333333">
<param name="VideoBorder3D" value="-1">
<param name="WindowlessVideo" value="-1">
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://85.21.79.5:8040" name="MediaPlayer" autostart="1" showstatusbar="1" height="55" width="319">
<br>

<span style="font-weight: bold;"></span></object></div>

</td>

</tr>

</tbody>
</table>

</div>

</body>
</html>

The Stream to connect to is defined in
<param name="FileName" value="http://dsl.tb-stream.net:80">Here is an online example of DeepMix Radio (http://www.softflower.de/tf2/motd/deepmix.html)

iVeDAkiLLa
03-01-2009, 11:00
Ok thx for your reply!

But when i copy the link of your DeepMix Radio example (http://85.21.79.5:8040) to my Browser i came not to the Streamlink...

What are the right Links for these 3 Radiostations for my html. File and where can i see it?

http://www.sunshine-live.de/

http://fm4.orf.at/

http://www.technobase.fm/

Thanks a lot. ;)

aurua
03-01-2009, 21:11
Hello,

I've installed this..2 times and have the same problem.
Everything is working correctly..except the !radio part.
The ads appear and all..but, When you type !radio nothing happens.
It appears as an unknown command in console.
Like I said, I've installed it twice & followed the tutorial exactly as it says. Anything else I can do?

aurua
03-06-2009, 01:18
Hello,

I've installed this..2 times and have the same problem.
Everything is working correctly..except the !radio part.
The ads appear and all..but, When you type !radio nothing happens.
It appears as an unknown command in console.
Like I said, I've installed it twice & followed the tutorial exactly as it says. Anything else I can do?

So like..No ideas? :down: :nono: :cry: :shock:

Faust_mateo
03-08-2009, 13:38
Great Job ! TY

Roel
03-13-2009, 15:46
Hallo
I have installed this plugin in Insurgency mod
its installed corectly
sm plugins list gives no errors for the radio plugin,

but when I go in game, I type !radio
I get a menu with all station from the ini file, but I select 1 and it doenst play?????

Why doesnt it play!!!

AcidTester
03-20-2009, 00:09
Jeez, plugin work good, but when open any custom radio, no WMP opens and no music (( But page opens good. What seems to be the problem?
Game L4d

I used ready radio, custom radio, any radio, but no music in l4d (((

arm5ky
03-20-2009, 04:54
Hallo
I have installed this plugin in Insurgency mod
its installed corectly
sm plugins list gives no errors for the radio plugin,

but when I go in game, I type !radio
I get a menu with all station from the ini file, but I select 1 and it doenst play?????

Why doesnt it play!!!

Insurgency doesnt have a web browser built into it like standard source games.

Faust_mateo
03-29-2009, 13:56
Hello all, anyone else stations not playing? The plugin commands work and the MOTD pop's up but even after clicking the "play" button , it never plays.



I tried the shamusi version of the radiostations.ini and that works, very buggy when you select a station on the MOTD, but works.


Anyone dealing with the same? Will running a sv-pure 1 & whitelist block this?


Running SM 1.2 & DOD:S

The009
03-29-2009, 16:52
Try mine.

http://radio.the009.net/register3.0/

There is a nice collection of stations there.

I will also be adding more soon.

If you find any stations that don't work just let me know ill update them or remove them :)

GajoFBI
04-05-2009, 18:12
Hi,
Can you add support for Left 4 Dead in a new version, please?

Also, if possible, can you categorize the radio stations by genre?

Thanks in advance! =)

atmuh
04-13-2009, 06:20
could someone help me out?
I need an html file like the one on the other page but I'd like it to play the OCR Stream found at this site - http://rainwave.cc.

Eagleman
04-23-2009, 09:42
WHen i type !radio ingame ( tf2 ) it doesnt pop up a menu. i checked the instalation 2 times and its correct.

bu when i type motd ingame nothing appears to :S?

The009
04-30-2009, 21:20
WHen i type !radio ingame ( tf2 ) it doesnt pop up a menu. i checked the instalation 2 times and its correct.

bu when i type motd ingame nothing appears to :S?

in console type

rcon sm plugins reload radio

If there are any errors you will know why its not working.


Hi,
Can you add support for Left 4 Dead in a new version, please?

Also, if possible, can you categorize the radio stations by genre?

Thanks in advance! =)


I Am working on a way to get it to work in L4D for I use this and some other stuff for ingame and the sounds don't play.

Refalm
05-01-2009, 17:48
I've made my own radiostations.ini.

Because I grew a bit tired of all the American stations in the original, and because there's hardly any good dance stations.

So here it is:
http://www.radioknop.nl/bestanden/sourceradio/radiostations.ini

Europeans and especially the Dutch will love this :)

Eagleman
05-05-2009, 10:08
WHen i type !radio ingame ( tf2 ) it doesnt pop up a menu. i checked the instalation 2 times and its correct.

bu when i type motd ingame nothing appears to :S?

ok it did sumthing..


L 05/05/2009 - 15:52:18: [radio.smx] [SM-RADIO] Loading the radio stations from "cfg/sourcemod/radiostations.ini"
L 05/05/2009 - 15:52:18: [radio.smx] [SM-RADIO] Unable to open "cfg/sourcemod/radiostations.ini"
L 05/05/2009 - 15:52:18: [SM] Plugin encountered error 25: Call was aborted
L 05/05/2009 - 15:52:18: [SM] Native "SetFailState" reported: SM-RADIO] Unable to open the radiostations.ini file
L 05/05/2009 - 15:52:18: [SM] Displaying call stack trace for plugin "radio.smx":
L 05/05/2009 - 15:52:18: [SM] [0] Line 155, /home/groups/alliedmodders/forums/files/2/9/2/1/8/21044.attach::GetRadioStationsFromFile()
L 05/05/2009 - 15:52:18: [SM] [1] Line 77, /home/groups/alliedmodders/forums/files/2/9/2/1/8/21044.attach::OnMapStart()
[SM] Plugin SourceMod Radio reloaded successfully.
Our website is: www.gaming.vitinetwork.eu (http://www.gaming.vitinetwork.eu)
[VnG]Zoey is HOT!!.SL : !radio
Unknown command: sm_radio

The INI is in this folder: /orangebox/tf/addons/sourcemod/configs ( radiostations.ini )

This is whats inside the INI:

//
// Radio Stations Example File
//
// Example:
// "Radio Station Name" http://www.sourcetunes.com/music/css/index.htm
//

"All Source Tunes" http://www.sourcetunes.com/players/server_player/radio.php?id=default
" Big Band Cantina" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan= bigbandcantina
"Cajun Fest" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=cajunfest
"Classic Blues" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=classicblues
"Smooth Jazz" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=smoothjazz
"Jazz Masters" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=jazzmasters
"Bar Rockin' Blues" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=barrockinblues
"Classic Country" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=classiccountry
"Folk Classics" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=folkclassics
"Hit Kicker Country" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=hitkickercountry
"Ladies of Country" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=ladiesofcountry
"Tears N' Beers Country" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=tearsnbeerscountry
"Bar Rockin' Country" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=barrockincountry
"Breakbeat Mix-Sets" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=breakbeatmixsets
"Dance Hits (Chicago)" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=dancehitschicago
"Industrial Radio" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=realindustrial
" 93.1 The Beat (Miami)" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=thebeatmiami
"House (Miami)" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=housemiami
"Chicago House Radio" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=chicagohouseradio
"Trance" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=trance
"Breakbeat (Tampa)" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=breakbeattampa
"Club UK Beats" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=clubukbeats
"Techno Club Hits" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=technoclubhits
"95 The Lite" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=95thelite
"Hot 101.5 (Dance & Pop)" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=hot101
"At Work Radio" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=atworkradio
"Alternative Rock" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=alternativerock
"Hard Rock" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=Hard Rock
"Top 40" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=top40
"Rhythmic Hits" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=rhythmichits
"Mix 106 - 90s & Now!" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=mix10690snow
"R&B Hits" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=rbhits
"70s Lite Hits" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=70slitehits
"90s Decade - Pop" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=90sdecadepop
"80s Decade - Pop" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=80sdecadepop
"80s Lite Hits" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=80slitehits
"90s Decade - Rhythmic" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=90sdecaderhythmic
"70s Decade - Pop" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=70sdecade pop
" 80s Hi-NRG Dance" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan= 80shinrgdance
"Skatin' Jamz" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=skatinjamz
"Old School Funk" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=oldschoolfunk
"90s Dance Hits" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=90sdancehits
"Disco (Studio 54)" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=disco
"Jammin' Oldies" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=jamminoldies
"Hard Rock" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=hardrock
"Alternative Rock" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=alternativerock
"Classic Rock" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=classicrock
"Hair Voltage" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=hairvoltage
"Classic Alternative" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=classicalternative
"Classic New Wave" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=classicnewwave
"Love Bites" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=lovebites
"Heavy Metal" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=heavymetal
"Old School Rap" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=oldschoolrap
"Skatin' Jamz" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=skatinjamz
"Tha Flava - RAW" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=thaflavaraw
"Jammin' Oldies" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=jamminoldies
"Old School Funk" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=oldschoolfunk
"Solid Gold Soul" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=solidgoldsoul
"Tha Flava - CLEAN" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=thaflavaclean
"Rhythmic Hits" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=rhythmichits
"Quiet Storm" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=quietstorm
"R&B Hits" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=rbhits
"Great Golden Grooves" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=greatgoldengrooves
"Salsa" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=salsa
"Merengue" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=Merengue
"Reggaeton" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=Reggaeton
"Latino Caliente" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=Latino Caliente
"J-Pop J-Rock" http://www.sourcetunes.com/players/server_player/play.php?id=default&chan=jpopjrock
"Turn Radio OFF!" about:blank

// Set the custom radio off page here - use about:blank for default
"Off Page" about:blank

Eagleman
05-06-2009, 06:14
but i cant open motd and other website ingame its sort of bugged :S any 1 know the solution of that?

GajoFBI
06-04-2009, 15:26
I Am working on a way to get it to work in L4D for I use this and some other stuff for ingame and the sounds don't play.

Are you still trying to get this working with Left 4 Dead, or there is no way?

Swagger
06-04-2009, 17:46
Add French translation. :wink:

The009
06-04-2009, 19:07
Are you still trying to get this working with Left 4 Dead, or there is no way?


I had some of them working but not all.

I am still trying. there are a lot of workarounds :(

The009
06-05-2009, 13:51
If you would like the help please send me a PM and I will gladly help you get this going.

I can walk you though it on team speak or I can do it for you.

Let me know

Regards,
The009

Icettiflow
06-09-2009, 19:58
On my L4D server, the menu comes up fine, and once you select a station the MOTD loads but with the banner as the content. If you click the MOTD window you will see the sourcetunes player with the exception of the player itself. The actual player with the play, pause, volume, etc is missing.

The009
06-09-2009, 20:26
On my L4D server, the menu comes up fine, and once you select a station the MOTD loads but with the banner as the content. If you click the MOTD window you will see the sourcetunes player with the exception of the player itself. The actual player with the play, pause, volume, etc is missing.

This is because they don't allow any type of embed for a player :(

Icettiflow
06-10-2009, 08:08
In a previous message, you said you had some of them working. Could you share some tips instead of telling me what I already figured out?

igotfits
06-23-2009, 21:14
whats up with the mod no channel is working it worked fine at first now none play, i went to the site itself where they get the music from and all the channels work fine. but once u try it from sourcetunes or something it doesnt work.

The009
06-25-2009, 00:18
I have been trying to get L4d working. The ones that I did get to work ate up recourse like mad. It kept all the music that was playing into RAM

I am not sure if there is a better way to get it to work but I am trying.

I hope in l4d2 they fix it

The009
06-25-2009, 00:19
whats up with the mod no channel is working it worked fine at first now none play, i went to the site itself where they get the music from and all the channels work fine. but once u try it from sourcetunes or something it doesnt work.

I think sourcetunes no longer works ingame from something that I read before.

you can always use the ones that I have for everyone to use.

jack_wade
06-25-2009, 04:27
Just finished the Spanish translation.

I don't know if the special characters like accents will appear in the chat window, if not let me know so I can fix it.

otacontoaster
06-25-2009, 11:14
None of the radio stations work for me or anyone else on my server. I assume the mod is installed correctly, cuz you can launch the radio page, etc. Once you click play on the WMP radio player though, it doesn't play anything.

Cptrmaker
06-25-2009, 14:22
If you go to Sourcetunes.com which this radio works from, even their players there do not work. So it is a Source Tunes problem. I'm wondering if they got caught up in the pay to play tunes mess.

TmDevice
07-04-2009, 21:55
Made an Italian translation for that :mrgreen:

coal
07-12-2009, 11:16
i did what was said in the install

radio.smx -> addons\sourcemod\plugins
radio.sp -> addons\sourcemod\scripting
radio.phrases.txt -> addons\sourcemod\translations
plugin.radio.cfg -> cfg\sourcemod
radiostations.ini -> cfg\sourcemod

still not working any idea ???

MaKTaiL
07-12-2009, 14:37
Just finished the Spanish translation.

I don't know if the special characters like accents will appear in the chat window, if not let me know so I can fix it.
They won't work. My language is Portuguese and I have the same problem with translations.
You are gonna have to use this small application: http://forums.alliedmods.net/showthread.php?t=96953

Let me know if you need any more help :mrgreen:

coal
07-12-2009, 14:51
SourceMod Radio: SM-RADIO] Unable to open the radiostations.ini file

radiostations.ini -> cfg\sourcemod

theres no cfg file just configs file

gH0sTy
07-14-2009, 06:21
Obviously the radiostations.ini file is missing, upload it to your <mod>/cfg/sourcemod folder and reload the plugin.

Just finished the Spanish translation.

I don't know if the special characters like accents will appear in the chat window, if not let me know so I can fix it.
You should use Notepad++ (http://notepad-plus.sourceforge.net/es/site.htm) for editing translation files, this will ensure the format won't be changed after saving the file.
You can also convert the file to UTF-8 with Notepad++ by selecting Format > Convert to UTF-8 NO BOM

EDIT: I've modified the plugin so it uses the translation based on the clients language and not based on the servers language.

rodregis
07-17-2009, 01:55
Just FYI I was able to get a shoutcast radio going.

http://mrsaturn2.artofwarcentral.com/radio.html

This is the shoutcast setup

http://www.shoutcast.com/download

Well just a little FYI for you. THANKYOU SO MUCH!!

I gaveup trying to get shoutcast working with this plugin a while ago, glad I went back through the comments.

THE__DRIFTER
07-17-2009, 20:19
I can use the mod in our TF2 server fine. The problem is that after awhile when I am listening to a station that it kicks me because it cant reach the Auth server. Any ideas or remedy for this? I have a 12 mb down connection so I wouldn't think it is that but need a few ideas.....

The009
07-20-2009, 21:27
Ok I have something that will work in L4D but its just music.

If you are intrested in beta testing it with me please send me a PM and I will give you a link to where you can get the list of Music.

Regards,
The009

GajoFBI
07-20-2009, 22:42
Well, I already send you a PM near 2 months ago...
But I will send you again. ;)

The009
07-22-2009, 14:53
In Left 4 Dead, when I close the motd, the music stops and thats very annoying... How can I fix it?


Thx in advance!

Sent you a PM about it.

Regards,
The009

Cyborg Hacker
08-15-2009, 12:37
Does this work for Left 4 Dead?

GajoFBI
08-15-2009, 19:14
Does this work for Left 4 Dead?

The one posted here no.

KoVGhost
09-09-2009, 18:31
The radio plugin doesn't work properly on our server after updating to the latest SM 1.2.3.
The menu is now old style and in the AoC mod, those menus dont work, only the ESC ones do and this one seems gone for Radio with 1.2.3 though works fine for other plugins.

Also, any way to disable showing MOTD when using radio and disabling popping up the choose a team menu after clicking away the MOTD?

SourceTunes
10-06-2009, 14:19
I know many of you use the Sourcetunes stations that are included by default.
Just a heads up, we have recoded our player and support for those stations will be ending soon. If able I will post a list of new stations that will work. Or you can come check out our new player and setup an account, its free; and you can still use this mod to get people to your Sourcetunes launch page.
Our new players features the ability to add mp3's, your own streaming stations as well as 16 color options and large space for your clan or communities logo. Best part is we constantly check the stations to make sure they are running so you don't have to, set it up and forget about it, it’s just that easy.

www.sourcetunes.com/multiplayer/config/login.php (http://www.sourcetunes.com/multiplayer/config/login.php)

GajoFBI
10-07-2009, 13:57
I know many of you use the Sourcetunes stations that are included by default.
Just a heads up, we have recoded our player and support for those stations will be ending soon. If able I will post a list of new stations that will work. Or you can come check out our new player and setup an account, its free; and you can still use this mod to get people to your Sourcetunes launch page.
Our new players features the ability to add mp3's, your own streaming stations as well as 16 color options and large space for your clan or communities logo. Best part is we constantly check the stations to make sure they are running so you don't have to, set it up and forget about it, it’s just that easy.

www.sourcetunes.com/multiplayer/config/login.php (http://www.sourcetunes.com/multiplayer/config/login.php)

Thanks man! Thats really usefull! ;)