[mythtv-users] mythvidexport occasionally fails

tony tony1 at aeran.info
Tue Sep 13 08:37:26 UTC 2011

I've been using mythvidexport to move tv recordings to the vast expanses 
of my videos drive, but have found it occasionally fails.

Output from log:

2011-09-13 17:25:00.005 JobQueue: Started mythvidexport for "Who's 
Afraid of a Big Black Hole?" recorded from channel 1003 at 
2011-09-13 17:25:00.297 mythvidexport.py: Using recording -- Who's 
Afraid of a Big Black Hole? -
2011-09-13 17:25:00.414 mythvidexport.py: Attempting Movie export.
2011-09-13 17:25:01.338 mythvidexport.py:
     Traceback (most recent call last):
       File "/usr/local/bin/mythvidexport.py", line 368, in main
         export = VIDEO(opts,int(args[0]))
       File "/usr/local/bin/mythvidexport.py", line 87, in __init__
       File "/usr/local/bin/mythvidexport.py", line 151, in get_meta
         match = grab.sortedSearch(self.rec.title)
       File "/usr/lib/pymodules/python2.6/MythTV/system.py", line 260, 
in sortedSearch
         key=lambda r: r.levenshtein)
       File "/usr/lib/pymodules/python2.6/MythTV/system.py", line 246, 
in search
         res = self.command('-M', '"%s"' % phrase)
       File "/usr/lib/pymodules/python2.6/MythTV/system.py", line 220, 
in command
         return self._processMetadata(System.command(self, *args))
       File "/usr/lib/pymodules/python2.6/MythTV/system.py", line 89, in 
         return self._runcmd('%s %s' % (self.path, arg))
       File "/usr/lib/pymodules/python2.6/MythTV/system.py", line 98, in 
         raise MythError(MythError.SYSTEM,self.returncode,cmd,self.stderr)
     MythError: External system call failed: code 1

2011-09-13 17:25:01.596 JobQueue Error: User Job 
'/usr/local/bin/mythvidexport.py 1654' failed.

I suspect this may be caused by the punctuation in the video's title, 
but then I'm almost totally software illiterate, so what would I know?

If there's any way to get round this problem, please let me know.

More information about the mythtv-users mailing list