[ 
http://dev.sourcefabric.org/browse/LS-516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17724#action_17724
 ] 

David Baelde commented on LS-516:
---------------------------------

It would be possible to give information about the latest playlist resolution: 
the playlist would give the request ID, from which you can get a trace of what 
happened -- it won't be as simple as an HTTP code, but that's not possible 
since the request may not be HTTP.

However, this might not be so convenient, because even if the latest playlist 
resolution failed, the playlist source keeps the contents of the previous 
playlist. This is usually good because you don't want to empty a playlist if 
the 1pm reload fails (remote server temporarily down).

Also I don't see what's insufficient with the current "uri" command.

> URL handling improvements
> -------------------------
>
>                 Key: LS-516
>                 URL: http://dev.sourcefabric.org/browse/LS-516
>             Project: Liquidsoap
>          Issue Type: New Feature
>            Reporter: Samuel Mimram
>            Assignee: David Baelde
>            Priority: Major
>
> From the ML:
> > 2) checking source URL status
> For knowing if it's connected or not we have an internal flag, and I
> could easily make it available as a command. However, a quick look at
> the code didn't suffice to convince me that this flag still makes
> sense -- it doesn't seem to be updated. Moreover, one of the planned
> changes to input.http() and others would automatically bring that kind
> of feature.
> > (or any HTTP error codes 4xx which could give a hint what is going wrong
> > like (not found, unauthorized)
> > seesection 10.4 Client Error 4xx at
> > http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html )
> For that, the log file is a natural solution. But I guess it could be
> more convenient to have a command indicating the last HTTP answer
> code.
> Could you please create a new ticket for those two features?

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

        

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à