[mythtv-commits] mythtv commit: r23715 - in trunk/mythtv/libs by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Mar 10 18:36:12 UTC 2010


      Author: danielk
        Date: 2010-03-10 18:36:12 +0000 (Wed, 10 Mar 2010)
New Revision: 23715
   Changeset: http://svn.mythtv.org/trac/changeset/23715

Modified:

   trunk/mythtv/libs/libmyth/programinfo.cpp
   trunk/mythtv/libs/libmyth/programinfo.h
   trunk/mythtv/libs/libmythdb/mythversion.h

Log:

When debugging a ProgramInfo issue I found it difficult to determine which recorder's ProgramInfo was printing something to the console, this just adds the basename to the LOC string of debugging & error messages.  Note: Calling GetRecordBasename() hit the DB mercilessly even with fromDB set to false, so I added a GetBasename() method which simply returns an empty string if the pathname has not been set; I also improved the documentation of GetRecordBasename() and simplified it a little bit using GetBasename().

The introduction of the GetBasename() method requires plugins to be rebuilt due to the new binary version required.




More information about the mythtv-commits mailing list