Mailing List archive

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

[vdr] Re: [PATCH] New svdrp command LSTS



Thomas Heiligenmann wrote:
> 
> Since the LSTE command returns the whole EPG data and can take a long
> time I was looking for a quicker way to retrieve schedule data via svdrp.
> 
> The attached patch implements a new svdrp command LSTS, which returns
> schedule data in a way similar to the OSD.

I'd rather enhance the existing LSTE command to allow the SVDRP client
to receive only the EPG data of a given channel, in the format already
existing and implemented in the various clients:

LSTE [ <channel> ] [ now | next | since <time> ]

Without option it behaves like before, listing all EPG info of all channels.
With <channel> (which can be either a channel number or a channel ID) it
lists only EPG data of the given channel. The optional "now|next" could be used
to limit the output to the current or following event on the given channel
(or all channels, if none is given), and "since <time>" could deliver all
EPG data of all (or the given) channel(s) that has been modified since the
given time (which is in time_t format). The last one, however, will require
a small addition to VDR's internal EPG data handling, adding a timestamp
of the last modification.

The important thing here is not to introduce yet another data format.

Klaus


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index