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 ?



Klaus Schmidinger wrote:

Imagine what happens if two svdrp connections both want to delete the
timer number 13. Most likely timer 13 + 14 will get deleted since you're
deleting not a timer number but an index in the list of all timers which
will change after the first delete  ....

Lots of problems ..

As I've stated in a previous post, there is a rather simple
solution to this. Every SVDRP connection will have to issue an LSTT
command before it may add, modify or delete a timer. The timer list will
have a timestamp marking when the last modification was made. If an SVDRP
connection issues a timer modification command, but the list of timers was
in some way modified after this sessions last LSTT command, it will get
an error message, saying that the timers were modified in the meantime,
and that it should do another LSTT.
Which for sure will break a lot of applications anyway.
It will for sure require updates to almost any svdrp application working with timers and recordings since there has been no check for something like this before.

I know that it most likely cant be done without breaking applications

The problem is that with your change you do not break applications enough to make sure everyone knows that something has changed.


Anyway, its your code and I for sure cant / do not want to tell you what to do.

kind regards Philip




Home | Main Index | Thread Index