LinuxMCE Forums

General => Installation issues => Topic started by: cafedumonde on September 24, 2008, 05:34:28 pm

Title: MythTV Fresh Start
Post by: cafedumonde on September 24, 2008, 05:34:28 pm

Hi,

Short or a full system rebuild, is there a way to nuke my mythconverge database and just start over within MythTV?

I expect that I have hosed my database in the process of playing around with various tuners. Now, though myth can scan channels and correctly grab listings, hangs when I try to watch live tv. I expect that it might be looking for a tuner that is no longer there.

CDM


Title: Re: MythTV Fresh Start
Post by: seth on September 24, 2008, 06:50:13 pm
A place to look as well would be to check your TuneToChannel.sh file in mythtv-setup, per card. For example, if you use a set top box which has a template ID of #43 (this can be viewed by clicking its "Advanced" properties tab in the AV Wizard screen, and a Provider number of 1, for your tv scheduler, would take up the following format under the input section of the card :
Code: [Select]
/usr/pluto/bin/TuneToChannel.sh 43 1
This tells mythtv to use device #43 (set top box) and Provider 1.

Just a place to look. Here is a good page on TuneToChannel.sh http://wiki.linuxmce.org/index.php/TuneToChannel.sh (http://wiki.linuxmce.org/index.php/TuneToChannel.sh)

But if you really want to start a square 1 there are some useful bits in my wiki about restoring the mythtv database here :
http://wiki.linuxmce.org/index.php/Mythtv:RestoreRecordingsAfterUpgrade (http://wiki.linuxmce.org/index.php/Mythtv:RestoreRecordingsAfterUpgrade)

Best of luck to you.

Regards,

Seth
Title: Re: MythTV Fresh Start
Post by: indulis on September 25, 2008, 05:51:20 pm
I think there is a template DB which is distributed with Mythtv, and I am sure there are instructions somewhere on the mythtv.org or mythtvtalk.com web sites about how to reset your database. You feed it into MySQL.  SOrry I can't be of more help it is a while ago that I saw it.  You could also try setting up Mythweb, and also the phpMySQL browser which I found v useful with setup of Mythtv.

Ah ha! found it!
http://www.mythtv.org/docs/mythtv-HOWTO-6.html (http://www.mythtv.org/docs/mythtv-HOWTO-6.html)

You can just
Code: [Select]
find / -name mc.sqlto see if it on your system

When I was just running Mythtv, I set up a cron job to export the DB once a day and compress it as a backup.  Not a bad idea if you are fiddling about a lot!

Good luck!