<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Geoff,</p>
<p><br>
</p>
<p>Great to find you here.</p>
<p><br>
</p>
<p>I almost want to cut the rest of this reply off except for the
very last part, but maybe it'll be useful to some folks.</p>
<p><br>
</p>
<p>The bottom line is that you pointed out the stream_name directive
in the <stream> block, I totally missed that in the
two-hundred-plus-line ezstream_full.xml file, and it's exactly
what I needed to solve the problem.</p>
<p><br>
</p>
<p>I did look at ezstream-cfgmigrate, and it works as far as what
it's supposed to do, but none of the resultant converted files
worked, and all for the same reason--I get login failures to the
Icecast server. This is odd because the one and only place there's
a password, it's correct. I'm not going to pursue why it doesn't
work for my files because while I was going through all of this, I
wrote my own migration tool that worked well except for that one
item--<sream_name>. I added that line to my template, ran 52
files through it, and they all work just as they should. If you
want to know more about that, we can take it up off-list, but
otherwise, thank you very much for pointing me in the right
direction. It taught me to read even more carefully than I thought
I was doing, and that's always a good thing.</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 9/20/2024 11:41 AM, Geoff Shang
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7d7f6872-940b-5648-af9e-012ab539ee6a@QuiteLikely.com">Hey
Steve,
<br>
<br>
On Thu, 19 Sep 2024, Steve Matzura wrote:
<br>
<br>
<blockquote type="cite">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.
<br>
</blockquote>
<br>
first of all, this looks like it needs to be within a
<stream> tag inside a <streams> tag.
<br>
<br>
The format of the config file has changed a lot since the early
days. There is a program called ezstream-cfgmigrate which may help
if you still have your original config file.
<br>
<br>
From the ezstream-full.xml file that's in the doc/examples
directory of version 1.0.2:
<br>
<br>
<!--
<br>
Stream configuration
<br>
-->
<br>
<streams>
<br>
<stream>
<br>
<!--
<br>
Identifying name (default: "default")
<br>
<br>
NB: Only the "default" stream is supported at this point.
<br>
-->
<br>
<!-- <name>default</name> -->
<br>
<br>
This seems to indicate that the purpose of this parameter has
changed (it's been a *very* long time since I looked at this).
<br>
<br>
It also seems that the default value is "default", which is also
the only currently supported value. This would explain the above
error message - there is no stream labeled "default".
<br>
<br>
So you can omit this parameter entirely.
<br>
<br>
What I think you want is <stream_name> which is also in the
<stream> section. From further down the same file:
<br>
<br>
<!-- Various other informational settings -->
<br>
<stream_name>Test Stream</stream_name>
<br>
<stream_url><a class="moz-txt-link-freetext" href="http://localhost:8000/">http://localhost:8000/</a></stream_url>
<br>
<stream_genre>Beeps</stream_genre>
<br>
<stream_description>Test tones and
noise</stream_description>
<br>
<stream_quality>1.5</stream_quality>
<br>
<stream_bitrate>16</stream_bitrate>
<br>
<stream_samplerate>44100</stream_samplerate>
<br>
<stream_channels>2</stream_channels>
<br>
</stream>
<br>
</streams>
<br>
<br>
HTH,
<br>
Geoff.
<br>
<br>
</blockquote>
</body>
</html>