Pages

Monday, April 6, 2009

Playing with MythTV

I've always wanted to check out MythTV. Never had a PVR type capture card before. A couple of old DC30's from my wedding videos days, but never a PVR 150 or similar. Ended up getting some extra money the other day, and decided to pick an HVR1600.

There is not a proper kernel module for the 1600 (yet). Since I'm using Slackware with KDE 4.2, that means I'm also using qt-4. Myth stable needs qt-3. Not a problem getting the v4l drivers from git. Not a problem getting mythtv from svn. Everything even compiled cleanly.

There's a bug with the data base and qt-4.5. A bug report was filed at trolltech, mythtv, and kde. Kde has a patch for their qt-copy release of qt, and myth patched the main data base file, but not any of the plugins for dbcheck.cpp. Then those on the mailing list claim it's a charset issue with mysql. It's not. Simply applying the same patch to each plugin fixes the issue.

while (thequery != "")

{

- query.exec(thequery);

-

- if (query.lastError().type() != QSqlError::None)

+ if (!query.exec(thequery) &&

+ (query.lastError().type() != QSqlError::NoError))

That's the same patch that was applied to mythtv's dbcheck.cpp, and also need's to be applied to at least 7 plugins. Mytharchive, mythflix, mythgallery, mythgame, mythmusic, mythnews, and mythweather.

I can understand myth not patching the mythplugins. After all, this is stated as being a qt error, and the qt patch is available from kde.

I'm truly surprised mythtv is as stable as it is being an svn version.

More on mythtv latter.

No comments:

Post a Comment