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.

Tags: , , ,

268 Comments to "WordPress Plugin – Radio Station"

  1. 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

    • Nikki Blight says:

      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 says:

    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.

  3. Michael says:

    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

    • Nikki Blight says:

      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 says:

    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!

  5. Kswift says:

    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);

    • Nikki Blight says:

      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
      }
      }
      }

      • Kswift says:

        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.

        • Jason Jordan says:

          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

  6. felius says:

    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?

  7. Paul says:

    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

  8. Chris says:

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

  9. Saxon Mosh says:

    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.

    • Nikki Blight says:

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

      • Saxon Mosh says:

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

      • Saxon Mosh says:

        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

  10. Leonard says:

    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 🙂

    • Nikki Blight says:

      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.

      • Leonard says:

        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?

        • Nikki Blight says:

          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 says:

    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 says:

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

  13. April says:

    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?

    • Nikki Blight says:

      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 says:

    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 says:

    Nevermind, I have figured it out.
    Thank you.

  16. Saxon Mosh says:

    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 says:

    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. 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…

  19. embarz says:

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

    back use 2.0.4 again

  20. embarz says:

    antoher question. how to show 1 day show?

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

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

    • Nikki Blight says:

      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.

      • Annette says:

        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.

  22. Jason Hayes says:

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

  23. 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.

    • Nikki Blight says:

      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 says:

    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?

    • Nikki Blight says:

      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?

      • Mike Rawlins says:

        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 says:

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

  26. karen says:

    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 says:

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

  28. karen says:

    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

  29. Ofed says:

    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?

    • Nikki Blight says:

      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 says:

    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

Nikki Blight – Web/PHP Developer