View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 13 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Mar 25, 2005 2:37 pm 
Offline
Joined: Fri May 21, 2004 2:38 pm
Posts: 17
Location: Copenhagen - Denmark
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? :?:


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 25, 2005 4:09 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 25, 2005 8:37 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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.


Top
 Profile  
 
 Post subject: just what I need
PostPosted: Sat Mar 26, 2005 2:11 am 
Offline
Joined: Fri May 21, 2004 2:38 pm
Posts: 17
Location: Copenhagen - Denmark
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. :(


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 26, 2005 10:20 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
where do you think the general settings are stored?

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 27, 2005 4:19 am 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 27, 2005 9:56 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 29, 2005 1:33 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
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 :lol:

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

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 03, 2005 6:04 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
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

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 03, 2005 5:33 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Sweet...


Top
 Profile  
 
 Post subject: Which directory?
PostPosted: Thu Jan 12, 2006 5:13 pm 
Offline
Joined: Sat Dec 03, 2005 5:59 pm
Posts: 111
Location: Sydney, Australia
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 :?:


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 13, 2006 12:13 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 13, 2006 1:33 am 
Offline
Joined: Sat Dec 03, 2005 5:59 pm
Posts: 111
Location: Sydney, Australia
Wow, thanks, that did it :D
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?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu