[mythtv-commits] mythtv commit: r22976 - in trunk by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Dec 17 23:03:32 UTC 2009


      Author: danielk
        Date: 2009-12-17 23:03:32 +0000 (Thu, 17 Dec 2009)
New Revision: 22976
   Changeset: http://svn.mythtv.org/trac/changeset/22976

Modified:

   trunk/mythplugins/mythweb/classes/MythBackend.php
   trunk/mythtv/bindings/perl/MythTV.pm
   trunk/mythtv/bindings/python/MythTV/MythTV.py
   trunk/mythtv/libs/libmyth/programinfo.cpp
   trunk/mythtv/libs/libmyth/remoteutil.cpp
   trunk/mythtv/libs/libmythdb/mythversion.h
   trunk/mythtv/programs/mythbackend/mainserver.cpp
   trunk/mythtv/programs/mythbackend/scheduler.cpp
   trunk/mythtv/programs/mythbackend/scheduler.h
   trunk/mythtv/programs/mythfrontend/playbackbox.cpp
   trunk/mythtv/programs/mythfrontend/playbackbox.h
   trunk/mythtv/programs/mythfrontend/playbackboxlistitem.cpp

Log:

Fix for recstatus update with UPDATE_PROG_INFO conversion.

The problem was that the recstatus is pulled specially from the scheduler when upding a whole list of recordings at once. This adds a method to the scheduler to allow pulling a single recstatus. This also introduces two new MythProto commands, MASTER_UPDATE_PROG_INFO and UPDATE_PROG_FILESIZE. The first is so we can send the update to the master first so it can pull the updated recstatus before sending out UPDATE_PROG_INFO to the frontends. The second makes updating just the filesize more efficient, we update that many more times than we update other components of the ProgramInfo.

There is another problem with playbackbox not updating the color of text in response to a ProgramInfo update. I've worked around it in this commit by resetting the UI text with the updated status, but stuart m will be committing a more efficient solution a little bit later (this workaround is still about 500 times faster than the old code...)






More information about the mythtv-commits mailing list