fetzerch/xbmc-pvr-addons — pull request #70 by janbar (2012-12-19 22:50:16+00:00)
Title: cmyth_mysql_get_recorder_source_channum()

Hi Christian,

Here the add usable with an aggregate of channel by the number. Also i reviewed when we need to check the db schema version. In this case we must have the setup database before creating the query to choose what to do. There was no issue before because at least one db call was done (during test of connection) and the database was setup within. But it is not clear in the code and i prefer to clean this part in the future. So i added materials to do it and the new function use it. Indentation of touched functions is reviewed.

Merry Christmas.