stillhq.com : Mikal, a geek from Canberra living in Silicon Valley http://www.stillhq.com The life, times, travel and software of Michael Still en Copyright (c) Michael Still 2000 - 2006 blosxom simplerss20 v20050208hh 180 http://blogs.law.harvard.edu/tech/rss Couldn't determine the video directory? /mythtv/mythnettv/tips Sun, 14 Sep 2008 10:32:00 PST A couple of people have contacted me in the last couple of days with an error where MythNetTV can't determine the directory to put videos in. The error would look something like this: <br/><br/> <pre><ul> Importing data/tekzilla--0050--tehbunniez--hd.h264.mp4 Traceback (most recent call last): File "./mythnettv", line 453, in <module> main(sys.argv) File "./mythnettv", line 212, in main mythnettvcore.DownloadAndImport(db, guid, out=out) File "/home/mythbox/Scripts/mythnettv/mythnettvcore.py", line 92, in DownloadAndImport prog.Import(out=out) File "/home/mythbox/Scripts/mythnettv/program.py", line 472, in Import raise FilenameException(self.db, 'Could not determine the video ' program.FilenameException: Could not determine the video directory for this machine. Please report this to mythnettv@stillhq.com </pre></ul> <br/><br/> The stack trace is mostly irrelevant. The problem here is that MythNetTV couldn't decide what directory to put the video in once downloaded. Please execute the following SQL statements against your MythTV database: <br/><br/> <ul><pre> select * from storagegroup where groupname="MythNetTV"; select * from storagegroup where groupname="Default"; select * from settings where value="RecordFilePrefix"; </pre></ul> <br/><br/> This will dump all of the possible places MythNetTV will look for a video directory. <br/><br/> Once you've dumped this information, perform some simple checks: <br/><br/> <ul> <li>Is there anything listed at all? If not, you need to configure storage groups with the MythTV user interface <li>Is there anything listed with the hostname that MythNetTV is running on? If not, you need to add configuration entries for your current hostname. </ul> <br/><br/> If you're still having problems, please send email to mythnettv@stillhq.com, with the output of those select commands, and the output of the <b>hostname</b> command. <br/><br/><i>Tags for this post: mythtv(<a href="http://www.stillhq.com/mythtv"><img src="http://www.stillhq.com/tagicon.cgi?post=/mythtv/mythnettv/tips/000001&tag=mythtv&format=.png" border="0" alt="S"></a>) mythnettv(<a href="http://www.stillhq.com/mythnettv"><img src="http://www.stillhq.com/tagicon.cgi?post=/mythtv/mythnettv/tips/000001&tag=mythnettv&format=.png" border="0" alt="S"></a>) tips(<a href="http://www.stillhq.com/tips"><img src="http://www.stillhq.com/tagicon.cgi?post=/mythtv/mythnettv/tips/000001&tag=tips&format=.png" border="0" alt="S"></a>) </i> <a href="http://www.stillhq.com/mythtv/mythnettv/tips/000001.commentform.html">Comment</a> http://www.stillhq.com/mythtv/mythnettv/tips/000001.html http://www.stillhq.com/mythtv/mythnettv/tips/000001.html