New Albums

Sacred Euphoria  Band- Politikult - albumart.jpg
Sacred Euphoria,
Politikult

Downplay  Band- Downplay - albumart.jpg
Downplay,
Downplay

Kenny Shaw  Band- Its a Brand New Day - albumart.jpg
Kenny Shaw,
Its a Brand New Day

G Sparx  Band- Vegas Saints - albumart.jpg
G Sparx,
Vegas Saints


Spottt
Spottt

Entertainment

  • August 05, 2008
  • Looking for Bands, Artists and Fans
  • Just recently the Asylum-ET website completed its second phase as we added the ability for unsigned bands and artists to register for a free account so they can get started on creating their personal band page as well as publishing their music online. The website offers mp3 audio and flv video players for bands as

  • July 06, 2008
  • birthday fireworks video
  • This was the first time we have got involved in pyrotechnics in a long time since permits, location and firemen are all needed for a show like that. This time everything fell right into place perfectly. We photographed and filmed the fireworks display and I have put it together into a nice little video for

  • June 16, 2008
  • Download the A-ET toolbar
  • We now have a new toolbar for you to use in your ie or firefox browser that will enhance your experience while at our site and away from it. A few things the asylum-et toolbar has to offer are direct links to key areas of the asylum entertainment website, quick search from google, one of

Recently Online


RSS Feeds

new albums top artists top albums

MusikCube Now Playing

There is not much that I like more than music and so I am always looking at new players. I ended up stumbling across one named MusikCube and I have been rather impressed with it so far. What I like most about it is that unlike other similar programs this one has built in functionality for tracking your play history with your website. The program provides access to php $_GET variables passed in a url.

I did not find many contributions regarding this though and I did not find any example code for any language so I decided to write a script in php that will track your tracks as they are played and store all the info to a MySQL database. The script then allows you to view the (x) most recent tracks played in xml format. I found a quick little example on php.net for parsing xml that I modified to display the track information in your website in your sidebar or wherever you decide.

First if you have not already, go download and install the MusikCube player.

Next download our example script and upload both included files to your server.
Open played.php and edit the $config array with values to reflect your setting options for database and tracks to show. After that is done save the file and close it. Open example.php and set $now_playing_uri to http://yourdomain.com/played.php were yourdomain.com is the name of your domain.

Start up MusikCube and get listening :) As you listen the database will update with the tracks. When you load the example.php in your browser you will see the recent tracks you have listened to.

TODO:
Modify the code in example.php to suit your needs and incorporate into your site.
You may also want to set up a cron or something to export this data since if you are like me the player will never stop and that accumulates some serious amounts of data.
You could modify the played.php to output all records from a date until a date and then save it so you could later use the xml to output statistics for how many times a specific track has been played.

See below for an example of the script in action

Download MusikCube Now Playing PHP Script
 MusikCube Now Playing PHP Script Download Count

Recently Played

  • artisttrackplays
  • MIAPaper Plains0
  • EnyaSmaointe9
  • Katy PerryHot 'N Cold0
  • EnyaShepherd Moons13
  • EnyaStorms in Africa8
  • Enya - Only Time10
  • Sweet November - Enya- Only Ti5
  • EnyaMiss Clare Remembers10
  • EnyaLothlórien9
  • EnyaSail Away (dance Remix)8

Our Sponsors


Popular Albums


BBC News

  • November 21, 2008
  • No justification for Brand show
  • Lewd calls to actor Andrew Sachs were a deplorable intrusion with no editorial justification, the BBC Trust says.

  • November 21, 2008
  • Madonna and Ritchie granted divorce
  • Madonna and Guy Ritchie are granted a divorce at Londons High Court with the singer citing unreasonable behaviour.

  • November 21, 2008
  • Deayton new host of Comedy Awards
  • Comic Angus Deayton is named as the new host of this years Comedy Awards after Jonathan Ross stepped down.

  • November 21, 2008
  • Sky host Stelling joins Countdown
  • Sky Sports presenter Jeff Stelling is to become the next host of quiz show Countdown, alongside graduate Rachel Riley.

  • November 21, 2008
  • Actress Miller wins damages
  • Actress Sienna Miller accepts damages of 53,000 as settlement for her harassment claim against a picture agency.

Affiliates