2010-09-27, 19:48
Two major changes in the SVN happened last night. First, A new committer. barney_1, aka szczys, a writer for hackaday.com, has posted his first commit. He is a skilled python coder and a long-time user/contributer to the mythicalLibrarian project. He is responsible for several features in mythicalLibrarian including the RSS Feeds and the ability of mythicalLibrarian to change the responsibility of MythTV from a back-end server to a dummy recording device.
Seccond, in the SVN you will notice a new folder called PythonBindings. This folder is the start of a new method in which mythicalLibrarian will access the MythTV database. The MythTV Python Bindings were introduced in version .23 in order to allow for upcomming changes in the early development cycle of version .25. The .25 changes will disassociate the file name from the recording data. This change will mean mythicalLibrarian would explicitly fail all recordings as insufficient information. The MythTV Python Bindings will allow for data to be extracted from the MythTV library without any version dependency.
The plan is to replace the version dependent mySQL commands in mythicalLibrarians functions GrabTitleAndSubtitle() and GetMythTVDatabase() with a python script written by barney_1. This script will access the universal MythTV python bindings and dump the database which MythTV has obtained to a file which will be readable by mythicalLibrarian. Currently we are hammering out the interface details, but this script should be usable as a stand-alone script which can be used to grab all database information MythTV has stored on a recording.
The transition should be smooth from direct mySQL to abstracted python queries and it will allow mythicalLibrarian to support every future version of MythTV without changes to mythicalLibrarian's code.
Seccond, in the SVN you will notice a new folder called PythonBindings. This folder is the start of a new method in which mythicalLibrarian will access the MythTV database. The MythTV Python Bindings were introduced in version .23 in order to allow for upcomming changes in the early development cycle of version .25. The .25 changes will disassociate the file name from the recording data. This change will mean mythicalLibrarian would explicitly fail all recordings as insufficient information. The MythTV Python Bindings will allow for data to be extracted from the MythTV library without any version dependency.
The plan is to replace the version dependent mySQL commands in mythicalLibrarians functions GrabTitleAndSubtitle() and GetMythTVDatabase() with a python script written by barney_1. This script will access the universal MythTV python bindings and dump the database which MythTV has obtained to a file which will be readable by mythicalLibrarian. Currently we are hammering out the interface details, but this script should be usable as a stand-alone script which can be used to grab all database information MythTV has stored on a recording.
The transition should be smooth from direct mySQL to abstracted python queries and it will allow mythicalLibrarian to support every future version of MythTV without changes to mythicalLibrarian's code.