[mythtv-users] need help getting mythvidexport working

Chris Gaskell chrisgaskell_uk at yahoo.co.uk
Thu Oct 10 12:14:52 UTC 2013


Trying to solve my lossless transcode problems at the same time, I 
updated MythTV and now have
mythtv 2:0.26.1+fixes.20130916.7892e19-0ubuntu0mythbuntu3

I also deleted ~/.mythtv/pytmdb3.cache but still no luck exporting the 
Senna Movie - the error log still looks the same to me:

2013-10-10 22:15:28.307228 I [18152] mythvidexport.py Using recording -- 
Senna -
2013-10-10 22:15:28.414752 I [18152] mythvidexport.py Performing Movie 
export with local data.
2013-10-10 22:15:29.628536 C [18152] mythvidexport.py
     Traceback (most recent call last):
       File "/usr/local/bin/mythvidexport.py", line 410, in main
         export = VIDEO(opts,int(args[0]))
       File "/usr/local/bin/mythvidexport.py", line 66, in __init__
         self.get_meta()
       File "/usr/local/bin/mythvidexport.py", line 132, in get_meta
         metadata = grab.grabInetref(self.rec.inetref)
       File "/usr/lib/python2.7/dist-packages/MythTV/system.py", line 
404, in grabInetref
         return self.command('-D', *args).next()
       File "/usr/lib/python2.7/dist-packages/MythTV/system.py", line 
344, in command
         return self._processMetadata(super(Grabber, self).command(*args))
       File "/usr/lib/python2.7/dist-packages/MythTV/system.py", line 
130, in command
         return self._runcmd(cmd)
       File "/usr/lib/python2.7/dist-packages/MythTV/system.py", line 
139, in _runcmd
         raise MythError(MythError.SYSTEM,self.returncode,cmd,self.stderr)
     MythError: External system call failed: code 1

The weird thing is, mythvidexport does now seem to be working for other 
files - transcoded and not transcoded.  Metadata lookup also seems to 
work for other titles but not for this one except outside MythTV. These 
are the relevant lines from metadata lookup when run from MythTV:

...
Oct 10 22:23:45 Ion3D mythlogserver: mythmetadatalookup[18403]: I 
CoreContext main.cpp:123 (main) All grabbers tested and working. 
Continuing...
Oct 10 22:23:45 Ion3D mythlogserver: mythmetadatalookup[18403]: I 
CoreContext mythcorecontext.cpp:375 (ConnectCommandSocket) 
MythCoreContext: Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
Oct 10 22:23:45 Ion3D mythlogserver: mythmetadatalookup[18403]: I 
CoreContext mythcorecontext.cpp:1191 (CheckProtoVersion) Using protocol 
version 75
Oct 10 22:23:45 Ion3D mythlogserver: mythmetadatalookup[18403]: I 
MetadataDownload metadatadownload.cpp:222 (runGrabber) Running Grabber: 
/usr/share/mythtv/metadata/Movie/tmdb3.py -l en -D 58496
Oct 10 22:23:59 Ion3D mythlogserver: mythmetadatalookup[18403]: I 
MetadataDownload metadatadownload.cpp:144 (run) Returning Metadata 
Results: Senna 0 0
Oct 10 22:24:00 Ion3D mythlogserver: mythmetadatalookup[18403]: N 
CoreContext main.cpp:171 (main) MythMetadataLookup run complete.
Oct 10 22:24:00 Ion3D mythlogserver: mythmetadatalookup[18403]: I 
CoreContext mythcontext.cpp:1169 (~MythContext) Waiting for threads to exit.
...

So do we conclude that it's the metadata lookup that's causing 
mythvidexport to fail?  Maybe I should just manually copy and rename 
this file to Videos and see how I get on with the script for the 
others.  Right now it seems that the lossless transcode could be a 
bigger issue for me.  I'll start a separate thread for that.

Thanks


More information about the mythtv-users mailing list