[mythtv-firehose] mythtv branch fixes/0.28 updated by bmeek. v0.28-rc1-22-g0cb768b

Git Repo Owner noreply at mythtv.org
Wed Apr 6 23:36:32 UTC 2016


The branch, fixes/0.28 has been updated on the
mythtv repository by gitolite user bmeek.
       via  0cb768b734545713c767f60fcda99656674acb1a (commit)
      from  7c6bfc081609c545e3b7c923f0db4f708a7c1649 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0cb768b734545713c767f60fcda99656674acb1a
Author:    Bill Meek <bmeek at mythtv.org> at Wed, 6 Apr 2016 18:31:59 -0500
Committer: Bill Meek <bmeek at mythtv.org> at Wed, 6 Apr 2016 18:36:21 -0500
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=0cb768b734545713c767f60fcda99656674acb1a

Services API: Video::UpdateVideoWatchedStatus can create empty DB rows
loadOneFromDatabase()'s result is checked to verify that the Video's
Id is valid. However, invalid Ids pass too. Then UpdateDatabase()
is called and an empty record is inserted into videometadata. Using
loadAllFromDatabase(), which is called loadOneFromDatabase() too,
allows a valid check of !metadata and now returns a 501 error.

(cherry picked from commit 5ca0ddeab014daaaa2d7e8eeb5bbf6b095202a86)



-----------------------------------------------------------------------

Summary of changes:
 mythtv/programs/mythbackend/services/video.cpp |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

-- 



More information about the mythtv-firehose mailing list