[
http://dev.sourcefabric.org/browse/LS-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15519#action_15519
]
David Baelde commented on LS-499:
---------------------------------
You're 100% correct. Silly me... I actually noticed that I didn't have to put
the mount, put I didn't do the rest of the thinking. It shows that we could use
stricter error messages: I think I proposed some time ago (at least I
considered it) to switch all output to (...)->unit instead of (...)->source.
This way we'd get error messages for partially applied outputs, whereas
currently we can't do anything precise. It would require some refactoring in
some scripts (put outputs in parallel instead of in sequence) but I believe
it'd be rare and minor.
> output.harbor isn't an active source
> ------------------------------------
>
> Key: LS-499
> URL: http://dev.sourcefabric.org/browse/LS-499
> Project: Liquidsoap
> Issue Type: Bug
> Components: Liquidsoap
> Reporter: David Baelde
> Priority: Major
> Fix For: 1.0
>
>
> There is something really weird going on in output.harbor: it isn't an active
> source, just try to use it as the only output and liquidsoap will say "No
> output defined, nothing to do.". I tried to insert an assert false in the
> base output class, it wasn't executed... it looks like output.harbor doesn't
> effectively inherit from it, or something.
> I'm wondering if this could be due to a bad translation of the camlp4 file.
> The ML output is unreadable because the way let-in are printed, they get
> nested. This could be enhanced. By the way, what's the <file>.camlp4.ml?
> For the record, here's the actual feature request I was after: make a
> two-stage output.start/stop. In the first stage the HTTP handler is set, but
> the encoder isn't started, and possibly (depending on an option) the source
> isn't pulled (note that it should be and remain available, since
> #output_start is only called in that case). In the second stage the encoder
> is created. This may require to not use the stock Output.encoded but this
> "on-demand stream computation" feature could be very useful.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl