Displaying 14 results from an estimated 14 matches for "_parse_root".
2014 Nov 22
1
Icecast 2.4.1<location> and <admin> warnings
Hello,
I just did a fresh install of Icecast 2.4.1. from source.
At the moment I get the following warnings:
/usr/local/bin/icecast -b -c /usr/local/etc/icecast.xml
Starting icecast2
Detaching from the console
[2014-11-21 18:51:32] WARN CONFIG/_parse_root Warning, <location> not
configured, using default value "Earth".
[2014-11-21 18:51:32] WARN CONFIG/_parse_root Warning, <admin> contact not
configured, using default value "icemaster at localhost".
Changed groupid to 502.
Changed supplementary groups based on user:i...
2015 Mar 26
2
Icecast won't start on system boot
...AILURE)
CGroup: /system.slice/icecast.service
Mar 26 18:06:09 {my-FQDN} systemd[1]: Starting Icecast Network Audio
Streaming Server...
Mar 26 18:06:09 {my-FQDN} systemd[1]: Started Icecast Network Audio
Streaming Server.
Mar 26 18:06:10 {my-FQDN} icecast[839]: [2015-03-26 18:06:09] WARN
CONFIG/_parse_root Warning, <location> not configured, using default
value "Earth".
Mar 26 18:06:10 {my-FQDN} icecast[839]: [2015-03-26 18:06:09] WARN
CONFIG/_parse_root Warning, <admin> contact not configured, using
default value "icemaster at localhost".
Mar 26 18:06:10 {my-FQDN} ic...
2016 Jun 06
0
[PATCH] Config: Rename mp3-metadata-interval to icy-metadata-interval
...pend_old_style_url_event(event_registration_t **list,
static void config_clear_http_header(ice_config_http_header_t *header)
{
ice_config_http_header_t *old;
-
+
while (header) {
xmlFree(header->name);
xmlFree(header->value);
@@ -997,7 +997,7 @@ static void _parse_root(xmlDocPtr doc,
"interface (stylesheets, images).");
__check_hostname(configuration);
-
+
if (!configuration->location ||
strcmp(configuration->location, CONFIG_DEFAULT_LOCATION) == 0) {
ICECAST_LOG_WARN("Warning, <location...
2015 Mar 29
0
Icecast won't start on system boot
...cecast.service
>
> Mar 26 18:06:09 {my-FQDN} systemd[1]: Starting Icecast Network Audio
> Streaming Server...
> Mar 26 18:06:09 {my-FQDN} systemd[1]: Started Icecast Network Audio
> Streaming Server.
> Mar 26 18:06:10 {my-FQDN} icecast[839]: [2015-03-26 18:06:09] WARN
> CONFIG/_parse_root Warning, <location> not configured, using default
> value "Earth".
> Mar 26 18:06:10 {my-FQDN} icecast[839]: [2015-03-26 18:06:09] WARN
> CONFIG/_parse_root Warning, <admin> contact not configured, using
> default value "icemaster at localhost".
> Mar...
2015 Apr 02
2
Icecast won't start on system boot
...> Mar 26 18:06:09 {my-FQDN} systemd[1]: Starting Icecast Network Audio
>> Streaming Server...
>> Mar 26 18:06:09 {my-FQDN} systemd[1]: Started Icecast Network Audio
>> Streaming Server.
>> Mar 26 18:06:10 {my-FQDN} icecast[839]: [2015-03-26 18:06:09] WARN
>> CONFIG/_parse_root Warning, <location> not configured, using default
>> value "Earth".
>> Mar 26 18:06:10 {my-FQDN} icecast[839]: [2015-03-26 18:06:09] WARN
>> CONFIG/_parse_root Warning, <admin> contact not configured, using
>> default value "icemaster at localhost...
2015 Mar 26
4
Icecast won't start on system boot
OK, took a crash course in systemctl. Got the service properly
enabled. However, got one odd error when I started it.
Mar 26 18:06:10 {my-FQDN} icecast[839]: ERROR: You should not run
icecast2 as root
Mar 26 18:06:10 {my-FQDN} icecast[839]: Use the changeowner directive
in the config file
The XML shows:
<changeowner>
<user>nobody</user>
<group>nogroup</group>
2004 Aug 06
1
Icecast2: undefined reference to `xmlDocGetRootElement'
...tat.c to read libxml instead of gnome-xml as
descibed in the post from Geoff Shang.
./autogen.sh works fine but I get the following errors after make...
config.o: In function `config_parse_file':
config.o(.text+0x122): undefined reference to `xmlDocGetRootElement'
config.o: In function `_parse_root':
config.o(.text+0x313): undefined reference to `xmlIsBlankNode'
config.o: In function `_parse_limits':
config.o(.text+0x565): undefined reference to `xmlIsBlankNode'
config.o: In function `_parse_directory':
config.o(.text+0x6f7): undefined reference to `xmlIsBlankNode'
con...
2015 Mar 22
2
exposed-port option for Icecast behind reverse proxy
...t in the Icecast configuration file, then m3u/xspf
files as well as YP updates will use that port number.
The below patch is for Icecast version 2.3.2:
diff --git a/src/cfgfile.c b/src/cfgfile.c
index 5eac93d..42d917f 100644
--- a/src/cfgfile.c
+++ b/src/cfgfile.c
@@ -436,6 +436,10 @@ static void _parse_root(xmlDocPtr doc, xmlNodePtr node,
configuration->mimetypes_fn = (char *)xmlNodeListGetString(doc,
node->xmlChildrenNode, 1);
} else if (xmlStrcmp (node->name, XMLSTR("listen-socket")) == 0) {
_parse_listen_socket(doc, node->xmlChildrenNode, configuration);
+ } else if (xmlStrcmp...
2004 Aug 06
2
Params and handling
From reading through the code, I can understand that the parameters are
read from the XML config file and stored in the void pointer "data", but
if I am writing a new playlist module that needs additional parameters,
how would I go about handling adding this to the code? I have a MySQL
playlist module written, but I cannot seem to integrate the parameters
such that the admin would
2005 Nov 11
0
[PATCH] icecast video preview 2
..._YP_URL_TIMEOUT 10
@@ -375,6 +376,7 @@
configuration->relay_password = NULL;
/* default to a typical prebuffer size used by clients */
configuration->burst_size = CONFIG_DEFAULT_BURST_SIZE;
+ configuration->video_preview = CONFIG_DEFAULT_VIDEO_PREVIEW;
}
static void _parse_root(xmlDocPtr doc, xmlNodePtr node,
@@ -422,6 +424,10 @@
configuration->hostname = (char *)xmlNodeListGetString(doc, node->xmlChildrenNode, 1);
} else if (strcmp(node->name, "listen-socket") == 0) {
_parse_listen_socket(doc, node->xmlChildrenNod...
2005 Nov 11
2
[PATCH] icecast video preview 2
Updated version of video preview covering frame writing every 3 keyframe
and a xsl typo.
Best regards :)
kysucix
--
Make things as simple as possible, but no simpler. - Albert Einstein
2005 Nov 11
1
[PATCH] icecast video preview
Hi. Here it is my patch to put a video preview of a theora stream in
status.xsl.
I just added a:
<video-preview>1</video-preview>
parameters in icecast.xml.in that control the previewing function.
It encodes a png in $webroot/$mountname.tmp and then move it to
$webroot/$mountname.png
As for now it saves a frame every theora keyframe, which is probably
too heavy for the server but
2004 Aug 06
6
[PATCH] Icecast2 - chroot, setuid/gid...
Hi all again...
I did a chroot patch with ability to change uid and gid.
I dunno if you all approve with the current implementation but the patch
is small and it works here.
remember to CC, since i'm not on this ml...
//Ian Kumlien
PS. To anyone on vorbis-dev, I'm *REALLY* sorry must be tired or something.. =)
DS.
<p><p><p>
-------------- next part --------------
A
2005 Aug 26
0
Installing Ices on OSX 10.4.2
...passing argument 1 of
'strcmp' differ in signedness
cfgparse.c:331: warning: pointer targets in passing argument 1 of
'strcmp' differ in signedness
cfgparse.c:333: warning: pointer targets in passing argument 1 of
'strcmp' differ in signedness
cfgparse.c: In function '_parse_root':
cfgparse.c:345: warning: pointer targets in passing argument 1 of
'strcmp' differ in signedness
cfgparse.c:347: warning: pointer targets in passing argument 1 of
'strcmp' differ in signedness
cfgparse.c:349: warning: pointer targets in passing argument 1 of
'strcmp'...