[mythtv-users] FW: Looking for sample video grabber scripts

Nick Rout nick.rout at gmail.com
Thu Aug 30 07:59:55 UTC 2012


On Thu, Aug 30, 2012 at 4:19 PM,  <ajp at cantabrian.co.nz> wrote:
> Hi,
>
> I know the intention of grabbers is to query some remote web based system to
> get metadata, but I feel I am running out of options.
>
> What I want to achieve is not currently in MythTV and not likely to be in it
> any time soon. This means I either create a patch and build it myself or I
> try some more "creative" approach. I don't have the time to create a custom
> build so I am left with the "creative" approach.
>
> When I see discussions like this in forums it usually takes the form of a
> user wanting to do something specific and the respondent wanting to fully
> understand the problem because the respondent thinks it highly likely the
> product already does what the user wants - it's just that the user doesn't
> understand the product enough :-)
>
> Thus the more detailed explanation................
>
> 1.      I export an recorded movie from Myth
> 2.      I open it up in StreamClip and edit out commercials etc.
> 3.      I save as a .ts file. The TS file name now includes series name,
> episode title, season, episode etc.
> 4.      I also save a .jpg screenshot that I gather during the editing
> process
> 5.      I run a custom script against a bunch of these edited movies.
> 6.      The result of the custom script is:
>         a.      A *.mp4 file with all metadata correct incl. artwork
>         b.      A *.xml file suitable to be imported into Myth
>         c.      A *.png file suitable to be imported into Myth
>
> So at the end of this process I have a file I can use in iTunes/iPhone/iPad.
> This file is complete and all metadata including artwork encapsulated in the
> one file. I also have an output that can be imported into Myth.
>
> So.....
>
> What I want to do is have this "custom script process"  produce artefacts
> that can be placed in a Myth Videos directory structure and have "Videos"
> populated with all the metadata and artwork.
>
> Currently to do this I would have to create a potentially very long and
> messy filename that would work for Myth but look very unwieldy if I use it
> for anything else - iTunes won't be bothered what filename is used as it
> extracts all details from the embedded metadata.  Also this process would
> not use the artwork/screenshot I created.
>
> I need a solution that doesn't require building Myth. All I can find is to
> manipulate a video metadata grabber script so it looks at the file system
> and returns the metadata from an examination of the file system rather than
> a remote web server. I admit it's a bit contrived but will give me a
> solution that fits my requirements and works within the Myth ecosystem.

Hi also from NZ, ChCh here. Are you on the mythtvnz list? Please feel
free to join http://lists.ourshack.com/mailman/listinfo/mythtvnz

I assume the metadata is already in the myth system if it is a
recording. We have reasonable, but not great xmltv data here.

So perhaps what you need to do is alter your workflow:

1. run a transcode job to convert to mp4 and add the metadata that is
already in the database. There are wrapper scripts on the wiki.

2. use the script that is floating around to export your recording to
video. The metadata is maintained afaik.

3. creating a videopodcast at the same time should be reasonably
trivial, or point iTunes at your video storage groups.

Or am I missing something?


More information about the mythtv-users mailing list