Go Back   vb.org Archive > Community Central > Community Lounge
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-29-2005, 09:49 AM
soniceffect's Avatar
soniceffect soniceffect is offline
 
Join Date: Feb 2005
Location: UK
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Stream shoutcast from server?

OK lookin for a bit of knowlege on this, if anyone has any

I have a shoutcast stream running from a dedicated server using winamp, shoutcast dsp, and the likes. It`s a unix server (lynux). Question is this:-

I set off winamp from my comp with the tunes I wish to play, directed to the server, however I have to keep winamp running on my comp all day and all night. So is there a way to play files that are on the server, through the server, without even having the need to have my computer on?
Reply With Quote
  #2  
Old 10-29-2005, 03:12 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sc_trans
http://www.shoutcast.com/downloads/s..._posix_040.tgz


Install the DSP plugin w/in /usr/local/shoutcast
a. Make directories for each stream you want to run. IE. if you are going to run seperate streams for different genres or artists....mkdir sc_trans_techno, mkdir sc_trans_hiphop
b. gunzip sc_trans_posix_040.tgz (into each sc_trans* directory)
c. tar -xvf sc_trans_posix_040.tar (into each sc_trans* directory)

Add content
a. After install of server, you will have a "content" directory. Make new directories in content for each genre or artist. IE. mkdir techno, mkdir hiphop.
b. Move .mp3 files into the respective content directories.
c. Create a play list:
find /usr/local/shoutcast/content/techno -type f -name "*.mp3" > techno.lst

Configure Shoutcast DSP plugins:

a. Copy the sc_trans_linux, sc_trans.conf to each directory created in step 4a.
b. Move the playlist you created in step 5c to the appropriate sc_trans_<genre> folder you created in step 4a. IE. mv techno.lst /usr/local/shoutcast/sc_trans_techno
c. Edit the sc_trans.conf file. You will need to specify the file list (techno.lst in the last example), and specify bit rate (128k), and same password you used, and servername or IP, and same port # used in the sc_serv.conf you edited in step 6b.

Start your server from /usr/local/shoutcast/content/<genre or artist folder>
IE. ./sc_serv&

Start your DSP plugin from each /usr/local/shoutcast/sc_trans_<genre or artist folder>
you created in step 4a.
IE. ./sc_trans_linux&

-- You should now be able to connect using Winamp or from MusicMatch by either adding a URL or clicking a hyperlink on a webpage:
IE. http://<ip_address>:<port# of the genre>/listen.pls
Example: http://192.168.0.7:8010/listen.pls
Example hyperlink on my webpage:
<a href="http://192.168.0.7:8020/listen.pls">Techno</a>

***If you are going to host this on the internet, configure a firewall. The following is my ipchains configuration for the 4 streams I host, each on a seperate port number (8000, 8010, 8020, 8030). More port numbers would definitely be necessary the more users that access the server.


Quote:
Originally Posted by soniceffect
OK lookin for a bit of knowlege on this, if anyone has any

I have a shoutcast stream running from a dedicated server using winamp, shoutcast dsp, and the likes. It`s a unix server (lynux). Question is this:-

I set off winamp from my comp with the tunes I wish to play, directed to the server, however I have to keep winamp running on my comp all day and all night. So is there a way to play files that are on the server, through the server, without even having the need to have my computer on?
If lost contact me on IM.
Reply With Quote
  #3  
Old 10-29-2005, 03:52 PM
soniceffect's Avatar
soniceffect soniceffect is offline
 
Join Date: Feb 2005
Location: UK
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will contact if I struggle .. but should be ok ....... Thanks for the help, it`s very much appreciated
Reply With Quote
  #4  
Old 10-29-2005, 04:46 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't realise you could do that. Where do you guys rent your Shoutcast servers? I don't know of anywhere reliable.
Reply With Quote
  #5  
Old 10-29-2005, 04:56 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 soniceffect
Will contact if I struggle .. but should be ok ....... Thanks for the help, it`s very much appreciated
http://www.gzhq.net/forums/showthread.php?t=13464 - more info.

Use what ya need. (its old info but works just the same.) I need to update it some day.
Reply With Quote
  #6  
Old 10-29-2005, 09:00 PM
soniceffect's Avatar
soniceffect soniceffect is offline
 
Join Date: Feb 2005
Location: UK
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Zachariah

star man

@Fleebag

Not sure to be honest, I have access to m8`s server who I run a site for, so just create my own access, and get him to request ports opening etc from the support geezers at the datacentre ..

You basically need the following to run the shoutcast server actually on your server

- The ability to CHmod (which would guess u have anyway)
- Access to shell
- Ability to open close ports, or ability to ask someone who runs your server to do it for ya

The software is free to use
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 03:25 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.03747 seconds
  • Memory Usage 2,217KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete