|Couldn't determine the video directory?|
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:
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 email@example.com, with the output of those select commands, and the output of the hostname command.
posted at: 10:32 | path: /mythtv/mythnettv/tips | permanent link to this entry
I had this problem. Followed your queries and found that those settings had hostnames of OLDHOSTNAME. Not sure how that happened. Updated it to the correct setting and mythnettv is now happy.