Results 1 to 4 of 4

Thread: How can I move recordings from one backend to another at a different location?

  1. #1
    Join Date
    Sep 2013
    Beans
    21

    How can I move recordings from one backend to another at a different location?

    Here is the situation: Two separate Mythbuntu installs at two separate locations that are not connected in any way (neither is slaved to the other), except both have Internet access. In case it matters, these are used only to record shows from HDHomeRun dual devices and to serve as backends at each location.

    If I schedule a show to record at one location but want to watch it at the other, how can I do that? My preference would be to have it transcode the show to save bandwidth (without losing too much picture quality), then put it in a specific directory where another process (a cron job) will take care of moving it. Then when it is placed on the other backend, I want it to be able to make the recording available to the frontends on that network.

    So, there are probably three parts to this question:

    - How do I make backend #1 save a copy of the transcoded video file to a specific directory on the system (doesn't need to be a directory of my choice, I just need to know where it is).

    - When I bring the file over to backend #2, how do I make it available as a recording that can be viewed just as if it had been originally recorded on that system?

    - When I'm at location 2, what's the easiest way to be able to modify the recording schedule on backend #1?

    My assumption is that I can set up SSH access (on an alternate port) between the two machines, and use that to transfer files, but I haven't figured out the part about the schedule yet. I know about the web interface, just don't want to expose it to the entire Internet for obvious reasons.

    If these are frequently asked questions, please feel free to point me to a page or thread that gives the answers. Thank you.
    Last edited by bullwinkle2; September 14th, 2013 at 11:55 PM.

  2. #2
    Join Date
    Sep 2013
    Beans
    21

    Re: How can I move recordings from one backend to another at a different location?

    Nobody knows if this is possible? EDIT: I just figured out that the recordings are stored in /var/lib/mythtv/recordings (unless that is changed in the Default storage group), so I would guess that you could move the recordings from that directory on the backend of one system to the backend of another, but I wonder if the system receiving the files would recognize them, or if there is metadata stored elsewhere that should also be moved (if that is even possible)?
    Last edited by bullwinkle2; September 17th, 2013 at 11:08 PM.

  3. #3
    Join Date
    Jun 2006
    Location
    Neither here nor there
    Beans
    3,283
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: How can I move recordings from one backend to another at a different location?

    I think you would have to insert the records from one mythtv database to the target database for mythtv to recognize them in the recordings screen. I'd think you'd need to the records from a few different tables (record, recorded, oldrecord, etc.). I think there used to be a script that let you import recordings one at a time (providing the metadata) but I believe that has been deprecated.

    Alternatively you could import the recordings into mythvideo. Before moving them you could use mythlink to give them names that can be recognized for the import of metadata by mythtvideo

    http://www.mythtv.org/wiki/Mythlink.pl
    Linux & MythTV 4 Life
    Running ubuntu on an Atom 330, Atom D525, Turion 64 X2 TL-56, X2 3800, X2 4200, X2 4600, E2180, Core i5 450M, and a Core i7-2600
    My Hardware

  4. #4
    Join Date
    Sep 2013
    Beans
    21

    Re: How can I move recordings from one backend to another at a different location?

    Thank you. mythlink.pl looks like exactly what I need to get started.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •