Shoutcast now playing PHP script

Are you looking for a simple way to get now playing info from your Shoutcast server?

Click to enlarge

You will need an encoding program that supports title streaming in order for this to work.

Programs such as Edcast/MB Recaster/Radiocaster get now playing info from a text file.

Not all standalone encoding programs support text files therefore they won’t output now playing information.

1) You will need a PHP enabled web server with “fsock” connections enabled (Ask your host if they support this most good hosts do)

Read the full article

Oddsock Gen Song Request Plugin

Oddsock Gen Song Request Plugin (Security Risk)

I noticed a post on the Winamp forums where someone was asking for a song request plugin for the program.

Another user suggested they should use the Oddsock Gen Song Request Plugin.

Click to enlarge

While the Oddsock Gen Song Request Plugin was great for interacting with listeners years ago.

Things have moved on somewhat especially in the world of Internet radio request scripts for websites.

“The Oddsock Gen Song Request Plugin is full of “Security holes” which in turn means the person using it could easily have their copy of Winamp hacked or worse their computer”

See this LINK for more information.

If you really need to have a song request page on your website then you should look no further than RadioDJ free radio automation software.

RadioDJ Free radio automation download

With RadioDJ you can use either a Demo web script or a WordPress plugin

Theses (PHP) scripts allow users to request songs from your website. These scripts aren’t that difficult to set up either.

You just need a web host that allows port 3306 access so the web scripts can talk to the MySQL database on your PC.

It’s gotta be better that than leaving your PC at the mercy of being hacked? As long as you choose a strong password for your SQL server when you set it up you shouldn’t have any issues with being hacked.

A Dutch Winamp fan site is still recommending the Oddsock song request plugin to anyone who visits their site.

They’ve obviously never heard about the security issues with the scripts…

If you do decide to use the Oddsock song request plugin then GOOD LUCK! You’ll only regret it when someone hacks the scripts and manages to crash Winamp!

Don’t say you weren’t warned!!

Creating a new SQL user

In case you haven’t already noticed, SQL tends to allow some pretty insecure permissions by default, allowing root access from any computer.

This is a big problem, especially if you have port forwarding configured on your router to your SQL instance.

However, you can easily create new users using any management interface, so we’ll do it with HeidiSQL

Click to enlarge

1) Launch HeidiSQL and sign in as root.
2) Select Tools > User Manager

First of all, we’ll remove root access for remote hosts.

There will be several accounts listed for root, from various locations. Select the root account that has just a % sign in the host column. This allows root access from any location, including on the internet and isn’t recommended. On the right hand side, select the drop down and pick the local network that matches your LAN IP range (e.g. 192.168.%)

This makes sure that when you’re on your local network, you can still log in as root. Click save.

Next we’ll add a new restricted user Click add user.

3) Choose a new username (Fred), and pick and repeat a secure password,
4) From host % (Access from anywhere)
5) In the “Allow access to” section, expand (But don’t select by ticking the box) global privileges
6) Choose select and insert

Click Save and Close.

You can now configure your web scripts and WordPress plugins to use this new username and password.

This new user is intended for use for scripts only. It doesn’t have the required permissions to run RadioDJ itself, you can either set up a new user in the same way with extra privileges, or use the root account now we’ve removed access for remote hosts.


Translate »