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:
-
Importing data/tekzilla--0050--tehbunniez--hd.h264.mp4
Traceback (most recent call last):
File "./mythnettv", line 453, in
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:
select * from storagegroup where groupname="MythNetTV"; select * from storagegroup where groupname="Default"; select * from settings where value="RecordFilePrefix";
This will dump all of the possible places MythNetTV will look for a video directory.
Once you’ve dumped this information, perform some simple checks:
- Is there anything listed at all? If not, you need to configure storage groups with the MythTV user interface
- Is there anything listed with the hostname that MythNetTV is running on? If not, you need to add configuration entries for your current hostname.
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 hostname command.