WordPress Plugin – Radio Station

Radio Station - WordPress Plug-in
Description

This Page is for Archival Purposes Only. Development of the Radio Station Plugin has been taken over by Tony Zeoli.

Radio Station is a plugin to run a radio station’s website. It’s functionality is based on Drupal 6’s Station plugin, reworked for use in WordPress. The plugin includes the ability to associate users with “shows” (schedulable blocks of time that contain a description, and other meta information), and generate playlists associated with those shows. The plugin contains a widget to display the currently on-air DJ with a link to the DJ’s show and current playlist. A schedule of all shows can also be generated.


Downloads

WordPress Repo: http://wordpress.org/extend/plugins/radio-station/

Direct Downloads:

Final Release: Version 2.1.3 – 12/8/2015


Contributors: kionae
Donate link: http://www.nlb-creations.com/donate
Tags: dj, music, playlist, radio, scheduling
Requires at least: 3.3.1
Tested up to: 4.3.1
Stable tag: trunk


Installation

  1. Upload plugin .zip file to the /wp-content/plugins/ directory and unzip.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Give any users who need access to the plugin the role of “DJ”. Only DJ and administrator roles have administrative access.
  4. Create shows and set up shifts.
  5. Add playlists to your shows.

Posted

in

by

Comments

268 responses to “WordPress Plugin – Radio Station”

  1. Roberto Moreno Avatar

    Two Questions:

    1) What is the license software? MIT, GPLv3, Apache?

    2) Exists public repository, I’m making some changes I need in the plugin, and I would like to send the changes. if your not used public repository: I can create a public repository on github with the project?

    Thanks

    1. Nikki Blight Avatar

      1) GPL2, same as the WordPress software itself.

      2) The only repository that exists is the one on WordPress.org. My plugin doesn’t have a public repository. You’re welcome to create your own branch of the software on GitHub, though.

  2. Mike Avatar
    Mike

    Hi Nikki. Just noticed one other small issue. The master schedule displays hyperlinks of all genres that have a show on the schedule. Clicking on any of these highlights all the shows on the schedule instead of just the selected genre.

    Thanks again. This plugin is awesome.

    1. Nikki Blight Avatar

      Can you let me know what browser you’re seeing this in? I’m not seeing it on my test site.

      1. Mike Avatar
        Mike

        Sorry Nikki, I should have done more testing. It was theme/CSS related.

        Thanks again.

  3. Michael Avatar

    Hello,

    Just installed this plugin on a clients website. WordPress 3.6.1 & plugin 1.4.6

    Where is the option to create shows? I’ve been right through all of the menus. I’ve added a new user and they have the DJ role set.

    Many thanks

    1. Nikki Blight Avatar

      It should appear as a “Shows” tab immediately underneath the “Posts” and “Playlists” tabs in the left side menu of the admin view (assuming you don’t have other custom post types created by other plugins/your theme).

  4. Deke Rhinehart Avatar
    Deke Rhinehart

    I thinking I must be missing something and just can’t figure it out. I was interested in your plugin for the Now Playing widget. I’m curious as to where I input my song feed url in order to take advantage of this widget. Any help would be appreciated. Thanks!

    1. Nikki Blight Avatar

      The Now Playing widget actually pulls from playlists lists entered by the DJs, not from a feed.

  5. Kswift Avatar
    Kswift

    Hi, thanks for such an amazing plugin; I had looked for something like this a couple of years ago and didn’t find any. Will use this on a radio station website.

    My question – and I see someone else asked something similar; I need the sidebar widget to display the users/deejays as in ‘hosted by’ on the show page.

    Is there a quick code hack for that? I tried to copy the code from the show page to the widget, but I guess this part only works on the actual show page and not in a widget:

    $djs = get_post_meta(get_the_ID(), ‘show_user_list’, true);

    1. Nikki Blight Avatar

      get_the_ID() is a wordpress function that needs to execute within The Loop in a template. If you wanted to use that line of code in the widget, you would need to specify the ID of the show being requested. In the case of the widget, it would be:

      $djs = get_post_meta($dj->ID, ‘show_user_list’, true);

      Then you can format it similar to the way the show page template does:

      $djs = get_post_meta($dj->ID, ‘show_user_list’, true);

      $count = 0;

      if($djs) {
      foreach($djs as $dj) {
      $count ++;
      $user_info = get_userdata($dj);

      echo $user_info->display_name;

      if( ($count == 1 && count($djs) == 2) || (count($djs) > 2 && $count == count($djs)) ) {
      echo ' and ';
      }
      elseif($count < count($djs) && count($djs) > 2) {
      echo ', ';
      }
      else {
      //do nothing
      }
      }
      }

      1. Kswift Avatar
        Kswift

        Thank you, that worked perfectly well!

        One other nice ‘hack’ may be to only show the times of the current slot instead of its full programming in the widget. For example our daily breakfast show, while it plays, would only show ‘7.00 – 10.00’ instead of its full weekly schedule. This may be useful for listeners who just bumped into the show and want to know until when they can listen.

        1. Jason Jordan Avatar

          Can I bump this one?

          I love love love the plugin but there’s a couple of things that’d make it perfect.

          In the dj-widget and the dj-coming-up-widget, In addition to the Show Name, I’d like to see which DJ is presenting the show and the times the show is on between that session (not the full schedule for the week)

          In other words it’d say something like:
          NOW ON REVOLUTION FM
          MUSIC HITS
          with JASON JORDAN
          4pm – 6pm

          The other cool feature would be a way to say a particular show is on
          6pm-9pm Weekdays
          rather than identifying every individual day.

          But this really is a cracker of a plugin. Well done!

          Cheers, Jason

          1. Nikki Blight Avatar

            The option to display only the current schedule for a show has been added in version 2.0.0.

            I can certainly look at adding the DJ’s name as well.

  6. felius Avatar
    felius

    Hi. I just want radio streaming. When user login my site, automatically plays one song, which at the moment all listen. How can I doing?

    1. Nikki Blight Avatar

      That is not the intention of this plugin. If you need to stream music, you’ll have to look into using a streaming service, like Live365.com.

  7. Paul Avatar
    Paul

    Hi Nikki, Great Plugin! I was wondering if there was a way to create a supplemental schedule that would display in place of the master schedule for a defined day and time period. For example, when there is a local sporting event or special broadcast on a certain day only? Thanks

    1. Nikki Blight Avatar

      No, there currently isn’t. It would be difficult to override the main schedule like that. I may consider adding it to a future release if there’s enough demand, but for now, it’s not really in my plans.

      1. Leonard Avatar
        Leonard

        Nikki, this is actually a pretty popular feature for radio. Sometimes you have a DJ out sick and need to have someone fill in, this would accommodate that fill in slot.

    2. Saxon Mosh Avatar

      I like your idea Paul .. a one off event 🙂

    3. Nikki Blight Avatar

      Well, since so many people seem to be interested in it, I’ve added this option to version 1.6.0. 🙂

      1. Paul Avatar
        Paul

        Thanks so much Nikki, You’re the best!

  8. Chris Avatar
    Chris

    Love the plugin! I would like to be able to display the weekly schedule in list format – without the table. Is this possible please?

    1. Nikki Blight Avatar

      At the moment, no. It’s something I could probably do pretty easily, though. I’ll look into it.

      1. Chris Avatar
        Chris

        That would be great, thanks 🙂

  9. Saxon Mosh Avatar

    Invalid argument supplied for foreach()
    /wp-content/plugins/radio-station/radio-station.php(179)

    wordpress 3.6 to wp 3.7.1 using gamepress theme, standard wordpress themes twentytwelve and twentythirteen.

    1. Nikki Blight Avatar

      Would help to know what screen(s) you’re seeing that error on. It’s not coming up on my install.

      1. Saxon Mosh Avatar

        admin screen, regular users are also seeing it on their dashboard.

        1. Nikki Blight Avatar

          Try version 1.6.2.

      2. Saxon Mosh Avatar

        This is what I see after writing in the post editor of the add playlist screen.
        I have not added any entries into the playlist, only a bit of blurb in the first editor box.

        This is what I get now when I click on preview:
        Warning: Invalid argument supplied for foreach() in /home/*****/public_html/wp-content/plugins/radio-station/includes/post_types.php on line 237

        Warning: Cannot modify header information – headers already sent by (output started at /home/*****/public_html/wp-content/plugins/radio-station/includes/post_types.php:237) in /home/*****/public_html/wp-includes/pluggable.php on line 899

        1. Nikki Blight Avatar

          Hmm… I’m getting a slightly different warning on my screen, but I think the fix for it in the next version will fix your issue as well.

          1. Saxon Mosh Avatar

            yup, 2.0.1 fixed it. Nice one Nikki 🙂

  10. Leonard Avatar
    Leonard

    I like the plugin, very nice. I do however have a couple questions:

    — What is the purpose of the custom post type “Air Staff Members”? The reason I ask is because the On-Air widget is tied to the schedule and that is in itself a custom post type.
    — How is the Now Playing suppose to work?

    Thanks in advance for your answers 🙂

    1. Nikki Blight Avatar

      There is no such post type in this plugin. All on-air staff are regular WordPress users that have been given the DJ role. DJs are then assigned to the Show post type so that one show can have multiple DJs.

      If you’re seeing a post type called “Air Staff Members”, it’s coming from a different plugin.

      As for the Now Playing, it picks up the most recent song that has been entered as part of a playlist and displays that information.

      1. Leonard Avatar
        Leonard

        My bad, you’re right it was a different plugin that creates custom post types.

        So the is the Now Playing widget that comes with the Radio Station plugin different than your Playlist217 plugin?

        1. Nikki Blight Avatar

          Yes. The Now Playing widget relies on manual entries made through the WordPress interface. It’s not an automated process.

          Playlist217 is a plugin I wrote to replicate the functionality of an earlier site that was being redone in WordPress. It takes playlist entries via URL parameters and saves them in the WordPress database. It’s basically meant to act as a bridge between a dynamically generated playlist (for example, from a ShoutCast stream) and WordPress, and would require a script on the ShoutCast server (or whatever streaming software you’re using) to send an HTTP Request with the currently playing song title and artist to the URL the plugin is configured to receive data on.

          It’s sort of provided as-is at this point, since I no longer work for the company I designed it for, and they haven’t asked for any maintenance on it.

  11. Igor Avatar

    sap great plugin i love it but i have some info for u as dev

    1st can u make option for users when they click on Avatar of DJ 2 show theres portfolio like what clubs they was workin what kind of music they stream ect..

    2nd is there way to gat direct skipe or msn or somethin 2 directly contact each dj that have show in time 2 forece interaction DJ listener.

    3rd if u need any1 2 test u can contact me on my site forum at any time.

    good day

  12. Daniele Avatar
    Daniele

    i have problem,i can’t add songs to playlist, i don’t see anything when i click add voice

    1. Nikki Blight Avatar

      Nothing in my plugin is labeled “Add Voice”. Are you sure you’re not seeing a component of another plugin?

      1. Daniele Avatar
        Daniele

        excuse me , it was “Add Entry” because i have italian language on my worpdress

        1. Daniele Avatar
          Daniele

          solved!!! I removed Woocommerce and now it’s work!

          1. Nikki Blight Avatar

            Hmm… That’s odd. I’ll see if I can figure out what the conflict is with WooCommerce.

  13. April Avatar

    When I used the widget ‘Upcoming DJ’ and “Coming Up DJ’ on the my website it seems to bunch up together. How do I fix it?

    1. Nikki Blight Avatar

      You will have to customize the CSS styles to compliment your theme. As stated in the FAQ, you can copy the radio-station/templates/djonair.css file to your theme directory and make any changes to it you like.

  14. Jenny Avatar
    Jenny

    Hi there,

    Thank you for a great plugin.

    I would like to each dj’s “show” page content on a special profile page.

    Please advise what shortcode I can use to display individual shows on a custom profile page?

    eg content on http://website.com/show/show-name to be displayed on http://website.com/profile/john

  15. Jenny Avatar
    Jenny

    Nevermind, I have figured it out.
    Thank you.

  16. Saxon Mosh Avatar

    me again.
    most of the problems are sorted.. kinda.
    Is their a way to display all of the DJ’s in a widget or in a page?

    I may have missed something in the readme so I read it again.

  17. Dionysios Avatar
    Dionysios

    Great plugin!! Love it…
    Just one question/request if I may….
    Is there a way to automatically refresh the widget to display the current dj without the need of refreshing the whole page?

    Regards,
    Dionysios

    P.S. Already started translating it in Greek. Will send you the translation. Also, if you have the pot file for any new updates, you can send them to me…

  18. David Henderson Avatar

    Since the update, the On Next information doesn’t show what’s actually next – it just shows what’s scheduled when there are no live DJs on…

    1. David Henderson Avatar

      Please ignore and delete last post – managed to sort out why..

  19. embarz Avatar
    embarz

    after update to 2.0.5 dj on-air not show up…

    back use 2.0.4 again

    1. embarz Avatar
      embarz

      still use 2.0.5 but back the script to 2.0.4 for includes/support_functions.php

    2. Nikki Blight Avatar

      Can you give me some idea of the times you have scheduled? I’m not seeing this issue on my test site.

      1. embarz Avatar
        embarz

        Hi Nikki,

        i set 3 PM until 6 PM, and i open the web at 4 PM. but no show in web. but for next show the widge upcoming show works

      2. embarz Avatar
        embarz

        forget it Nikki, i haven’t check active box in show.

  20. embarz Avatar
    embarz

    antoher question. how to show 1 day show?

    example : on Monday it will display all show that scheduled on monday.and so on

    1. Nikki Blight Avatar

      That feature is not currently available.

  21. David Henderson Avatar

    Since the update, the On Now widget doesn’t show who’s on, but the default info for when no one is on air..

    1. Nikki Blight Avatar

      Double-check that the “Active” box is checked on your shows. The update corrected a bug that allowed the widget to pull in inactive shows, so that may be your problem.

      1. Annette Avatar

        The time seems to be incorrect for the “ON AIR” widget to correctly function on my site. Would you mind directing me on how to fix this?? Thanks in advance for the assistance and most of all, THANKS for this awesome plugin!! Its just what I was looking for.

        1. Nikki Blight Avatar

          Double check that WordPress is set to the correct timezone in the Settings panel. Radio Station bases its schedule on that setting.

  22. Jason Hayes Avatar
    Jason Hayes

    Anyway to change the colour of either certain shows or time slots on the schedule?

  23. Michael McCrea Avatar

    Hi Nikki,

    Great plugin, thanks for the all the hard work!

    I think I found a wee bug with the current DJ on-air widget and shortcode. The dj_get_current() function fails to pick up DJs who are on over midnight, for example 11pm-1am. The shift displays correctly on the master-schedule but after midnight the current DJ defaults to “RadioBot”.

    Does this look like a bug, or am I doing something wrong here? What does the “Encore Presentation” checkbox do?

    Thanks in advance.
    M.

    1. Nikki Blight Avatar

      Thanks for the report. I’ll look into it.

      The encore presentation checkbox just marks a broadcast as an encore (i.e. a rerun of an earlier broadcast). It’s only real purpose is to allow you the option of styling encores differently in the master schedule.

  24. Mike Rawlins Avatar
    Mike Rawlins

    Hi Nikki,

    Loving this plugin. One thing I’ve noticed is that my next scheduled show in the widget is showing next plus 24 hours for some reason.

    Example it is Wednesday currently my next show in the schedule is 0800 -1000 on Thursday but the widget is showing it as Friday 0800 – 1000

    I’m using standard date and time settings, I’ve tried setting the time as UTC+1 and as location to see if anything changes but it is still the same. Any ideas?

    1. Nikki Blight Avatar

      Just to clarify, does the show in question actually have a Friday 8-10 slot on the schedule, or is it only displaying that in the widget?

      1. Mike Rawlins Avatar
        Mike Rawlins

        Hi Nikki,

        Sorry for the delay in responding.

        yes the show is set for 0800 – 1000 Monday through Friday.

        It’s only on a test site at the moment and I’ve not seen the error since I posted the issue. I’ll keep an eye on it as I build the site and proper schedule and come back to you if it is still apparent 🙂

  25. Annette Avatar

    Nevermind on that last message… I figured it out. I had a moment!! Changed my site settings and it works perfectly!!!

  26. karen Avatar

    HI Nickki I am new to your plug in add have taken over admin for a radio web site with it, I was wanting to add a DJ name, how do I do this please? Thanks so much
    ks

  27. karen Avatar

    I think I may have figured it out.. It is when I add a new USER Yes ??

    1. Nikki Blight Avatar

      That’s correct. DJ’s are just users who have been given the DJ role in their account settings.

  28. karen Avatar

    IS it possible to add TWO DJ’s to one show, It doesn’t seem to want to let me do this

    thanks for your help

    KS

    1. Nikki Blight Avatar

      Yes… the list works the same as any other multi-select field. Hold down Shift or the Ctrl key when you click to select multiple DJs.

      1. karen Avatar

        THANK YOU so Much Nikki ks xx

  29. Ofed Avatar
    Ofed

    hi Nikki,

    I wish to use your plugin to setup a radio station on my site. I am a beginner so pls. pardon me.

    My challenge is how to setup different shows, upload the relevant media/playlist for each show and have them play automatically to visitors to the site (according to the schedule only, whether on-air or off-air).

    Pls. how do I go about it?

    1. Nikki Blight Avatar

      This is out of the scope of my plugin. Radio Station only provides an interface to create and display a schedule, and create a manually generated playlist archive. It does not handle the actual upload and streaming of media.

  30. José Luis Avatar

    Dear Nikki:

    First of all thank you for your work on “Radio Station”. We have installed in our wordpress latest version and start day of the week in the General preferences is set to “Monday”. I want to say that programs that have repeats every day of the week (and only these) when the “Friday” arrives Friday freezes, even Saturday or Sunday. If Monday delete repetition of “Friday” and insert back to return everything to work perfectly until the following Friday arrives. You know how we could fix this?.
    Waiting for your reply we will send you a big hug,

    José Luis Mateo
    esmiradio.es

    1. Nikki Blight Avatar

      I will look into this and see if I can figure out what’s going on.

      1. José Luis Avatar

        Thanks Nikky. I Wait if you can find what happens when Friday arrives. Greetings.