How to import videos

For discussion related to MythTV which doesn't belong in another forum.

Moderator: Forum Moderators

Post Reply
sfatula
Senior
Posts: 163
Joined: Sun Aug 09, 2015 3:51 am
Location: Calera, OK
United States of America

How to import videos

Post by sfatula » Sun Apr 01, 2018 4:57 am

We have a daily video we want to download from a site, mp4. I can do that with a simple program each day. Now, the question is, how can I get myhtv to recognize it. It appears there could be 2 options, recording or video.

A video seems easy enough, add it to the folder and get mythtv to see it and it's added. The problem would be that I need to use it more as a recording. So, possibilities:

1. Wife watches, is done with it, and deletes it.
2. Wife does not watch it, gets busy, we go on vacation, whatever. I want it to autoexpire, which videos can't do?
3. Wife watches it, and, wants to watch it again, easy, just don't delete it
4. Wife wants to retain it and never expire.

I don't see off hand how to do 2 and 4 with videos.

So, with recordings, all those functions are supported, but, I don't see a good way to add these via any API.

Anyone have a good solution?

User avatar
pvr4me
Senior
Posts: 660
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: How to import videos

Post by pvr4me » Sun Apr 01, 2018 1:50 pm

I've never played with it, but maybe the Import Recorder can help you?

https://www.mythtv.org/wiki/Import_recorder

I'm not sure what to do for the Video Source and metadata about the recording...

Craig
The MacPorts guy.

sfatula
Senior
Posts: 163
Joined: Sun Aug 09, 2015 3:51 am
Location: Calera, OK
United States of America

Re: How to import videos

Post by sfatula » Sun Apr 01, 2018 6:09 pm

Import Recorder broken until mythtv 30. See:

https://code.mythtv.org/trac/ticket/11117

User avatar
pvr4me
Senior
Posts: 660
Joined: Fri Feb 07, 2014 7:25 pm
Location: near Toronto, Canada
Contact:
Canada

Re: How to import videos

Post by pvr4me » Mon Apr 02, 2018 1:26 pm

I wonder if Peter would backport it to 29?
The MacPorts guy.

sfatula
Senior
Posts: 163
Joined: Sun Aug 09, 2015 3:51 am
Location: Calera, OK
United States of America

Re: How to import videos

Post by sfatula » Mon Jun 18, 2018 10:36 pm

It actually works with V29. I simply used the patch (adjusted for line #'s in V29) and compiled up mythtv using the patch and it works great in V29. Loving it!

Post Reply