<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 14, 2023 at 3:42 PM Jay Harbeston <<a href="mailto:jharbestonus@gmail.com">jharbestonus@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On Sep 13, 2023, at 10:22 PM, Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:<br>
> <br>
> On Wed, 13 Sep 2023 17:22:43 -0400, you wrote:<br>
> <br>
>> As indicated, I have some video that has no inetref, and won’t have one, but there is some already available from the schedules direct including season, episode, description, and others.<br>
>> <br>
>> However when I use the mythvidexport.py script, an exception occurs because there is no inetref for the video and fails. This used to work when I was running V32.<br>
>> <br>
>> Is there a flag, or way to get exportmetadata to work ? I don’t care about exporting artwork as there isn’t any available for the video I am exporting.<br>
>> <br>
>> OR do I need to get all the metadata and export manually now with V34?<br>
>> <br>
>> Regards!<br>
>> <br>
>> Jay<br>
> <br>
> Have you seen this?<br>
> <br>
> <a href="https://www.mythtv.org/wiki/Mythvidexport2.py" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/Mythvidexport2.py</a><br>
<br>
Yes I did, in fact, I am the author of it(well along with Wagners original that it was modified from)! The problem however lies in the MythTV python binding it uses to export the meta data as mentioned in my earlier email.<br>
<br>
Regards<br>
<br></blockquote><div>I just pushed a commit to mythtv/master (v34pre) which might solve your problem.</div><div><br></div><div>BTW, I had no success in trying the mythvidexport2.py script from the wiki.</div><div>Running it in manual mode by providing 'chanid' and 'starttime' I got this exception:</div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"> File ".../master/mythvidexport2.py", line 109, in get_format<br> <a href="http://self.hr">self.hr</a> = "%02d" % self.starttime.hour<br>AttributeError: 'int' object has no attribute 'hour' </span><br></div><div><br></div><div>Roland<br></div></div></div>