[mythtv-users] Myth on a Laptop

Brad DerManouelian myth at dermanouelian.com
Wed Oct 3 13:32:03 UTC 2007


On Oct 3, 2007, at 12:14 AM, Jon wrote:
> I think the optimal solution in this case is a simple perl script.
> This is a function that I have been wanting for a long time, and it
> has taken until now for me to figure out how easiest to implement it.
>
> Here's what I would do (I may work on this when I have time, but
> don't hold your breath):
>
> On my laptop, I would create a perl script. The script would ask for
> your master backend IP, the remote storage directory (if available),
> the local backend IP (possibly loopback, maybe autodetected, not sure
> how I would do that, but no matter), and the local storage directory.
>
> Then once it has all those variables, it would connect to the
> masterbackend and get the recorded program listings from the
> masterbackend and insert them into the localbackend, and copy
> corresponding data files over.
>
> If one were a perl guru, one could have it check the localbackend and
> make sure that the files/entries don't already exist (say copying an
> entire series, even though you already have some episodes) and if
> they do ask if you want to overwrite or ignore.
>
> So... if someone wants to do this, I'd be glad to do some testing for
> ya!
>
> ~Jon (who would then have to figure out how to get a backend running
> on his powerbook without a capture device)

My optimal solution would be to use MythArchive's Export Video  
Files>Create Native Archive and write it to a directory, then mount  
that directory on my laptop, copy over the files, then on the laptop,  
use MythArchive's Import Video Files option to suck them into the  
backend there.

This is of course assuming you need a way to select which recordings  
you want to copy to your laptop. If you just need top copy everything  
like your perl script idea above suggests, then just export the mysql  
database (just relevant tables, not settings), reimport the sql to  
your laptop's database, then copy your recordings to the same  
directory on your laptop and you're good to go.


More information about the mythtv-users mailing list