Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Module CMPS: Shoutcast Status Full Details »»
Module CMPS: Shoutcast Status Full
Version: 1.2, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 12-05-2004 Last Update: 11-27-2005 Installs: 29
 
No support by the author.

/* -----------------12/06/2004 10:45AM-----------------
Shoutcast Status Full 1.2 - CMPS Module

This is a Module for CMPS to place Shoutcast Status in a block. :alien:

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.

(this hack requires a password form the shoutcast admin to pull stream information.) --- Module CMPS: Shoutcast Status Lite does not need one.


================================================== =====
NEEDED To Install:

vBadvanced CMPS
https://vborg.vbsupport.ru/showthread.php?t=65797
Coded by: Tigga
================================================== =====

Add: 2 templates
Upload: 4 images, 1 php file

Note: This Module with it's current template layout was designed as a center block.
--------------------------------------------------*/

== Install: 2-5 min ==

Server Name
Last 5 songs
DJ Name
DJ ICQ
DJ AIM
Bitrate
Current Song
Users Connected
User Max
IRC Server and Room
Online / Offline status
--------------------------------------------------*/
- Something that came to mind. You can take this add-on and rename the shoutcast.php file to say "shoutcast1.php, shoutcast2.php, etc." and make multi-blocks to get feeds from different servers. They all can use the same templates.


Changelog:
1.2 - 02.22.05
- Added: DJ ICQ, DJ AIM, IRC Server and Room, 2 images
Edited: cleaned up code in templates and php file.

1.1 Fixed - 12.07.04
- shoutcast.php file to show offline if sever IP can not be reached.
To update replace shoutcast.php file.

If you choose not to show any/all:

Variables used.
Here is a list of variables that can be used in your "adv_portal_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
$scpass = Admin password (not DJ) to shoutcast server
$ircsite = IRC Server - EX: irc.server.com
$song[t] = Song History:t can range from 0-19. EX: $song[$0], $song[1], $song[2] .... $song[19] ----- $song[0] (zerro) is the current song playing.
$servertitle = "Discription" - setting in DJ - DSP (I used for DJ Name).
$servergenre = - setting in DSP.
$bitrate = Quility of the Bitrate - setting in DJ - DSP .
$icq = ICQ# of DJ - setting in DJ - DSP.
$aim = AIM# of DJ - setting in DJ - DSP.
$irc = IRC room of DJ - setting in DJ - DSP.
$url = URL - setting in DJ - DSP
$currentlisteners = Current connected users.
$maxlisteners = Max users for the server.
$irclink = irc://$ircsite/$irc
$listenlink = 'http://$scip:$scport/listen.pls

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 01-18-2005, 09:46 PM
pfdc pfdc is offline
 
Join Date: Dec 2004
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

back to top
Reply With Quote
  #33  
Old 01-23-2005, 05:07 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pfdc
please please.. can someone else do this as Harry is obviously busy.. it shouldnt be that hard..
Not that busy .. I am back on it
Reply With Quote
  #34  
Old 01-24-2005, 05:55 AM
pramodha pramodha is offline
 
Join Date: Apr 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HarryButt
Not that busy .. I am back on it
cool will be waiting for the release
Reply With Quote
  #35  
Old 02-24-2005, 04:46 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New update

Changelog:

1.2 - 02.22.05
- Added: DJ ICQ, DJ AIM, IRC Server and Room, 2 images
Edited: cleaned up code in templates and php file.

Quote:
Originally Posted by pramodha
cool will be waiting for the release
ForumHome:
Shoutcast Status Lite 1.0.1
Shoutcast Status Full 1.0.2
Reply With Quote
  #36  
Old 04-04-2005, 08:39 AM
OTuRaNBoGHa OTuRaNBoGHa is offline
 
Join Date: Sep 2004
Location: Istanbul
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my problem is that when the server is offline or the DJ is out, it shows the offline page with an image error[the image lacks the correct path; so there is an X]. But when the shoutcast program is online with a dj, it shows the correct info without any image errors. What can I do about it? I definetely followed ALL the instructions
Reply With Quote
  #37  
Old 04-04-2005, 01:52 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OTuRaNBoGHa
my problem is that when the server is offline or the DJ is out, it shows the offline page with an image error[the image lacks the correct path; so there is an X]. But when the shoutcast program is online with a dj, it shows the correct info without any image errors. What can I do about it? I definetely followed ALL the instructions
================================================== =====
Upload: Images |
===============
im_genre.gif, im_mirc.gif, shoutcast_off.gif, sound.gif

To:
$stylevar[imgdir_misc] - style_location/images/misc


If you have a style that the images do not show up on, then perhaps the images are not in the correct location. To check the path:

Admincp -> Styles & Templates -> Image Paths
Miscellaneous Images Folder
This folder contains the various images that do not fit into other category.

Place the images there. If you have many styles; upload the images to each "misc" folder for each style.
Reply With Quote
  #38  
Old 12-10-2005, 04:22 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Full 1.2 - CMPS Module not 1.6 :|
- Updates soon
Reply With Quote
  #39  
Old 01-29-2006, 05:29 PM
cashpath cashpath is offline
 
Join Date: Jul 2003
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work or can it be made to work with .nsv streams?
Reply With Quote
  #40  
Old 01-29-2006, 06:11 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cashpath
Will this work or can it be made to work with .nsv streams?
This pulls a shoutcast XML feed.
- What system are you talking about ? I am sure something could be made.
Reply With Quote
  #41  
Old 01-30-2006, 03:14 AM
cashpath cashpath is offline
 
Join Date: Jul 2003
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will be using NSVtools to upload a video and audio capture to my shoutcast server..

I changed the shoutcast.php file and as long as they drag and drop the 'tune in' link to winamp it works..

Thanks for the great hack
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:51 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08862 seconds
  • Memory Usage 2,315KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete