[mythtv-users] How to add old nuv-files to recorded?
JOna
jblistat at sll.fi
Sat Jul 19 19:28:55 EDT 2003
I found out that after inserting the files I had to run mythcommflag
to avoid "out of sync" problems after FFW/Rewind. For the example
that I used in my previous post the commands are:
mythcommflag --chanid 8 --starttime 20030718010000
mythcommflag --chanid 8 --starttime 20030718020000
JOna
*
mini-HOWTO add mpg-files to mythtv
===========================
Something that I have recorded with "cat /dev/video0 >somefile.mpg"
1) rename the file:
mv somefile.mpg 8_20030718010000_20030718010500.nuv
where:
8 = chanid
20030718010000 = starttime
20030718010500 = endtime
2) create addfiles.sql with the following:
connect mythconverg;
INSERT INTO recorded VALUES
(8,20030718010000,20030718010500,'Title','Subtitle',' ',
NULL,'localhost.localdomain',NULL,0,NULL,0);
3) insert data to mysql:
mysql -u mythtv -p < addfiles.sql
4) run mythcommflag for the added file(s):
mythcommflag --chanid 8 --starttime 20030718010000
More information about the mythtv-users
mailing list