EZstream XML that used to work

Steve Matzura <[email protected]> Thu, 19 Sep 2024 20:06:03 -0400
Newsgroups gmane.comp.audio.icecast.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============8821657695623791980==
Content-Type: multipart/alternative;
 boundary="------------FNniQNdpO1NaBEL8Ne3koIMi"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------FNniQNdpO1NaBEL8Ne3koIMi
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

This is about as simple as it can get. It worked earlier today. I added 
a couple lines, like sample rate and channels, it stopped working so I 
took them out, and now when I run it through /usr/bin/ezstream with the 
'-c' option, I get:


ezstream[5609]: ezstream/shout.xml: world readable    # that's normal
ezstream[5609]: stream: default: no configuration


Here's the XML, with passwords hidden:


<?xml version="1.0" encoding="UTF-8"?>

<ezstream>

   <servers>

     <server>
       <hostname>127.0.0.1</hostname>
       <password>****</password>
     </server>

   </servers>

   <streams>

     <stream>
       <mountpoint>/broadband</mountpoint>
       <format>MP3</format>
       <name>ShoutOut Radio with Andy Shilton  and Steffi Barnett</name>
     </stream>

   </streams>

   <intakes>

     <intake>
<filename>/home/tgvpadmin/ezstream/shout.m3u</filename>
       <stream_once>Yes</stream_once>
     </intake>

   </intakes>

</ezstream>


The problem seems to be with the <name> XML directive. I thought that if 
it is added to the <server> block, the name of the stream could be 
displayed in a player. I think the problem comes up if the contents of 
the server name in that directive is more than one word--i.e., contains 
spaces. I removed it, and the player again shows "no name" where I would 
expect to see one. How then does this work? I want to display my station 
name in this name field like I could with an older version of ezstream.

--------------FNniQNdpO1NaBEL8Ne3koIMi
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>This is about as simple as it can get. It worked earlier today. I
      added a couple lines, like sample rate and channels, it stopped
      working so I took them out, and now when I run it through
      /usr/bin/ezstream with the '-c' option, I get:</p>
    <p><br>
    </p>
    <p>ezstream[5609]: ezstream/shout.xml: world readable    # that's
      normal<br>
      ezstream[5609]: stream: default: no configuration</p>
    <p><br>
    </p>
    <p>Here's the XML, with passwords hidden:</p>
    <p><br>
    </p>
    <p>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>
      <br>
      &lt;ezstream&gt;<br>
      <br>
        &lt;servers&gt;<br>
      <br>
          &lt;server&gt;<br>
            &lt;hostname&gt;127.0.0.1&lt;/hostname&gt;<br>
            &lt;password&gt;****&lt;/password&gt;<br>
          &lt;/server&gt;<br>
      <br>
        &lt;/servers&gt;<br>
      <br>
        &lt;streams&gt;<br>
      <br>
          &lt;stream&gt;<br>
            &lt;mountpoint&gt;/broadband&lt;/mountpoint&gt;<br>
            &lt;format&gt;MP3&lt;/format&gt;<br>
            &lt;name&gt;ShoutOut Radio with Andy Shilton  and Steffi
      Barnett&lt;/name&gt;<br>
          &lt;/stream&gt;<br>
      <br>
        &lt;/streams&gt;<br>
      <br>
        &lt;intakes&gt;<br>
      <br>
          &lt;intake&gt;<br>
           
      &lt;filename&gt;/home/tgvpadmin/ezstream/shout.m3u&lt;/filename&gt;<br>
            &lt;stream_once&gt;Yes&lt;/stream_once&gt;<br>
          &lt;/intake&gt;<br>
      <br>
        &lt;/intakes&gt;<br>
      <br>
      &lt;/ezstream&gt;<br>
    </p>
    <p><br>
    </p>
    <p>The problem seems to be with the &lt;name&gt; XML directive. I
      thought that if it is added to the &lt;server&gt; block, the name
      of the stream could be displayed in a player. I think the problem
      comes up if the contents of the server name in that directive is
      more than one word--i.e., contains spaces. I removed it, and the
      player again shows "no name" where I would expect to see one. How
      then does this work? I want to display my station name in this
      name field like I could with an older version of ezstream.<br>
    </p>
  </body>
</html>

--------------FNniQNdpO1NaBEL8Ne3koIMi--

--===============8821657695623791980==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Icecast mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/icecast

--===============8821657695623791980==--