LinuxMCE Forums
May 23, 2013, 06:58:23 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Importing from existing MythTV setup  (Read 762 times)
GalaxiaGuy
Making baby steps

Posts: 2


View Profile
« on: August 14, 2007, 09:20:58 pm »

Hi,

I'm a long time MythTV user who is planning on trying out LinuxMCE. I've been reading quite a bit about it but never acutally used it so I apologise if anything I say is way off...

How does LinuxMCE find out about the media in MythTV? Is it with a userjob that runs after something is recorded or something that just waits for new recordings (or something else entirely)? I was hoping to be able to just copy the recordings from my current Myth setup into it but it just occurred to me that that wouldn't work if it just detecting new recordings with a userjob.

I assume I could just copy the recordings into a folder and let LinuxMCE detect them but then I'd lose a load of metadata and Myth would no longer know what I already had for the sake of repeats.

Thanks,
Oliver

PS - I have to say this is one of the most promising pieces of software I've seen for a while and keep up the good work  Smiley
Logged
dopey
Guru
****
Posts: 220


View Profile
« Reply #1 on: August 14, 2007, 11:39:36 pm »

Same here. I found a solution for this at http://mythtv.org/docs/mythtv-HOWTO-23.html#ss23.5. Just back up your database and then restore only the few tables it lists under "Moving your data to new hardware". If your current MythTV install is a new version (this is likely, especially if you're a Gentoo user) then you'll have to modify the sql before it will restore. I had to remove the last column (and the values for it) from the record and recorded tables.
Logged
GalaxiaGuy
Making baby steps

Posts: 2


View Profile
« Reply #2 on: August 15, 2007, 12:05:13 pm »

So does that mean LinuxMCE finds all the recordings properly?

Thanks,
Oliver
Logged
chrisbirkinshaw
Guru
****
Posts: 431


View Profile
« Reply #3 on: August 15, 2007, 12:34:36 pm »

You will need to move all the recordings to /home/public/data/videos/tv_shows_1 (or similar) for Linux MCE's mythtv install to find them. You will also need to change the host in the recordings table and the capturecard table:

update recorded set host="dcerouter" where host="old_machine_name";
update capturecard set host="dcerouter" where host="old_machine_name";

Chris
Logged
dopey
Guru
****
Posts: 220


View Profile
« Reply #4 on: August 18, 2007, 04:05:45 am »

Updating the hostname is only neccessary if you don't have masterbackend override set. Personally I prefer all videos to go to my large network storage drive, so I have that setting set. If you store all your videos on seperate computers, however, you will need update the hostname for all recorded records.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!