Author Topic: MythTV Fresh Start  (Read 2868 times)

cafedumonde

  • Veteran
  • ***
  • Posts: 122
    • View Profile
MythTV Fresh Start
« 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



seth

  • Guru
  • ****
  • Posts: 485
  • A day w/o LinuxMCE is like a day w/o sunshine!
    • View Profile
Re: MythTV Fresh Start
« Reply #1 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

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

Best of luck to you.

Regards,

Seth
".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth

indulis

  • Veteran
  • ***
  • Posts: 147
    • View Profile
Re: MythTV Fresh Start
« Reply #2 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

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!
« Last Edit: September 25, 2008, 06:03:02 pm by indulis »