[mythtv-firehose] mythtv/fixes/0.24 commit: aac81b74a by Stuart Morgan (stuartm)

MythTV noreply at mythtv.org
Tue Feb 14 16:32:49 UTC 2012


      Author:  Stuart Morgan <smorgan at mythtv.org>
 Change Date:  2012-02-14T04:12:18-08:00
   Push Date:  2012/02/14 08:32:26 -0800
  Repository:  mythtv
      Branch:  fixes/0.24
New Revision:  aac81b74a2d8b79b0c49637fc647f9f1bdf2da7b
   Changeset:  https://github.com/MythTV/mythtv/commit/aac81b74a

Log:

Fix videos not being marked as watched. We had some code to handle in-progress recordings where we didn't have the total number of frames, this used the start/end time of the recording which can't be trusted for video because they are based on the length from downloaded metadata e.g. An episode of Frasier might only be 22 minutes long without adverts but according to the metadata it's 30 minutes. We now trust the totalFrames to be accurate for anything which isn't an in-progress recording.
(cherry picked from commit f53a00f546e2cd90eec7c8c6b3b32559b204a4a6)

Modified:

   mythtv/libs/libmythtv/mythplayer.cpp



More information about the mythtv-firehose mailing list