LinHES Forums http://forum.linhes.org/ |
|
"Restore KnoppMyth" button usage http://forum.linhes.org/viewtopic.php?f=11&t=3959 |
Page 1 of 1 |
Author: | darkone6808 [ Fri Mar 25, 2005 2:37 pm ] |
Post subject: | "Restore KnoppMyth" button usage |
After using the "Restore KnoppMyth" button, I am unable to see the recordings I have made since I pressed "Backup KnoppMyth". How do I update the database to make all recordings reappear? ![]() |
Author: | cesman [ Fri Mar 25, 2005 4:09 pm ] |
Post subject: | |
That should be how it works. Please verify the fs layout is correct in mythtv-setup. Are you certain the backup occured w/o issue? The contents should be in /myth/backup. |
Author: | tjc [ Fri Mar 25, 2005 8:37 pm ] |
Post subject: | |
You restored from your most recent backup, and are now wondering how to undo it? Sorry but you did a bad thing (TM). There is a script which scans your /myth/tv directory for orphaned recordings and tries to put index entries back in the DB but it doesn't work well enough to be useful for PVR recordings and I don't recall it's name. |
Author: | darkone6808 [ Sat Mar 26, 2005 2:11 am ] |
Post subject: | just what I need |
I would like a script to scan for orphans and new recordings - thats just what I need. But if it doesnt exsist or doesnt work - its too bad. I guess I misunderstood the backup and restore function - I thought it applied to the general settings not databases. ![]() |
Author: | Xsecrets [ Sat Mar 26, 2005 10:20 am ] |
Post subject: | |
where do you think the general settings are stored? |
Author: | Greg Frost [ Sun Mar 27, 2005 4:19 am ] |
Post subject: | |
I think the script works fine for putting PVR-x50 recordings back. What it doesn't do is populate the recorded-markup table correctly, so if you try to skip whilst watching the recording (or even pause) you will have issues. I think you should probably be able to just press play and watch to the end though. Doing commercial cut edits would also be a problem. |
Author: | tjc [ Sun Mar 27, 2005 9:56 am ] |
Post subject: | |
Greg - that's pretty much exactly what's wrong with it. The problem is that a number of other issues stem from that. Dark - The name of the script is /usr/local/bin/myth.rebuilddatabase.pl |
Author: | alien [ Tue Mar 29, 2005 1:33 am ] |
Post subject: | |
Just a suggestion, but it might be usefull to add a yes/no prompt on mythrestore database. I accidentaly hit it instead of BurnDVD. I ended up "restoring" recordings I had just deleted and could not re-deleted them easily (the opposite of the above problem). I guess I shouldn't complain since that little bug may result in a mythtv "stable" stream ![]() Don't get me wrong, I think the backup and restore added in knoppmyth are critical components. You just don't want to run it by accident. Allen |
Author: | khrusher [ Tue May 03, 2005 6:04 am ] |
Post subject: | |
you can change the restore button to post a new menu rather then start the restore...the menu would have a buttons that actually do the backup and restore... in knoppmyth.xml remove: Code: <button> <type>Backup</type> <text>Backup KnoppMyth</text> <action>EXEC sudo /usr/local/bin/mythbackup</action> </button> <button> <type>Restore</type> <text>Restore KnoppMyth</text> <action>EXEC sudo /usr/local/bin/mythrestore</action> </button> and add Code: <button> <type>BackupRestore</type> <text>Backup and Restore</text> <action>MENU BackupRestore.xml</action> </button> then create a new file named BackupRestore.xml that includes: Code: <mythmenu name="BackupRestore">
<button> <type>Backup</type> <text>Backup KnoppMyth</text> <action>EXEC sudo /usr/local/bin/mythbackup</action> </button> <button> <type>Restore</type> <text>Restore KnoppMyth</text> <action>EXEC sudo /usr/local/bin/mythrestore</action> </button> </mythmenu> Now if you select the wrong button on the knoppmyth menu, you can simply escape back....one extra layer of saftey |
Author: | tjc [ Tue May 03, 2005 5:33 pm ] |
Post subject: | |
Sweet... |
Author: | Ralph [ Thu Jan 12, 2006 5:13 pm ] |
Post subject: | Which directory? |
I'm missing something crucial here: I've followed the instructions in khrusher's post above, and made the changes in /usr/share/mythtv - but the changes are not appearing in the front end's KnoppMyth menu, so I suspect I'm working in the wrong directory ![]() |
Author: | tjc [ Fri Jan 13, 2006 12:13 am ] |
Post subject: | |
There are two of them. Check both... Code: root@black2:/usr/share/mythtv/themes# locate knoppmyth.xml
/usr/share/mythtv/knoppmyth.xml /usr/share/mythtv/themes/classic/knoppmyth.xml |
Author: | Ralph [ Fri Jan 13, 2006 1:33 am ] |
Post subject: | |
Wow, thanks, that did it ![]() Intriguingly, as soon as I renamed /usr/share/mythtv/themes/classic/knoppmyth.xml to knoppmyth.xml_old, the front end started to use my modified /usr/share/mythtv/knoppmyth.xml instead, ie. I didn't even have to move the new one into /usr/share/mythtv/themes/classic. So should I just leave knoppmyth.xml & the new BackupRestore.xml in /usr/share/mythtv, or is it better to move them into /usr/share/mythtv/themes/classic? |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |