BEGIN in server command outputs
-------------------------------

                 Key: LS-488
                 URL: http://dev.sourcefabric.org/browse/LS-488
             Project: Liquidsoap
          Issue Type: Bug
          Components: Liquidsoap
            Reporter: David Baelde
            Assignee: Romain Beauxis


Telnet commands have always ended with an END marker, which is convenient for 
parsing using common Telnet libraries. However, with the introduction of the 
new monadic style at r8032, a BEGIN marker has been added at the beginning of 
the output. I'm not against it, in fact I initially thought I was the author of 
this change... However, it breaks all scripts that interact with liquidsoap's 
telnet (our perl and ruby examples, as well as third-party PHP code) so I think 
it might be a good idea to revert. The other option in my opinion is to go for 
a more radical change: have commands produce a structured object as output, 
which could be printed in json syntax.

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

        

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à