Re: intro file error

Jordan Erickson <[email protected]> Sun, 6 Apr 2025 09:33:11 -0700
Newsgroups gmane.comp.audio.icecast.general
Organization SubJam, SPC
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============3389543731828996641==
Content-Type: multipart/alternative;
 boundary="------------Llje0bBXunI1AwHNtNlBRSBT"
Content-Language: en-US

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

Hey Tony,

Intro files need to be relative to the web/ directory.

With Windows you can create a symlink / hardlink to them (the link 
itself residing in web/ ) but a shortcut won't work.

   - 
https://www.tenforums.com/tutorials/131182-create-soft-hard-symbolic-links-windows.html


Cheers,
Jordan

P.S. Thanks Philipp for the expertise in libera.chat / #icecast ;)


On 4/6/25 07:50, Tony Harding wrote:
>
> My Icecast server is on the same machine as my automation system and 
> so has all the audio file locally. This includes the news files.
>
> As Icecast does not do on demand playing of files I want to play the 
> news file as an intro to a stream that will not be public and is there 
> just for me to check the news anytime to hear what is going on and 
> react if necessary.
>
> This is Windows version 2.4.4 on a VPS
>
> The file I want to play is E:\DAB1\Other\RNH\RNH-bulletins\twominnews.mp3
>
> I have set up a separate mounting point /news to listen
>
>    <mount type="normal">
>
> <mount-name>/news</mount-name>
>
> <burst-size>65536</burst-size>
>
> <intro>E:\DAB1\Other\RNH\RNH-bulletins\twominnews.mp3</intro>
>
> <public>0</public>
>
>     </mount>
>
> This reports
>
> WARN source/source.c Cannot open intro file 
> "./web\E:\DAB1\Other\RNH\RNH-bulletins\twominnews.mp3": Invalid argument
>
> How can I get around the ./web\E: error?
>
> I have tried putting a shortcut in /web called twominnews.mp3that 
> points at the file and using the intro tag as
>
> <intro>twominnews.mp3</intro>
>
> This reports
>
> WARN source/source.c Cannot open intro file "./web\twominnews.mp3": No 
> such file or directory
>
> Any suggestions welcome
>
> Regards
>
> Tony
>
>
> _______________________________________________
> Icecast mailing list
> [email protected]
> http://lists.xiph.org/mailman/listinfo/icecast

--------------Llje0bBXunI1AwHNtNlBRSBT
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>
    Hey Tony,<br>
    <br>
    Intro files need to be relative to the web/ directory. <br>
    <br>
    With Windows you can create a symlink / hardlink to them (the link
    itself residing in web/ ) but a shortcut won't work.<br>
    <br>
      -
<a class="moz-txt-link-freetext" href="https://www.tenforums.com/tutorials/131182-create-soft-hard-symbolic-links-windows.html">https://www.tenforums.com/tutorials/131182-create-soft-hard-symbolic-links-windows.html</a><br>
    <br>
    <br>
    Cheers,<br>
    Jordan<br>
    <br>
    P.S. Thanks Philipp for the expertise in libera.chat / #icecast ;)<br>
    <br>
    <div class="moz-cite-prefix"><br>
      On 4/6/25 07:50, Tony Harding wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:[email protected]">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator"
        content="Microsoft Word 11 (filtered medium)">
      <style style="display:none;">p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}p
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}div.Section1
	{page:Section1;}</style>
      <div class="Section1">
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial">My Icecast server is on the same machine as my
              automation
              system and so has all the audio file locally. This
              includes the news files.<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial">As Icecast does not do on demand playing of files I
              want to
              play the news file as an intro to a stream that will not
              be public and is there
              just for me to check the news anytime to hear what is
              going on and react if necessary.<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial">This is Windows version 2.4.4 on a VPS <o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial">The file I want to play is
              E:\DAB1\Other\RNH\RNH-bulletins\twominnews.mp3<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial">I have set up a separate mounting point /news to
              listen<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Courier New"><span
style="font-size:12.0pt;
font-family:&quot;Courier New&quot;">   &lt;mount type="normal"&gt;<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Courier New"><span
style="font-size:12.0pt;
font-family:&quot;Courier New&quot;">       
              &lt;mount-name&gt;/news&lt;/mount-name&gt;<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Courier New"><span
style="font-size:12.0pt;
font-family:&quot;Courier New&quot;">       
              &lt;burst-size&gt;65536&lt;/burst-size&gt;<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Courier New"><span
style="font-size:12.0pt;
font-family:&quot;Courier New&quot;">       
&lt;intro&gt;E:\DAB1\Other\RNH\RNH-bulletins\twominnews.mp3&lt;/intro&gt;<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Courier New"><span
style="font-size:12.0pt;
font-family:&quot;Courier New&quot;">       
              &lt;public&gt;0&lt;/public&gt;<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Courier New"><span
style="font-size:12.0pt;
font-family:&quot;Courier New&quot;">    &lt;/mount&gt;<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial">This reports<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Courier New"><span
style="font-size:12.0pt;
font-family:&quot;Courier New&quot;">WARN source/source.c Cannot open
              intro file
              "./web\E:\DAB1\Other\RNH\RNH-bulletins\twominnews.mp3":
              Invalid
              argument<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial">How can I get around the </span></font><font
            face="Courier New"><span
              style="font-family:&quot;Courier New&quot;">./web\E: </span></font><font
            face="Arial"><span style="font-family:Arial">error?<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial">I have tried putting a shortcut in /web called </span></font><font
            face="Courier New"><span
              style="font-family:&quot;Courier New&quot;">twominnews.mp3</span></font><font
            face="Arial"><span style="font-family:Arial"> that points at
              the file and using
              the intro tag as<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Courier New"><span
style="font-size:12.0pt;
font-family:&quot;Courier New&quot;">&lt;intro&gt;twominnews.mp3&lt;/intro&gt;<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial">This reports <o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Courier New"><span
style="font-size:12.0pt;
font-family:&quot;Courier New&quot;">WARN source/source.c Cannot open
              intro file
              "./web\twominnews.mp3": No such file or directory<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Courier New"><span
style="font-size:12.0pt;
font-family:&quot;Courier New&quot;"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial">Any suggestions welcome<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial"><o:p> </o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial">Regards<o:p></o:p></span></font></p>
        <p class="MsoNormal"><font size="3" face="Arial"><span
              style="font-size:12.0pt;
font-family:Arial">Tony<o:p></o:p></span></font></p>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
Icecast mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="http://lists.xiph.org/mailman/listinfo/icecast">http://lists.xiph.org/mailman/listinfo/icecast</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------Llje0bBXunI1AwHNtNlBRSBT--

--===============3389543731828996641==
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

--===============3389543731828996641==--