Displaying 14 results from an estimated 14 matches for "dumpfilename".
2005 Oct 24
1
dump-file per source per mount
Hi !
Maybe you could find something with this line in the <mount> section of the
icecast.xml file:
<dump-file>/tmp/dump-example1.ogg</dump-file>
But I prefer to use streamripper which can do this easily on a client side:
http://streamripper.sourceforge.net/
http://packages.debian.org/unstable/sound/streamripper
yomguy
Stefan de Konink wrote:
> On Mon, 24 Oct 2005, Jaakko
2011 Feb 25
0
[patch] Reopen dumpfiles on signal
...; /* save stream to file */
>> + if (source->reopen_dumpfile) {
>> + if (source->dumpfile) {
>> + fclose(source->dumpfile);
>> + source->dumpfile = NULL;
>> + }
>
> * here you close a file, then check if there is a ->dumpfilename after
> you try to open a new one... if there is no ->dumpfilename (for whatever
> reason, is it possible ?) I'd say the best is not to close the first one.
It's possible if the config is changed and reloaded via HUP. The dumpfile configuration parameter could be removed, and no...
2006 Feb 24
1
Request: Time Stamped Dump-Files
Hi,
I urgently need a feature to save the dump-files in splitted timestamped
chunks or - much better - named accordingly to the stream metadata.
I don?t want to use utilities like streamripper to make dumps because
they act as a client and thus the "relay on-demand" feature of icecast
isn't usable anymore. I only want to have a copy of the stream when
somebody is actually
2004 Aug 06
2
[patch] time stamps in dump file names
.... */
+ loctime = localtime (&curtime);
+
source_t *src;
src = (source_t *)malloc(sizeof(source_t));
@@ -76,7 +86,8 @@
src->fallback_mount = strdup (mountinfo->fallback_mount);
src->max_listeners = mountinfo->max_listeners;
if (mountinfo->dumpfile != NULL)
- src->dumpfilename = strdup (mountinfo->dumpfile);
+ strftime (buffer, PATH_MAX, mountinfo->dumpfile, loctime);
+ src->dumpfilename = strdup (buffer);
}
if(src->dumpfilename != NULL) {
Example:
<dump-file>/tmp/ewire-%Y%m%d-%H%M%S.mp3</dump-file>
--jochen
2004 Aug 06
2
[patch] time stamps in dump file names
.... */
+ loctime = localtime (&curtime);
+
source_t *src;
src = (source_t *)malloc(sizeof(source_t));
@@ -76,7 +86,8 @@
src->fallback_mount = strdup (mountinfo->fallback_mount);
src->max_listeners = mountinfo->max_listeners;
if (mountinfo->dumpfile != NULL)
- src->dumpfilename = strdup (mountinfo->dumpfile);
+ strftime (buffer, PATH_MAX, mountinfo->dumpfile, loctime);
+ src->dumpfilename = strdup (buffer);
}
if(src->dumpfilename != NULL) {
Example:
<dump-file>/tmp/ewire-%Y%m%d-%H%M%S.mp3</dump-file>
--jochen
2004 Aug 06
0
[PATCH] Add per-listener and per-mount connection time limits.
...rig Mon Dec 29 10:38:58 2003
--- src/source.c Fri Mar 5 13:11:30 2004
***************
*** 65,70 ****
--- 65,71 ----
src->num_yp_directories = 0;
src->listeners = 0;
src->max_listeners = -1;
+ src->max_listener_time = 0;
src->send_return = 0;
src->dumpfilename = NULL;
src->dumpfile = NULL;
***************
*** 77,82 ****
--- 78,85 ----
src->max_listeners = mountinfo->max_listeners;
if (mountinfo->dumpfile != NULL)
src->dumpfilename = strdup (mountinfo->dumpfile);
+ if (mountinfo->max_lis...
2004 Aug 06
2
Stream metadata settings
On Mon, 2003-12-01 at 08:28, Melanie wrote:
>
> diff -b -B -r -u -P --exclude-from=ignore ../icecast/src/source.c
> ./src/source.c
> --- ../icecast/src/source.c Fri Nov 14 17:51:59 2003
> +++ ./src/source.c Mon Dec 1 09:14:34 2003
> @@ -139,7 +192,6 @@
> #endif
>
> free(source->mount);
> - free(source->fallback_mount);
>
2004 Aug 06
0
Stream metadata settings
...-72,7 +72,7 @@
src->yp_public = 0;
if(mountinfo != NULL) {
- src->fallback_mount = mountinfo->fallback_mount;
+ src->fallback_mount = (char *)strdup(mountinfo->fallback_mount);
src->max_listeners = mountinfo->max_listeners;
src->dumpfilename = mountinfo->dumpfile;
}
Melanie
<p>On 2003.12.01 14:41 Karl Heyes wrote:
> On Mon, 2003-12-01 at 08:28, Melanie wrote:
>
> >
> > diff -b -B -r -u -P --exclude-from=ignore ../icecast/src/source.c
> > ./src/source.c
> > --- ../icecast/src/source.c...
2004 Aug 06
1
Stream metadata settings
...p_public = 0;
>
> if(mountinfo != NULL) {
> - src->fallback_mount = mountinfo->fallback_mount;
> + src->fallback_mount = (char *)strdup(mountinfo->fallback_mount);
> src->max_listeners = mountinfo->max_listeners;
> src->dumpfilename = mountinfo->dumpfile;
> }
2 things...
- you missed dumpfile which also has the same issue :)
- the config lock really needs to be taken. You don't want the
mountinfo details to disappear which it could do if the config file
was switched over.
>From looking at it we could j...
2004 Aug 06
2
improved error.log output --diff
...st, %s", "-");
continue;
}
diff -u --recursive icecast/src/source.c icecast-new/src/source.c
--- icecast/src/source.c 2003-07-18 16:29:23.000000000 -0400
+++ icecast-new/src/source.c 2003-08-06 19:19:09.000000000 -0400
@@ -76,8 +76,8 @@
if(src->dumpfilename != NULL) {
src->dumpfile = fopen(src->dumpfilename, "ab");
if(src->dumpfile == NULL) {
- WARN2("Cannot open dump file \"%s\" for appending: %s, disabling.",
- src->dumpfilename, strerror(errno));
+...
2004 Aug 06
3
Beta 2 Available...
...unexplained exits of the UI.
* added new configuration option which if set, will create a file
containing the pid of the running icecast server.
* fixed logging message in the win32 build of icecast to NOT display the
full path of the module generating the message.
* fix segv when fallback or dumpfilename are not specified
* cleanup bad pointer access after config re-read
* added VERSION_STRING to defines for win32 project
Download beta 2 from http://www.icecast.org/files
Icecast development team
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.i...
2004 Aug 06
3
Beta 2 Available...
...unexplained exits of the UI.
* added new configuration option which if set, will create a file
containing the pid of the running icecast server.
* fixed logging message in the win32 build of icecast to NOT display the
full path of the module generating the message.
* fix segv when fallback or dumpfilename are not specified
* cleanup bad pointer access after config re-read
* added VERSION_STRING to defines for win32 project
Download beta 2 from http://www.icecast.org/files
Icecast development team
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.i...
2001 Dec 18
2
Out of connections, samba 2.2.x
Hi
I have a problem with samba 2.2.2. (see below) I'm sure it's easy to
solve but I can't figure out what to do. The thing I find confusing is
that the newer and more powerful server can't perform as good as the old
one. Any ideas?
/Jonas
Story:
We had all our user homes on a Sun Ultra 2 (solaris 2.6, 30Gb store) and
samba 2.0.6, and all was fine.
But we ran out of disk and moved
2004 Aug 06
7
Stream metadata settings
> IMHO, a system like Icecast should be made so highly configurable that it
> would fit everyone's needs, but I get the impression that only the needs of
> the principal developers are of interest here. It makes me sad to see this,
> Icecast could be great instead of just being good.
>
Melanie,
As one of the 'principal developers', I don't think this is fair.
Of