Mailing List archive

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

[vdr] Re: How to kill an svdrp connection from vdr ?



Olaf Titz wrote:
> 
> > 1 should be very easy to code, 2 only a little harder, and this can be a
> > first step towards the 'final' implementation with recording numbers
> > stored as state against the svdrp connection.
> 
> 2 looks just too complex to be worth it.
> And introducing new error conditions mean that clients have to be
> updated anyway, so you better switch to IDs immediately.
> 
> Clients which properly obey the SVDRP protocol shouldn't have problems
> with this kind of trivial ID generator anyway: make the ID out of
>   sprintf(id, "%d%02d", item_no, connection_no)
> This ensures unique IDs, will allow up to 100 concurrent connections
> (make that %d%04d if this limit bothers you...), allows an unlimited
> number of items and still the IDs are numeric.

Let' keep it simple!

Any SVDRP connection will be able to do, e.g., a MODT command as long
as there has been no change to the timers since the last time it has done
an LSTT command. In order to perform any useful modification command on
timers, an SVDRP client has to do an LSTT command first, anyway.

The same applies to other SVDRP commands, accordingly.

Klaus




Home | Main Index | Thread Index