MythNetTV talk

  • Post author:
  • Post category:Conference

I gave a MythNetTV talk at linux.conf.au yesterday, and it went remarkably well. Hardly any fruit was thrown. I'm quite please that so far two patches have been sent to me after the talk, and questions in the talk promoted a release of version 7. I should share the following resources from the talk: the slide deck, my cheat sheet, the MythTV book chapter beta which I wrote while gathering my thoughts for the talk. The last one is probably the most useful, as its pretty much an expanded version of the talk. A historical note from November 2020: the mythtvbook.com website is now offline.

Continue ReadingMythNetTV talk

MythNetTV release 7

  • Post author:
  • Post category:Mythtv

This release is smaller than the last one, but has some bug fixes which folk might find handy. New things in this release: Better testing: r232: Simple script to create the unit testing database New features: r210: Allow users to override the default bittorrent upload rate r212: Provide more sync information when running in verbose mode r216: Add the markunread command r218: Make only one download attempt for a given show per 24 hour period r220: Change download interval to one hour, update last attempt time more frequently r222: Add --oldestfirst and --newestfirst flags, which alter NextDownloads behavior r224: Add flag which forces downloads to run, even if they've failed recently r226: Don't mark a bittorrent download as complete just because the torrent file has been completely downloaded r234: Use reasonable defaults for mysql configuration if no config file can be found r236: Use reasonable defaults for mysql configuration if no config file can be found r238: Use reasonable defaults for mysql configuration if no config file can be found Bug fixes: r206: Make the output of "video.py length" more friendly r208: Release man pages as well r214: Fix a bug introduced in r210 which broke bittorrent downloads r228: Fix…

Continue ReadingMythNetTV release 7

MythNetTV release 6

  • Post author:
  • Post category:Mythtv

New things in this release: Better testing: r114: Unit tests for video.py r148: Updated unit test now that we create more tables r151: Start work on syndication unit tests r153: Unit test for bad syndication dates, as well as more flexibility in db connections needed for this unit test r157: Nicer unit test failure output, and refactor GetVideoDir() into the utility module r181: Slightly improve syndication unit tests r183: Add flag parsing to unit tests, and fix some more flag name changes Better documentation: r117: Added a man page for video.py -- I'm not 100% happy with its name though Bug fixes: r114: Fixed a bug where the new filename for video transcode could be the same as the input filename, resulting in video corruption. This was found with one of the new video.py unit tests r116: The logic for the --prompt flag was the wrong way around. Fixed. r119: Nicer download status messages r121: Handle 404s in feed updates better r129: Slight tweak to SVN submit script r131: More accurate tracking of proxy usage (update during download, instead of just at the end) r137: Proxy budget being exceeded doesn't count as a failed download attempt r143: Subscribe now renables…

Continue ReadingMythNetTV release 6

Please help me test trunk

  • Post author:
  • Post category:Mythtv

I'm getting ready to do another MythNetTV release, as I've fixed quite a few things recently. I'd appreciate people testing the new code before I do an official release. You can get the current code like this: svn co http://www.stillhq.com/mythtv/mythnettv/svn That will create a directory called mythnettv, with a subdirectory named trunk, which is the latest development version of the code. You should probably create that directory somewhere where you don't mind a new directory being created. This release has lots of small changes, which are listed in the ChangeLog which will be downloaded with the code. Thanks.

Continue ReadingPlease help me test trunk

Couldn’t determine the video directory?

  • Post author:
  • Post category:Mythtv

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 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 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…

Continue ReadingCouldn’t determine the video directory?

MythNetTV release 5

  • Post author:
  • Post category:Mythtv

New things in this release: There is now a users mailing list at http://lists.stillhq.com/listinfo.cgi/mythnettv-stillhq.com Moved to a public SVN server at http://www.stillhq.com/mythtv/mythnettv/svn/ Added the 'justone' syntax to the download command Another try at using gflags. This means that all the command lines have changed slightly. Moved the core of MythTV out of the user interface file. Started writing unit tests Changed user output code so that it doesn't insist on writing to stdout. You can now write to other file descriptors, which makes things like unit tests much easier to write. Added video/msvideo to the enclosure whitelist Added HTTP download progress information Added a flag which turns off the prompts for markread (--noprompt) Patches from Thomas Mashos Search ~/.mythtv/mysql.txt, /usr/share/mythtv/mysql.txt and /etc/mythtv/mysql.txt in that order for MySQL connection information A manpage setup.py video.py now has a simple command line interface to let you query it Fix update of inactive programs bug per http://ubuntuforums.org/showpost.php?p=5580005&postcount=4 Better DB error handling Included a COPYING file with the right version of the GPL (it was missing before) Fixed a bug where programs would be downloaded more than once (found with a unit test!) Started raising exceptions instead of just sys.exit(1). This should make life easier…

Continue ReadingMythNetTV release 5

Please help me test trunk

  • Post author:
  • Post category:Mythtv

I'm preparing a new release of MythNetTV, and would like some help testing the code, as I have re-factored how the user interface works and there is some risk that I have broken things in the process. You can get the code like this: svn co http://www.stillhq.com/mythtv/mythnettv/svn That will create a directory called mythnettv, with a subdirectory named trunk, which is the latest development version of the code. You should probably create that directory somewhere where you don't mind a new directory being created. The biggest change is that the command line syntax has changed slightly -- the dashes have been removed from the commands. Therefore, to update your list of feeds, you now use: mythnettv update Instead of: mythnettv --update And so on. This was done so that I could add "real" flags, which are used to change default values like where the database configuration is read from, as well as what the default location for the temporary data directory is. "Real" flags which are currently supported are: --datadirdefault: The default location of the data directory (default: 'data') --db_host: The name of the host the MySQL database is on, don't define if you want to parse ~/.mythtv/mysql.txt instead (default:…

Continue ReadingPlease help me test trunk

MythNetTV mailing list

  • Post author:
  • Post category:Mythtv

I get a few support requests for MythNetTV, and I must admit that I sometimes get quite behind on my personal email, especially when I'm travelling. I've therefore created a mailing list for announcements and discussion in the hope that people will chat and come up with great ideas, as well as being able to support each other.

Continue ReadingMythNetTV mailing list

MythNetTV release 4

  • Post author:
  • Post category:Mythtv

New things in this release: Removed gflags because people found it hard to find Bug fix patch from David Linville applied Fixed broken imports caused by refactoring Transcode not needed for avc1 and m4v Another bug fix patch from David Linville applied Store filesize in the db Removed some namespace imports I am not a fan of Made verbosity optional for --update Small code cleanups Let the user know of repeated attempts to download a program Documented the need for bittornado for bittorrent to work Abandon downloading after 3 failed attempts (you can configure the number) Detect stuck bittorrent downloads Release 3 had a few bugs folks reported, this release should fix those problems. Let me know if you still see any. You can grab your copy here.

Continue ReadingMythNetTV release 4

MythNetTV release 3

  • Post author:
  • Post category:Mythtv

New things in this release: Started work on an RSS exporter for MythTV recordings DX50 doesn't need transcode Tweaked supported video mime types so "Tikibar TV" and "Ask a ninja" work First cut of Bittorrent support Schema upgrades Archive recordings as well as importing them Improved --list output Subtitle restrictions on download as well Make subscriptions inactive instead of deleting them (for unsubscribe) Better filename safening More markread options Refactored code to be more sane Don't archive things imported from the archive location Bulk import (--importmanylocal) This version was a long time coming. Sorry about that. You can grab your copy here.

Continue ReadingMythNetTV release 3

End of content

No more pages to load