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 ?



Philip Lawatsch wrote:

This thread would simply have to monitor all connections using select and once a whole commmand came in from one connection execute the command. This way there is only sequential execution of svdrp commands.

Its that simple, _as long as_ svdrp remains stateless between commands. If ever you have a situation where 2 commands depend on each other you've got a problem.
One thing I forgot to mention:

Currently there is one thing to be taken care of, but implementing this would be not too complicated imho:

Timers currently have a number which is a bad idea. They should get an unique never changing id.

If one uses only sane svdrp applications (didnt look at any sources) they should pick the timer number (or id) vdr sends back the them in the lstt command.

Like:

250-17 1:8:12:0837:0928:50:99:Tiny Toon Abenteuer:

In this case the number is 17.

Now to solve this problem one would simply have to fill in the unique id and not the number in the timer list and thats it.

Imho there is no need for movt anyway.

Just my 0.02euros, but thats how I'd implement it if I had some spare time.

kind regards Philip




Home | Main Index | Thread Index