cPige is a tool for webradios that want to backup their stream on a 1 day period.
Version: 1.5cPige is a tool for webradios that want to backup their stream on a 1 day period. cPige is listening to an icecast/shoutcast webradio, and write the stream using 2 different methods: Artist - Title.mp3, or in Pige mode, cPige write files like 0.mp3 1.mp3 .. corresponding to the current hour. Each mp3 should be 60 min long. Existing files are overwriten. So you can keep 1 day streaming 24/7.
Operating System: Linux
./cpige -h http://stream-hautdebit.frequence3.net:8000/ -h http://fallback.stream:8000/fallback -d .
-h host to connect to.
-V show cpige Version.
-d directory save stream to this directory.
-P Pige mode (takes no argument), save stream by hour.
-M Use pige Meta: will write id3v1 tag (only usefull with pige mode).
-q Quite mode, does not output stream status.
-b Background mode (UNIX only) use cPige as a daemon.
-l Path to logfile.
-I [h|m] pige mode will cut on a hour by hour basis or min by min basis.
-i nb how many "nb" hour(s) or minute(s) we should wait before cutting.
-n cPige will append xxxx to file in 'non pige mode', where xxxx is a number.
- h is the stream URL (not a .m3u or .pls playlist).
- d select where data should be written.
- P Pige mode, keeps 24h of data, by 1h segment, overwriting existing files.
- b Background mode. (UNIX only)
- l path to the logfile.
- q Quiet mode, does not output stream status on stdout
- M Use pige Meta: will write id3v1 tag (only usefull with pige mode)
- I [h|m] pige mode will cut on a hour by hour basis or min by min basis.
- i nb how many "nb" hour(s) or minute(s) we should wait before cutting.
If you have a stream url like http://stream-hautdebit.frequence3.net:8000/ you can use this command line:
./cpige -h http://stream-hautdebit.frequence3.net:8000/ -d /where/to/store/data [ -P ] [ -b ] [ -l cpige.log ]
Parameters in brackets are OPTIONAL. Brackets should not be given to the command line.
What's New in This Release:
· A Gtk2 GUI was added.
· Metaint changes during reconnections are correctly handled.
· Non-printable characterss are no longer used in filenames created in non pige mode.
· Directly starts recording without waiting for a new interval.
· A memory leak has been fixed.
· A potential bug in getHeaders() has been fixed.
· The ability to stop cPige after a certain amount of time has been added.
· NULL strings are not printed.
· There are some fixes for the Win32 platform.