Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
starting shoutcast (new problem) [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
oracleofmist
Apprentice
Apprentice


Joined: 19 Jun 2004
Posts: 235

PostPosted: Sat Jun 18, 2005 2:06 am    Post subject: starting shoutcast (new problem) [SOLVED] Reply with quote

ok. i downloaded shoutcast from their site and ran through the sc_serv.conf and then ran the file....when i try to connect xmms just sits there saying connecting. winamp when i do xx.xx.xx.xx:8000 says invalid password and when i goto http://xx.xx.xx.xx:8000 it says the shoutcast server is down. how do i bring it up? i'm feeling very newbish as usual

**edit**

downloading and playing the .pls also does not work...says: service unavailable
_________________
Segmentation Fault


Last edited by oracleofmist on Sat Jun 18, 2005 4:32 am; edited 2 times in total
Back to top
View user's profile Send private message
Schooner
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jan 2005
Posts: 86
Location: My Computer

PostPosted: Sat Jun 18, 2005 2:22 am    Post subject: Reply with quote

Don't worry about the "Server is Down". It always says that unless you have an active source connected.

The only thing I can think of to suggest is that you go back through the sc_serv file and make sure you have a password set (it is case sensitive) and make sure that you use the password with the shoutcast plugin.

Sorry I can't help more... but from what you're saying it sounds as if everything should work.
_________________
- Schooner
"OOOH! They have the internet on computers now!" - Homer Simpson
Back to top
View user's profile Send private message
oracleofmist
Apprentice
Apprentice


Joined: 19 Jun 2004
Posts: 235

PostPosted: Sat Jun 18, 2005 3:02 am    Post subject: Reply with quote

ok i'm using the liveice plugin for xmms and here is my new problem upon streaming my playlist:

shoutcast server:
laptop shoutcast-1-9-5-linux-glibc6 # <06/17/05@22:19:06> [source] connected from 127.0.0.1
<06/17/05@22:19:06> [source] icy-name:DasOracle ; icy-genre:
<06/17/05@22:19:06> [source] icy-pub:0 ; icy-br:64 ; icy-url:
<06/17/05@22:19:06> [source] icy-irc:N/A ; icy-icq:N/A ; icy-aim:N/A
<06/17/05@22:19:06> [source] source dropped connection. disconnecting.

xmms:
Gdk-ERROR **: X connection to :0.0 broken (explicit kill or server shutdown).
_________________
Segmentation Fault
Back to top
View user's profile Send private message
oracleofmist
Apprentice
Apprentice


Joined: 19 Jun 2004
Posts: 235

PostPosted: Sat Jun 18, 2005 4:29 am    Post subject: Reply with quote

ok so i saved it from myself. my error was when i tried to config liveice in xmms i forgot to show it where the LAME codec was located (/usr/bin/lame)
_________________
Segmentation Fault
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Sun Apr 09, 2006 4:52 am    Post subject: Reply with quote

I was having the same problem was you. (here)

But i have a couple questions.
Currently while using 'lame' i have the sample rate at 44100Hz but if i raise it to 48000Hz the stream goes fine to the remote user but locally its sounds funny and 'cartoonish" as if the pitch was way higher.

a) does this happen to you too ?

Another question is about the encoder.
We can use 'lame' or 'mp3enc' which is registred.

b) what encoder from /usr/bin/ do we need to use for that ?
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
trossachs
Veteran
Veteran


Joined: 22 Jan 2004
Posts: 1204
Location: London

PostPosted: Sun Feb 10, 2008 1:06 pm    Post subject: Reply with quote

Does anyone know how to 'force' an update of the playlist? I have users who ftp into a directory and deposit their tracks. I then run the following cron job every 15 minutes to update the playlist, but Shoutcast is not playing the new tracks:

Code:
find /home/tford/internet.radio/ -type f -name "*.mp3" > /var/www/shoutcast/playlists/playlist_01.lst



Any ideas?
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Sun Feb 10, 2008 4:21 pm    Post subject: Reply with quote

To reload list:
Code:
$ echo killall sc_trans_linux -USR1 > reload-script


To jump song:
Code:
$ echo killall sc_trans_linux -WINCH > jump-script


To Toggle shuffle:
Code:
$ echo killall sc_trans_linux -USR2 > shuffle-script


To flush Logs:
Code:
$ echo killall sc_trans_linux -HUP > flush-script


Then make these "scripts" executable
Code:
$ chmod +x reload-script jump-script shuffle-script flush-script


To update the list with the added files:
Code:
./reload-script


note: if the box runs more than one shoutcast client you will need to specify the shoutcast client pid for these simple scripts.
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
trossachs
Veteran
Veteran


Joined: 22 Jan 2004
Posts: 1204
Location: London

PostPosted: Mon Feb 11, 2008 12:06 am    Post subject: Reply with quote

Thanks for this HeXiLeD, but I have run these commands and the tunes are not changing. Is there something else I ought to be looking out for?
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Mon Feb 11, 2008 6:40 am    Post subject: Reply with quote

Nop.
this is how you reload the playlist:
Code:
$ killall sc_trans_linux -USR1
. (must be in the same directory as the list)

what do you have in
; PlaylistFile (required EVEN IF RELAYING) - playlist file (to create, use
; find /path/to/mp3/directory -type f -name "*.mp3" > playlist_filename.lst
PlaylistFile= <--- here

and what do you do to start streaming?
and by force the update of the list what are you exactly looking to do?
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
trossachs
Veteran
Veteran


Joined: 22 Jan 2004
Posts: 1204
Location: London

PostPosted: Mon Feb 11, 2008 5:08 pm    Post subject: Reply with quote

The way it is supposed to work is that a select number of people ftp their music into the relevant directory, every few minutes a cron job will run which will copy the newly added files into the play list. I want the updated play list to become available and for Shoutcast to immediately start to stream the new titles.

This now works OK and as such it would appear that I have a fully automated radio station. The only strange thing is that as I watch the logs scrolling to administer Shoutcast, I notice that an awful lot of nodes connect and disconnect very soon afterwards; sometimes immediately.

Is this normal?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum