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:
>
> Klaus Schmidinger schrieb:
> >
> > 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.
> >
>
> I agree that it makes more sense to keep similar things together under
> one command. Offering a compact form of output (one line per EPG entry)
> could make postprocessing easier. Maybe we can add another switch:
>
> LSTE [ <channel> ] [ now | next | since <time> ] [ compact ]
>
> I hope this doesn't make things too complicated. I'll give it another try.
What do you mean by "compact"? Putting _all_ information for one event into
_one_ line? I wouldn't like that, Because it would be yet another format,
and there are new items yet to come (like age restrictions and genre).
Lets stay with the tagged format as it is now and restrict LSTE to only
selected data.
Klaus
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index