Announcement

Collapse
No announcement yet.

[Developing] Shoutcast Current DJ Script

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Developing] Shoutcast Current DJ Script

    I'm working on a script that shows your station's current DJ. It's got a lot of work to do, but the basic function is finished. If there are any features that you think you'd want in the final release, please let me know and I'll incorporate them. I'm not going to be releasing it for a little while, but I will send it out later to a few people for beta testing.

    Also, here is a link to my current version: http://www.ps2sector.com/currentdj/

    DJ Status v1.2

    Current Features
    -> Grabs stats from your shoutcast server such as Current title, current song, current # of listeners.
    -> If a DJ isn't connected, a message is displayed stating so.
    -> If the server isn't up, it displays a message stating so.
    -> Checks the server title for the DJ's name, and assigns that DJ's ID.
    -> Pulls DJ name, IM info, and link to song request page (Using the SongRequester plugin) from your MySQL database, and displays all that applies.
    -> Easy config file.
    -> Up to 3 aliases per DJ to check for in the server title.

    Planned features
    -> Admin panel for adding, editing, and deleting DJs.
    -> Template system
    Last edited by Coolnat2004; 6 July 2004, 01:21.

  • #2
    Very awesome! I like how you created the link to your Oddsock's Song Requester. It's brilliant. Keep us updated.
    -- Michael

    Comment


    • #3
      Glad you're interested

      I just added a nifty way to add up to 3 aliases in the database. This will be in the admin panel--which I'm going to start on now.

      Comment


      • #4
        DJ Status v1.5

        Current Features
        -> Grabs stats from your shoutcast server such as Current title, current song, current # of listeners.
        -> If a DJ isn't connected, a message is displayed stating so.
        -> If the server isn't up, it displays a message stating so.
        -> Checks the server title for the DJ's name, and assigns that DJ's ID.
        -> Pulls DJ name, IM info, and link to song request page (Using the SongRequester plugin) from your MySQL database, and displays all that applies.
        -> Easy config file.
        -> Up to 3 aliases per DJ to check for in the server title.
        -> [NEW!] Admin panel for adding, editing, and deleting DJs.
        -> [NEW!] Simple Installation script

        Planned features
        -> None at this time.

        Here are some screenshots of the new administration panel:
        ->First page, showing password field
        ->Main admin page
        ->Add DJ page
        ->DJ deletion select page
        ->DJ deletion confirmation page
        ->DJ edit success message

        If you would like to test this version, please post here or contact me directly.
        Last edited by Coolnat2004; 6 July 2004, 06:35.

        Comment


        • #5
          DJ Status v1.5.2

          Whats New?

          -> Several bugfixes

          Current Features
          -> Grabs stats from your shoutcast server such as Current title, current song, current # of listeners.
          -> If a DJ isn't connected, a message is displayed stating so.
          -> If the server isn't up, it displays a message stating so.
          -> Checks the server title for the DJ's name, and assigns that DJ's ID.
          -> Pulls DJ name, IM info, and link to song request page (Using the SongRequester plugin) from your MySQL database, and displays all that applies.
          -> Easy config file.
          -> Up to 3 aliases per DJ to check for in the server title.
          -> Admin panel for adding, editing, and deleting DJs.
          -> Simple Installation script

          Planned Features
          -> None at this time. Let me know if you want anything!

          If you would like to test this version, please contact me.

          Comment


          • #6
            Hello,

            Looks good to me - would you be interested in offering this to my clients under the Wavepanel we offer?

            If so, contact me
            Wavestreaming | Shoutcast Hosting | Auto DJ |
            How To Start An Internet Radio Station

            Comment


            • #7
              Very nice! what would be a cool feature from my standpoint, is making some sort of time tables, so DJs can only log in and start streaming during certain time blocks. Something I've toyed with and would like to start working on.

              But I am most definetly interested in what you got so far.

              Comment


              • #8
                Originally posted by DoodMonkey
                Very nice! what would be a cool feature from my standpoint, is making some sort of time tables, so DJs can only log in and start streaming during certain time blocks. Something I've toyed with and would like to start working on.

                But I am most definetly interested in what you got so far.
                I've thought of this before, but the thing is DJ's don't log in to change it, the script just checks the server's title for the DJ's name. I can't control who logs in to the server and when.

                I could add a field for schedule time, though, but it wouldn't affect what DJ shows and when.

                Comment


                • #9
                  DJ Status v1.7

                  What's New?

                  ->Manual Mode--Optional mode to disable automatic DJ detection and have DJs log in and out.

                  Current Features
                  -> Grabs stats from your shoutcast server such as Current title, current song,
                  current # of listeners.
                  -> If a DJ isn't connected, a message is displayed stating so.
                  -> If the server isn't up, it displays a message stating so.
                  -> Checks the server title for the DJ's name, and assigns that DJ's ID.
                  -> Pulls DJ name, IM info, and link to song request page (Using the
                  SongRequester plugin) from your MySQL database, and displays all that applies.
                  -> Easy config file.
                  -> Up to 3 aliases per DJ to check for in the server title.
                  -> Administration panel for adding, editing, and deleting DJs
                  -> Simple installation script
                  -> Manual Mode--Optional mode to disable automatic DJ detection and have DJs
                  log in and out.

                  Planned Features
                  -> None! Let me know what you want!

                  If you'd like to contribute to testing this script, please let me know. Once I make sure all currently desired features are added and all bugs are resolved, I will release the script to the general public.

                  Comment


                  • #10
                    DJ Status will be publicly released once it is accepted at Hotscripts.com. That should be sometime on 7/9/04.

                    Comment


                    • #11
                      DJ Status publically released!

                      Rate it!

                      See it at Hotscripts!

                      Download Now!

                      Comment


                      • #12
                        Hello there

                        This is a nice script (haven't checked it yet :S) Would you by chance be able to detect the IP of the broadcasting DJ? I ask this because I am re-coding the SAM2 PHP output to a plugin for LDU, a CMS I use. Also, permission to port this to a plugin to LDU? I won't release it public without permission of course...

                        Regards,
                        Death Reaper

                        Comment


                        • #13
                          Recently back from playing with this I ran into two problems:

                          1. Script didn't want to talk to database even using the root no pass option yet installing the SQL manually worked far enough to appear installed fine. This one might be my server being a pain since it's happened before.

                          2. Can't seem to login to the admin even though password was set (these of course changed):

                          $adminname = "TheNameIUsed"; // Name to display when in manual mode
                          $adminpass = "passwordiused"; // Password for the administration panel

                          I don't see any other errors happening and the main page is displaying the data fine - I just can't get into the bugger.
                          Last edited by MegaRock; 14 July 2004, 07:53.
                          Megarock Radio - St. Louis Since 1998!
                          Don't click this link!
                          Corporate Radio Sucks! No suits, all rock!

                          Comment


                          • #14
                            Originally posted by Death Reaper
                            Hello there

                            This is a nice script (haven't checked it yet :S) Would you by chance be able to detect the IP of the broadcasting DJ? I ask this because I am re-coding the SAM2 PHP output to a plugin for LDU, a CMS I use. Also, permission to port this to a plugin to LDU? I won't release it public without permission of course...

                            Regards,
                            Using the method I use to get information about the server, I can't detect the IP of the broadcasting DJ, only because that is not included in the XML stats from shoutcast.

                            And you can port it to your CMS, but let me know if you release it.

                            1. Script didn't want to talk to database even using the root no pass option yet installing the SQL manually worked far enough to appear installed fine. This one might be my server being a pain since it's happened before.
                            That's odd. o_O

                            2. Can't seem to login to the admin even though password was set (these of course changed):
                            That shouldn't be happening. Do you see the version number in the admin panel, or just "DJ Status v"? If you don't see it, then the admin panel isn't finding the config file..hmm

                            I'm not an expert at coding.. This is my first PHP script. I'll check over the auth code in the admin panel.

                            Comment


                            • #15
                              Great! I can also take a look at the code and try and help you if I can.

                              Regards,
                              Death Reaper

                              Comment

                              Working...
                              X
                              😀
                              🥰
                              🤢
                              😎
                              😡
                              👍
                              👎