Sponsored Content
Top Forums Shell Programming and Scripting [NEED] Shoutcast Stream Ini Script Post 302532085 by Cannon on Monday 20th of June 2011 08:18:09 AM
Old 06-20-2011
[NEED] Shoutcast Stream Ini Script

Hi there, my english is not the best but i try to tell what i want.
i want a Shell Script with this i can creat a Shoutcast Stream and stop, start and restart it. I have found this Script:
http://serversupportforum.de/forum/s...it-script.html
When i will creat a stream i set the command:
Code:
sh shoutcast.sh creat 9875

so now the sh script creat a folder with the name 9875 and download in the folder the shoutcast stream file and creat the shoutcast config file
when i will start the stream i tipe in
Code:
sh shoutcast.sh start 9875

now the Shell script start the stream server in the Folder 9875
and when i type in
Code:
sh shoutcast.sh stop 9875

then it stop the server in the folder 9875
and by
Code:
sh shoutcast.sh restart 9875

then it restart the stream in the folder.
can anyone creat me this script? i hope you have understand all when not sry for the Bad english

Greetings
Cannon

---------- Post updated at 02:18 PM ---------- Previous update was at 12:50 AM ----------

i pay are for it

Last edited by Cannon; 06-19-2011 at 07:56 PM..
 

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[Video stream] network stream recording with mplayer

Hi I used this command: mplayer http://host/axis-cgi/mjpg/video.cgi -user root -passwd root \ -cache 1024 -fps 25.0 -nosound -vc ffh264 \ -demuxer 3 -dumpstream -dumpfile output.avi It's ok but... Video Playing is very fast! Why? Is it a synch problem? What parameter I have to use for... (1 Reply)
Discussion started by: takeo.kikuta
1 Replies

2. Shell Programming and Scripting

script assistance needed - create an archive of INI files

First and foremost - me != unix bubba. Here is the situation. We have a box with data AND settings in the same directory path. (Data files aren't in the SAME directories as settings.) I need a script that generates a tarred-up archive of only the INI files with the directory structure. We... (2 Replies)
Discussion started by: hindesite
2 Replies

3. Web Development

about php.ini and mysql linux

I can't use mysql .How should i config the file of php.ini . the message: Fatal error: Call to undefined function mysql_errno() in /var/www/html/inc/dv_clssql.php on line 129 how should i do? please help me (2 Replies)
Discussion started by: fang_xiaoan
2 Replies

4. Ubuntu

php.ini

Hi, I have installed ubuntu server lamp. When I used the command locate to find the php.ini file I found two location. /etc/php5/cli/php.ini /etc/php5/apache2/php.ini When I want to change the setting of the php, which one of them should I change and why I have this file twice? (3 Replies)
Discussion started by: programAngel
3 Replies
streamtuner2(1) 						   User Manuals 						   streamtuner2(1)

NAME
streamtuner2 - Browser for internet radio stations SYNOPSIS
streamtuner2 command [ channel,... ] [ title ] DESCRIPTION
Streamtuner2 is a graphical application for browsing through internet radio station directories, like Shoutcast.com and Xiph.org or Inter- net-Radio.org.uk. It is written in Python and easy to extend. And besides the grapical interface, has a commandline interface. OPTIONS
Display data from cache help Prints out a summary of available commands. stream channel title Searches for a station with the given title. Either looks in a single channel, or scans all plugins. url channel title Prints out only the streaming URL. play [channel] title Invokes the configured audio player. Load data from directory service categories channelname Returns a nested JSON list of all categories/genres. category "channelname" "Category" Prints out a JSON list of the genre. Each entry constains title, url and other meta information. Note that the category must have the exact case. EXAMPLES
streamtuner2 stream shoutcast,xiph "Top 100" Searches for the term "Top 100" in the shoutcast and xiph channels, and returns all info about the first match as JSON output. streamtuner2 play frequence3 Looks for the first occourence, and starts the audio player for FREQUENCE3. FILES
/home/$USER/.config/streamtuner2/settings.json SEE ALSO
streamripper(1) audacious(1) json(5) m3u(5) pls(5) BSD
/Linux July 2010 streamtuner2(1)
All times are GMT -4. The time now is 01:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy