Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: bug in svdrp?!?!



Patrick Maier wrote:
> 
> Hi Klaus,
> 
> first of all thank you and all the other programmers for their great
> work!!
> 
> I'm currently developing a wap frontend for the vdr, so that you can
> control the vdr like vdradmin over wap.
> 
> I noticed that on every last svdrp-output-line there is a "-" dash
> missing:
> 
> LSTC
> [...]
> 250-158 Spiel 5:12070:H:0:27500:3583:3584:0:101:211
> 250-159 Spiel 6:12090:V:0:27500:1791:1792:0:101:212
> 250-160 Spiel 7:12032:H:0:27500:2815:2816:0:101:213
> 250-161 Spiel 8:11720:H:0:27500:2047:2048:0:101:240
> 250 162 Sunshine-Live:12148:h:0:27500:8191:336:0:101:169
>    ^
> or
> HELP
> [...]
> 214-    MOVT    NEWC    NEWT    NEXT    PUTE
> 214-    UPDT    VOLU    QUIT
> 214-To report bugs in the implementation send email to
> 214-    vdr-bugs@cadsoft.de
> 214 End of HELP info
>    ^
> or
> 250-1 0:8:MDMDF--:[...]
> 250-2 [...]
> 250 3 [...]
>    ^
> and so on.
> 
> or SHOULD there be no "-"?

This is not a bug, it's a feature!
Lines with '-' indicate that there are more lines to come.
A line without a '-' is the last line that comes as a response to
a command. This makes parsing the command responses easier.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________




Home | Main Index | Thread Index