tsp/xbmc — pull request #16 by fetzerch (2012-05-21 16:32:43+00:00)
Title: pvr: Backend implementation for marking recordings 'watched' / 'unwatched'

This is the mythtv pvr client implementation for setting recordings watched.

The required API has not yet landed in the pvr repo (https://github.com/opdenkamp/xbmc/pull/508).
But being optimistic and hoping that there aren't any further api changes, I'd like to start this PR for discussion.

It might make sense to wait until #508 is merged even though it shouldn't break anything.

The implementation isn't perfect as it creates an additional sql query for the watched status.
Libcmyth should be changed to provide the flag directly. However, I hope we can handle that in a separate PR.