Re: [Openpvr-devel] Project update listing?
Brought to you by:
brian_j_murrell,
jfunk
From: Brian J. M. <cd3...@in...> - 2002-04-04 06:47:09
|
On Wed, Apr 03, 2002 at 11:17:18PM -0500, Gregory Gee wrote: >=20 > Seems to be working now. Good. > I've been using your record script quite a few times but haven't updated > it recently from CVS. I haven't committed recently either though. I should. > I use mp1e because I have a really slow computer. I use it because it's a low CPU consumer and allows me to record 640x480, NTSC. > Also, I made a few changes in the record script to save to a different > directory with a fully automated file name Yes, like schedule, those are hard-coded uglies for the moment. > and also made the channel > selection manditory The reason the channel selection is not mandatory is because one record instance can be followed directly by another to record on the same channel. I didn't want the "burp" of trying to change a channel that didn't need changing. > beacuse I have no idea what it could currently be sitting > at. Well, that is record's caller's responsibility. If it is unknown, then the caller should most certainly include a "--channel n" directive. > On the server where it is running, I don't have X running, so I am having > problems getting v4lctrl to set the channel since X is not running. Do you have DISPLAY set, possibly because you are remote X'ed (via ssh or otherwise)? Try making sure DISPLAY is unset and see if you still have problems. Post the output if you are still unable to get it to work. > Did > I compile it with the wrong options? Who knows until we can see what you are getting. > Does it at least do a clean make && make install? It should do a clean make, but there is no make install yet. schedule is a standalone utility right now with no dependence on where it lives. It does require the following files though: /tmp/tv_data.xml.gz - XMLTV output. /tmp/wanted_programs.xml.gz - XML file of programs to record. /tmp/seen_programs.xml.gz - XML file of esposdes seen. The first file, you know the format of, or don't care. XMLTV will produce it. I grab 14 days of XMLTV so that conflict resolution can have the most benefit. The second file: <?xml version=3D"1.0" encoding=3D"ISO-8859-1" standalone=3D"yes"?> <!DOCTYPE my_programs SYSTEM "xmltv.dtd"> <program> <item title=3D"ER"> <score>60</score> <new></new> <date> <day>Thu</day><time>22:00:00</time> </date> </item> <item title=3D"The Sopranos"> </item> <item title=3D"Survivor: *"> </item> </program> Right now "new" and "date" are ignored. You can include them but they will have no effect. The third file: <?xml version=3D"1.0" encoding=3D"ISO-8859-1" standalone=3D"yes"?> <!DOCTYPE seen_programs SYSTEM "xmltv.dtd" > <!-- for episode guides, see http://epguides.com/ --> <program> <item title=3D"ER"> <episode> <number>1</number> <date>19 Sep 94</date> <sub-title>24 Hours</sub-title> </episode> <episode> <number>2</number> <date>19 Sep 94</date> <sub-title>24 Hours</sub-title> </episode> </item> <item title=3D"Survivor: Africa"> <episode> <sub-title>Will There Be a Feast Tonight?</sub-title> </episode> <episode> <sub-title>Smoking Out the Snake</sub-title> </episode> <episode> <date>13 Dec 01</date> <sub-title>Dinner, Movie and a Betrayal</sub-title> </episode> </item> </program> "number" and "date" are ignored and likely to go away. I am not sure I can think of much use for them. Besides debug, the output is a bunch of "at" commands to schedule the jobs. I don't currently have schedule execute the at commands while I vet the output. I just cut'n'paste the current day's at commands. > I'll give it a try once I see what your interface looks like. Okie. > Thanks, NP. Let me/us know how you make out. b. --=20 Brian J. Murrell |