Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Shoutcast Status 2.0 (3.5) Details »
Shoutcast Status 2.0 (3.5)
Mod Version: 2.0, by Zachariah (Coder/Designer) Zachariah is offline
Developer Last Online: Jan 2020 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.6 Rating: (2 votes - 5.00 average) Installs: 123
Released: 15 Aug 2005 Last Update: 18 Nov 2006 Downloads: 247
Supported Uses Plugins Template Edits Additional Files  

Shoutcast Status 2.0 on your VB3.5 ForumHome.

/* ----------------- 11/15/2006 -----------------
This is a Nice hack to add Shoutcast Status on your VB3.5 ForumHome.
Hope it helps !!!

Zachariah @ http://www.gzhq.net

SHOUTcast is a free-of-charge audio homesteading solution. It permits anyone
on the internet to broadcast audio from their PC to listeners across the
Internet or any other IP-based network (Office LANs, college campuses, etc.).

http://www.shoutcast.com

Zerro Queries Added

=======================================================
Tested On:

vBulletin 3.5+
SHOUTcast Server v1.9.5

DEMO
=======================================================

== Install: 2-5 min ==


Full Stats
- Needs Shoutcast server admin password

Server Name
Song History
4 media layers (winamp, quicktime, media player, real player)
DJ Name
Bitrate
Current Song
Media Type
Most Ever Connected
Hit Count
Users Connected
Avj. Connect Time
User Max
Online / Offline status
XML Data Cache


Lite Stats
- Does not need shoutcast server admin password

Server Name
4 media layers (winamp, quicktime, media player, real player)
Bitrate
Current Song
Users Connected
User Max
Online / Offline status
XML Data Cache

=======================================================
Adds: 2 plugins
Adds: 8 images, 2 files
Adds: 10 templates
Adds: 45 phrases


shoutcast full 3.5.zip (13.7 KB, 683 downloads)

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	offline.gif
Views:	2152
Size:	13.1 KB
ID:	33909   Click image for larger version

Name:	history.jpg
Views:	156
Size:	44.9 KB
ID:	56145   Click image for larger version

Name:	admin.jpg
Views:	164
Size:	77.9 KB
ID:	56146   Click image for larger version

Name:	online_sm.jpg
Views:	102
Size:	16.9 KB
ID:	56147  

Click image for larger version

Name:	stats.jpg
Views:	109
Size:	15.4 KB
ID:	56148   Click image for larger version

Name:	mp.jpg
Views:	112
Size:	11.6 KB
ID:	56149   Click image for larger version

Name:	qt.jpg
Views:	73
Size:	8.7 KB
ID:	56150   Click image for larger version

Name:	real.jpg
Views:	152
Size:	17.9 KB
ID:	56151  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Home Enhancements Shoutcast Status 2.0 (VB3.6) Zachariah vBulletin 3.6 Add-ons 541 06 Oct 2015 10:43
Add-On Releases ShoutCast Status - NavBar m002.p vBulletin 3.6 Template Modifications 26 29 Jan 2010 17:25
Shoutcast Status Full Zachariah vBulletin 3.0 Full Releases 87 17 Mar 2009 20:02
Shoutcast Status Lite Zachariah vBulletin 3.0 Full Releases 57 19 Jul 2008 10:56

  #46  
Old 25 Sep 2005, 05:23
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Real name: Johnny
// Shoutcast Server Stats
$scdef = "UGM Shoutcast";
$scip = "68.59.104.15";
$scport = "8000";
$scpass = "password";
$ircsite = "irc.server.net";
//End configuration


thats my code... whats wrong
Reply With Quote
  #47  
Old 25 Sep 2005, 15:53
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
all looks correct

I have had another person have problems and here is what they did....


Isn't it a bummer when you find you cant use a good script cause your hosting provider is blocking outgoing an all non descript ports and your website is not on the same server as something like a shoutcast stream.

Dont let that stop you if an xml file is behind a port that you cant access from your site try something like this mod I did for this shoutcast hack

Extra requirements: LyNX browser on your shoutcast server - this is a command line browser, if your on a shoutcast shell you would normally find it allready is installed
If you have your own dedicated server for streaming its not hard to install if it isnt allready there

usage here lynx = starts the browser
-auth= to get into protected directories/files
-source will drop the content source to stdout
1> filename will trap the stdout to a file

lynx then just drops straigh back to command line ready for the next command as you added the switches for its job
eg:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to automate this just add a crontrab entry, dont do this till you are satisfied you have it right

How to install so you can grab your shoutcast status from a permitted port 80:

You will need the files from the hack and a simple edit.

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

change to:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now edit the config section to suit. noting the 2 extra bits here

do the template bits and upload the images and index.php file as directed in the hack

run your lynx command in shell and then check out your Shoutcast module page if it worked great
you may want to try it a few times before you add your crontab entry.

Adding crontab from shell is easy, you will more than likely enter the vi editor after issuing the command crontab -e
you might want to do crontab -l first and copy that text safe, so you can easily restore the original cron entries if you mess up.

move your cursor to the line above where you would like your new cron line, hit o
now your in insert mode copy to your clip board your prepared cron line, to run this every 5 minutes would look something like:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

paste it in (shift + insert)

hit the esc key

now input :x and hit enter to install your new crontab

enjoy
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org

Last edited by Zachariah; 25 Sep 2005 at 23:00.
Reply With Quote
  #48  
Old 25 Sep 2005, 19:44
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Real name: Johnny
i dont really understand that :x
Reply With Quote
  #49  
Old 25 Sep 2005, 23:01
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by Logik
i dont really understand that :x
You might edit the Shoutcast server config file "sc_serv.ini" and change the port from 8000 to 80 and see if your host can get the stats from your shoutcast server.

Rem to edit your plugin to the new port also.
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #50  
Old 26 Sep 2005, 00:07
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Real name: Johnny
ahh yes, that worked <333 Thanks man!
Reply With Quote
  #51  
Old 26 Sep 2005, 00:09
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Real name: Johnny
ok now under the current song it doesnt show a song..hm
Reply With Quote
  #52  
Old 26 Sep 2005, 00:37
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by Logik
ok now under the current song it doesnt show a song..hm
Good to see that worked

The ID3v1 tag is on each Mp3. You can access it getting the "options" of a song in your Winamp Playlist.

I USE:
MP3Ext is an extension for the Windows Explorer.
It enhances it, so you can get information in many ways:

A PropertyPage is installed, where you can fully edit the ID3-Tag
An icon-handler for individual icons is included too
Tooltips, when you simply leave the mouse over the MP3-file (only with IE4.0 Active Desktop)

--------------------------------------------------------------------------------
The features in more detail are:
install/uninstall feature
running on Win95 / WinNT 4.0
multithreaded
easy to use GUI
editing of multiple files
ID3v2 support: this includes unlimited strings, classic support, ...
automatic generation of the ID3-tag from the filename
exporting the information in a file or clipboard
customizable Tooltips
it's giftware

What is ID3 (v1)?
The audio format MPEG layer I, layer II and layer III (MP3) has no native way of saving information about the contents, except for some simple yes/no parameters like "private", "copyrighted" and "original home" (meaning this is the original file and not a copy). A solution to this problem was introduced with the program "Studio3" by Eric Kemp alias NamkraD in 1996. By adding a small chunk of extra data in the end of the file one could get the MP3 file to carry information about the audio and not just the audio itself.

The placement of the tag, as the data was called, was probably chosen as there were little chance that it should disturb decoders. In order to make it easy to detect a fixed size of 128 bytes was chosen. The tag has the following layout (as hinted by the scheme to the right):

Song title: 30 characters
Artist: 30 characters
Album: 30 characters
Year: 4 characters
Comment: 30 characters
Genre: 1 byte


If you one sum the the size of all these fields we see that 30+30+30+4+30+1 equals 125 bytes and not 128 bytes. The missing three bytes can be found at the very beginning of the tag, before the song title. These three bytes are always "TAG" and is the identification that this is indeed a ID3 tag. The easiest way to find a ID3v1/1.1 tag is to look for the word "TAG" 128 bytes from the end of a file.

As all artists doesn't have a 30 character name it is said that if there is some bytes left after the information is entered in the field, those bytes should be fille with the binary value 0. You might also think that you cannot write that much in the genre field, being one byte big, but it is more clever than that. The byte value you enter in the genre field corresponds to a value in a predefined list. The list that Eric Kemp created had 80 entries, ranging from 0 to 79.

What is ID3v1.1?
ID3v1 may well be easy to implement for programmers, but it sure is frustrating for those with their own, creative ideas. Since the ID3v1 tag had a fixed size and no space marked "Reserved for future use", there isn't really room for that much improvement, if you want to maintain compatibility with existing software.

One who found a way out was Michael Mutschler who made a quite clever improvement on ID3v1. Since all non-filled fields must be padded with zeroed bytes its a good assumption that all ID3v1 readers will stop reading the field when they encounter a zeroed byte. If the second last byte of a field is zeroed and the last one isn't we have an extra byte to fill with information. As the comments field is to short to write anything useful in the ID3v1.1 standard declares that this field should be 28 characters, that the next byte always should be zero and that the last byte before the genre byte should contain which track on the CD this music comes from.
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org

Last edited by Zachariah; 26 Sep 2005 at 00:40.
Reply With Quote
  #53  
Old 26 Sep 2005, 00:41
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Real name: Johnny
man u always lose me.
Reply With Quote
  #54  
Old 26 Sep 2005, 00:45
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by Logik
man u always lose me.
For the info of song title and artists to show up in car mp3 radios, portables, and the shoutcast system you will need to fill out the ID3v1 tag . If you do not, most systems give a "dash" as the feed title vs. the mp3 file name.

Another note:
ID3v2 tag can be filled out, but if it is blank of data and is enabled to send data then the feed will also show a "dash" w/o file info.

If that is ok.

Then

Are you useing winamp to cast ?
Make sure the Auto has the checks marks and [x] enable title updates
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #55  
Old 26 Sep 2005, 00:50
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Real name: Johnny
My mp3s have id3 tags and it still doesnt show...?
Reply With Quote
  #56  
Old 26 Sep 2005, 00:51
Logik's Avatar
Logik Logik is offline
 
Join Date: Nov 2002
Real name: Johnny
ok got it man got it thanks
Reply With Quote
  #57  
Old 01 Oct 2005, 20:32
Pramodinfo's Avatar
Pramodinfo Pramodinfo is offline
 
Join Date: Sep 2005
Real name: Pramod
Installed on vb 3.5.0 works like a charm, thanks for the hack
Reply With Quote
  #58  
Old 01 Oct 2005, 21:12
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by Pramodinfo
Installed on vb 3.5.0 works like a charm, thanks for the hack
Glad to see it helped
__________________
http://www.szone.us |

Facebook | My:Hacks @ vBulletin.org
Reply With Quote
  #59  
Old 03 Oct 2005, 00:01
carrie31 carrie31 is offline
 
Join Date: Aug 2005
it's awesome 。。。just wonder whether there is a lite version of this hack ? 。。。have no idea how to set the config and how to get the password
Reply With Quote
  #60  
Old 03 Oct 2005, 20:32
Sooner95 Sooner95 is offline
 
Join Date: Apr 2003
Yea, I liked the Lite version too, is there going to be one for 3.5? if not, I can go the Full route if needed.. Thanks
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:36.

Layout Options | Width: Wide Color: