Mailing List archive

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

[vdr] Re: Getting recording path by SVDRP?



Hi ,


> Rene Bartsch wrote:
> > is there any way to get the path of a recording relatively to the
> > video-directory by SVDRP?
> > e.g. from
> >
"/video/Star_Trek_-_Raumschiff_Voyager/Todessehnsucht/2003-05-18.16.50.50.05
.rec/"
> > I need
> >
"Star_Trek_-_Raumschiff_Voyager/Todessehnsucht/2003-05-18.16.50.50.05.rec/".
> > Is this possible?

> No. But if you need that kind of information you probably have
> access to the video directory, anyway. So why don't you take it from
> there right way?

Have to disagree here ;o)) It is possible. All you need to do is
search the string for "/video/" (beginning) and then for the end
of string (end) and simply copy everything inbetween those two
"points" into a new string.

This is basically the way I parsed the Mplayer output for stream
info in my VDR Mod. If you downloaded my modded version
(no longer online) you may want to look at the way I handled
the mplayer output (it's all in menu.c). It's more than a simple
one liner tho. Parsing all of Mplayer's output and making it
onscreen readable was a pain in the a** ;o(

Greetz,
Reinhard


---
Mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 17.03.2003



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



Home | Main Index | Thread Index