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
Proz
AlliedModders Donor
Join Date: Apr 2005
Old 06-27-2017 , 03:16   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #531

Quote:
Originally Posted by Caaine View Post
the Stations working fine

The Volume and the Turn off funktion are not working.

Game: CSGO
Turn off works for me and it only plays the first station you selected.

So If you select station #1 and then station #2 it will still play station #1.
Proz is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 06-27-2017 , 17:23   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #532

Judging by what I've read up about the last few patches (Not sure which patch directly implement this) CS:GO only seems to remember the first URL opened in the MOTD. Which will require a custom routine like in WebLync to redirect the user to their station of choice using a base redirection URL. This can be implemented but will require some time to code up and get functioning.

Think of it as the current rvw.html doing a lot more work.

Edit..
TL : DR station loading works fine only for the first external URL.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 06-27-2017 at 17:24.
dubbeh is offline
Newbie_Sexy
Member
Join Date: Aug 2016
Location: Vietnam
Old 06-28-2017 , 08:23   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #533

How to change the songs?
Newbie_Sexy is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 06-28-2017 , 13:26   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #534

Currently working on fixing this right now since the last CS:GO update broke alot of servers using the MOTD method to load data.

Right now only the first station/song will work (Works perfectly fine under every mod except for CS:GO right now).

Hopefully have CS:GO working as normal again come next week.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
Proz
AlliedModders Donor
Join Date: Apr 2005
Old 06-29-2017 , 02:22   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #535

Quote:
Originally Posted by dubbeh View Post
Currently working on fixing this right now since the last CS:GO update broke alot of servers using the MOTD method to load data.

Right now only the first station/song will work (Works perfectly fine under every mod except for CS:GO right now).

Hopefully have CS:GO working as normal again come next week.
Great, looking forward to a fix.
Proz is offline
Newbie_Sexy
Member
Join Date: Aug 2016
Location: Vietnam
Old 07-08-2017 , 01:32   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #536

Quote:
Originally Posted by dubbeh View Post
Currently working on fixing this right now since the last CS:GO update broke alot of servers using the MOTD method to load data.

Right now only the first station/song will work (Works perfectly fine under every mod except for CS:GO right now).

Hopefully have CS:GO working as normal again come next week.
Sorry for my English (I'm stupid). Can i ask you two more question?
1: Can this plugin work well on Left 4 Dead 2?
2: How can I change the playlist?
=-=-=-=-=-=-=-Thanks You-=-=-=-=-=-=
Newbie_Sexy is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 07-16-2017 , 21:06   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #537

Hey, Sorry for the late reply.

1: I know that L4D2 was having problems a bit back and not sure if it auto-fixed itself. Will have another look when i fixed the current issues with CS:GO.
2: Everything is controlled under the console variable sm_radio_play_type. Check out the documentation under Genre List Format here. If you need any more help, feel free to send me a PM.


On the topic of the CS:GO fixes.

Currently working on a seperate module that will hopefully fix most plugins using the MOTD method to load URLs (Jukebox is one that comes to mind) - Similiar to Weblync but has everything open source and the ability to self host the PHP script with an IP restriction (So only servers of your choosing can use it).

It will work around a module called motd_fixer that will be a replacement for ShowMOTDPanel.
Server admins will need to do "motdf_register" to get a unique server token that is only valid for that servers IP/Port combination (This is only if using my host or anyone wanting to self host for everyone - You can use the IP based restriction and host locally to avoid this).

Once you register the server - Any plugins that wants to use the new method of MOTD loading will need to be recompiled with MOTDFLoadURL instead of using the old method of ShowMOTDPanel. Once this is done, MOTD Fixer will do it's magic.

Warning: This is still untested and in coding stage but most PHP code is done now and half way through the SourceMod module. If anyone wants to test this. Feel free to send me an PM. Probably still going to need at least one more week to release a public alpha, because of the kind of testing this requires.

One more last thing, This is only required for CS:GO right now and the module will SetFailState if ran on anything else.

One more thing: I forgot to mention that Weblync doesn't support hidden panels which is required under CS:GO and it's basically a drop in replacement for ShowMOTDPanel with a queuing type request system.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 07-16-2017 at 21:09.
dubbeh is offline
waylander3
Senior Member
Join Date: Sep 2015
Location: Russia, Norilsk
Old 07-17-2017 , 03:50   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #538

Hello, i have my own radio station (http://******.com:8000/listen.pls)
How can i use just this radio station, without any other?
waylander3 is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 07-17-2017 , 12:20   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #539

Hey,

You would need to create a "sourcemod/configs/radiovolume.txt" and set "sm_radio_play_type 2".

This is an example of a very basic playlist with one station:

Code:
"Radio Stations"
{
    "Off Page" "https://radio.dubbeh.net/radiooff.html"
    "Volume Wrapper" "https://radio.dubbeh.net/sm/rvw.html"
    "Shoutcast Player" "https://radio.dubbeh.net/index.php"
        "Volume Track Query" "https://radio.dubbeh.net/trackquery.php"
    "Use Genres" "0"

    "My Own Station"
    {
        "Stream URL" "http://myownstation.com/stream"
    }
}
Once you have the very basic list saved, you'll need to work out the correct stream link from listen.pls (Save the listen.pls to the desktop and open it with notepad for example, and you should see all the Stream URL's - Basically need to get the right link to load inside Radio).

If you need anymore help - Feel free to message me over PM and I can look into it for you.
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
waylander3
Senior Member
Join Date: Sep 2015
Location: Russia, Norilsk
Old 07-17-2017 , 12:50   Re: [ANY] Radio v2.0.0.7 (27/04/2016)
Reply With Quote #540

OK, inside my listen.pls i have this structure:

[playlist]
NumberOfEntries=1
File1=http://****.com:8000/

And don't see Stream URL

Last edited by waylander3; 07-17-2017 at 12:50.
waylander3 is offline
Reply


Thread Tools
Display Modes

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 09:10.


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