vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Shoutcast Status Lite (https://vborg.vbsupport.ru/showthread.php?t=76920)

Zachariah 02-22-2005 10:00 PM

Shoutcast Status Lite
 
Shoutcast Status Lite 1.0.1 on your VB3.x Forum Home.

Hope it helps !!! Zack @ http://www.gzhq.net

Quote:

There are 4 types of this script here on vb.org:

1) CMPS: Shoutcast Status Lite
2) CMPS: Shoutcast Status Full
3) Shoutcast Status Lite (forum home)
4) Shoutcast Status Full (forum home)

This script pulls the XML data from a shoutcast server.
http://www.shoutcast.com/download/serve.phtml
CREDITS:
GeZuS P - for giving me a leg up on some code.
NuclioN - Request for non-pw ver

(this hack does not need a password to pull stream information.) ---
Shoutcast Status 1.01 (full w/ more options) need a password.

Changelog:
*1.0.1
Removed </span> tag in forumhome_shoutcast template.


== Install: 2-5 min ==

Collapsible Table

Server Name
Bitrate
Current Song
Users Connected
User Max
Online / Offline status

================================================== =====
Zerro queries added


Edit: 2 php files
Edit: 1 template
Upload: 2 images, 1 php file
Add: 2 templates

If you choose not to show any/all:

Variables used.
Here is a list of variables that can be used in your "forumhome_shoutcast". If do not wish to show data, just remove the variables.

$scdef = Default station name
$scip = IP shoutcast server
$scport = Port of shoutcast server
$song[0] = (zerro) is the current song playing.
$bitrate = Quility of the Bitrate - setting in DJ - DSP .
$currentlisteners = Current connected users.
$maxlisteners = Max users for the server.
$listenlink = 'http://$scip:$scport/listen.pls

NuclioN 02-23-2005 08:45 PM

The member's shoutcast server is offline right now. We will sit and wait and see if the info is poping up :) Tnx

T3MEDIA 02-23-2005 08:51 PM

what is it exactly though... does this work with Yahoo or is this something differnt.

Zachariah 02-23-2005 09:20 PM

Quote:

Originally Posted by T3MEDIA
what is it exactly though... does this work with Yahoo or is this something differnt.

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

This script reads the XML stat feed from a server.

Selene 02-24-2005 12:00 AM

Nice hack i will use it definat for ma shoutcast stream :)

MrLovellz 02-24-2005 12:20 AM

Awesome, installed this and working fine :)

Zachariah 02-24-2005 01:07 AM

Quote:

Originally Posted by MrLovellz
Awesome, installed this and working fine :)

Thanks. Drop us a link when your feed is up and going. :banana:

hXc Radio 02-24-2005 06:08 AM

this is pretty cool I think I will add it to my whats going on section....

I made a Shoutcast hack I been using since vb 2.2.9 for vbindex. I might release it someday.. It works nicely with vb 3.x It shows current song, listener count and links to both hi and lo band streams and the last 20 songs played. here is a screenie :)

Zachariah 02-24-2005 12:40 PM

Quote:

Originally Posted by hXc Radio
this is pretty cool I think I will add it to my whats going on section....

I made a Shoutcast hack I been using since vb 2.2.9 for vbindex. I might release it someday.. It works nicely with vb 3.x It shows current song, listener count and links to both hi and lo band streams and the last 20 songs played. here is a screenie :)

Nice, great idea on the multi bandwith.
I rem. hi and lo band streams on a pre-done script from shoucast.com years ago. It's not to hard to add another link and stream feed.

This is the "lite" ver of the hack " no password needed to gather stats and limited. The "full ver" has tons of other stuff, but needs the shoutcast Admin PW.

Collapsible Table

Server Name
Last 5 songs - max 20
DJ Name
DJ ICQ
DJ AIM
Bitrate
Current Song
Genre
Users Connected
User Max
IRC Server and Room
Online / Offline status


I did a "v3 vBa CMPS" addon many moons ago that I am updating. :tired:

hXc Radio 02-24-2005 11:26 PM

for the multi stream counts I use a php script to get the listener count and it gives the count output via png using the image tags to call to the php file. hope that helps :)

nyunyu 03-13-2005 08:38 PM

Quote:

Originally Posted by hXc Radio
this is pretty cool I think I will add it to my whats going on section....

I made a Shoutcast hack I been using since vb 2.2.9 for vbindex. I might release it someday.. It works nicely with vb 3.x It shows current song, listener count and links to both hi and lo band streams and the last 20 songs played. here is a screenie :)

ahh..really nice..do you have a date of when it will be available? i really loved to have this.

kthlnwrnr 03-29-2005 01:44 PM

My frind, who is still using vb3.3 and is scared of updating due to the fear of loosing database elements wants to install shoutcast Full or Lite on his forum homepage. Is there a work around for vb3.3?

Zachariah 03-29-2005 04:20 PM

Quote:

Originally Posted by kthlnwrnr
My frind, who is still using vb3.3 and is scared of updating due to the fear of loosing database elements wants to install shoutcast Full or Lite on his forum homepage. Is there a work around for vb3.3?

Shoutcast Full and Lite only make template and file edits. There are no database table/field changes.

After the upgrade just reinstall the hack - re-edit: index.php, FORUMHOME template, and make sure forumhome_shoutcast and forumhome_shoutcast_off templates are in your template set.

kthlnwrnr 03-30-2005 03:17 AM

I think I failed to communicate properly. My friend is actually afraid of updating to the latest version of VB since he thinks that he will loose all his hacks. This is the reason I wanted to know whether it is possible to install shoutcast full or lite on vb 3.3.

Harry72 03-30-2005 06:55 AM

Thx Harry - works great ! Nice and fast install.

Cheers
Harry :nervous:

Zachariah 03-30-2005 01:48 PM

Quote:

Originally Posted by kthlnwrnr
I think I failed to communicate properly. My friend is actually afraid of updating to the latest version of VB since he thinks that he will loose all his hacks. This is the reason I wanted to know whether it is possible to install shoutcast full or lite on vb 3.3.


got ya .... yes this all 4 ver. will work w/ 3.x - 3.0.7+++ :D

Zachariah 03-30-2005 01:54 PM

Quote:

Originally Posted by Harry72
Thx Harry - works great ! Nice and fast install.
Cheers
Harry :nervous:

:up: looks good.

Harry72 04-01-2005 04:46 PM

Quote:

Originally Posted by HarryButt
:up: looks good.


Yes. My users loves it. :nervous:

Breathex 04-23-2005 03:57 AM

i have a question,

i installed this hack into my forum, there is no problem with this, everything is ok. also i installed this hack into both of my friends forum and i wrote my shoutcast servers info into scast.php files. first day everthing gone ok but second day when i start the radio in my forum it works with no problem but it doesn't show on my frinds forum, in my friends forum it still shows the radio is offline.

what should i do to solve this problem? thanx for ur answers.

NuclioN 05-24-2005 12:23 PM

We are testing virtual dj but can't get the same stream info as with winamp. How to do this?

Zachariah 05-24-2005 01:52 PM

Quote:

Originally Posted by NuclioN
We are testing virtual dj but can't get the same stream info as with winamp. How to do this?

I have not read a lot about "virtual dj". From a glance it looks to be a mixing program that makes WMA or MP3's. I read that you can use the same DSP as winamp? If this is so your in.

You need to edit the settings of the shoutcast plug-in (see attached image).
I have not installed or used "virtual dj", but the plug-in may be integrated differently.

NuclioN 05-24-2005 06:00 PM

Yep, the plugin works great with virtual dj but the only thing it does not do is auto update the song titles although the settings in the plugin are correct. I think it has something to do with the code in scast.php where a 7.html is coded.

Zachariah 05-25-2005 02:24 AM

Quote:

Originally Posted by NuclioN
Yep, the plugin works great with virtual dj but the only thing it does not do is auto update the song titles although the settings in the plugin are correct. I think it has something to do with the code in scast.php where a 7.html is coded.

PM/IM me a link of the shoutcast ip and port and a time when there is a Bcast. Ill look to see if the same data is passed to the server.

Also look @ the image

https://vborg.vbsupport.ru/external/...chmentid=26525

** Make sure you have a check mark on the "Track Title/URL"
- Enable Title Updates
- Auto
- Auto

NuclioN 05-25-2005 07:07 AM

These settings are correct. Strange is that the title is updated when i fill it in manual so it sends info alright. I'll PM you when it is onair.

Zachariah 05-25-2005 10:56 AM

Quote:

Originally Posted by NuclioN
These settings are correct. Strange is that the title is updated when i fill it in manual so it sends info alright. I'll PM you when it is onair.

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.

NuclioN 05-25-2005 11:30 AM

How and where can we change that???? Maybe the output can be 'catched' and put into an iframe in a html file with auto refresh :)

Zachariah 07-13-2005 12:21 AM

Quote:

Originally Posted by NuclioN
How and where can we change that???? Maybe the output can be 'catched' and put into an iframe in a html file with auto refresh :)

Sorry for the long time. I did not see you posted :ermm:. The ID3v1 tag is on each Mp3. You can access it getting the "options" of a song in your Winamp Playlist.

I USE:
Quote:

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.

lewisbeech 07-27-2005 09:04 AM

super mod!
i have installed it on www.a-2z.com/forum and it works beautifully!
thanks!

Lewis

dethfire 07-31-2005 01:06 AM

plans for 3.5? this hack rocks!

Zachariah 08-01-2005 06:14 PM

Quote:

Originally Posted by dethfire
plans for 3.5? this hack rocks!

Yes sir I plan on putting out updates soon.

Sooner95 10-01-2005 12:02 AM

excellent, thx Zach..

Zachariah 10-04-2005 01:08 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=97500" target="_blank">Shoutcast Status Lite</a> (VB3.5)
================================================== =====
Changelog |
================

1.5
- added 12 Phrases "scast_" prefix
- Added Windows Media Player popup
- Added Real Media Player popup
- Added Quicktime Media Player popup
- Added marquee to Curent song playing
- Added 4 images for choice of media player

JourneyDeep 07-11-2006 06:25 PM

Do these work in the vbulletin forums without the CMPS portal installed?
3) Shoutcast Status Lite (forum home)
4) Shoutcast Status Full (forum home)

I've been looking for a scrolling ticker or something to display "now playing" from my shoutcast server all day.

oldfan 07-11-2006 09:43 PM

Ok, I'm not the smartest cookie.. :P
what rest do I have to install to make this work?
I believe i have shoutcast feature via my paid hosting.

oldfan 07-11-2006 11:50 PM

Quote:

Originally Posted by oldfan
Ok, I'm not the smartest cookie.. :P
what rest do I have to install to make this work?
I believe i have shoutcast feature via my paid hosting.

Yes, I have
Quote:

SHOUTcast is a streaming audio system for Windows and Un*x platforms. At the center of the system is this product, the SHOUTcast Distributed Network Audio Server (DNAS). The DNAS is responsible for accepting a broadcast feed from Winamp and the SHOUTcast Source DSP plug-in, and repeating the broadcast to listeners connected to this SHOUTcast DNAS. Once your source content is being fed into the SHOUTcast DNAS, it will also, dependent on the source content's configuration, list itself with the SHOUTcast directory so listeners can locate your broadcast. The DNAS also has the ability to deliver on-demand content in MP3 format stored in the content/ directory.
Could someone help me alittle more, please and thank you.
I'd really like to offer this to my members, thanks

Zachariah 07-12-2006 12:55 AM

Quote:

Originally Posted by oldfan
Yes, I have

Could someone help me alittle more, please and thank you.
I'd really like to offer this to my members, thanks

Hey :D

1) What vBulletin ver. do you have installed ?

2) Your shoutcast server is installed and running?
(a) If so, is the webserver and shoutcast server one in the same or 2 systems?
(b) If on the webserver, know this will eat tons of bandwidth.

3) Do your have a source feeding the shoutcast server for testing ?
(a) DJ sending a live feed.
(b) Server on endless loop playlist.

-+-+-+-+-+-+-+-+

What have you done and what do you have planed ?

oldfan 07-12-2006 02:00 AM

Quote:

Originally Posted by Zachariah
Hey :D

1) What vBulletin ver. do you have installed ?

2) Your shoutcast server is installed and running?
(a) If so, is the webserver and shoutcast server one in the same or 2 systems?
(b) If on the webserver, know this will eat tons of bandwidth.

3) Do your have a source feeding the shoutcast server for testing ?
(a) DJ sending a live feed.
(b) Server on endless loop playlist.

-+-+-+-+-+-+-+-+

What have you done and what do you have planed ?

1. 3.05
2, I believe so? http://www.metallifukinca.com:8000/
I turned it on via the control panel
Sorry I'm a total newbie at this

JourneyDeep 07-12-2006 11:02 PM

not to sound stupid, but I came across this section in the install notes and I'm stuck...

Make Template: |
===============
forumhome_shoutcast

I was able to edit the forumhome template, but have no clue howto make a template. This is what I ended up with... i think the link was add style, not add template?

https://vborg.vbsupport.ru/external/2006/07/19.jpg

https://vborg.vbsupport.ru/external/2006/07/20.jpg
v3.5.4

JourneyDeep 07-12-2006 11:58 PM

nobody?

JourneyDeep 07-13-2006 12:21 AM

if you guys can just help me with this one thing (howto add/make a template), I think I will have it going. Afterall, I only have to cut&paste the html into the new template, from the installation text. Everything else has been edited/uploaded.


All times are GMT. The time now is 07:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01971 seconds
  • Memory Usage 1,851KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete