xbmc/xbmc — pull request #644 by GabrielL (2012-01-20 01:55:57+00:00)
Title: Small Refactor of MarkWatched function and execute it inside a separate job

When marking as watch large directories, xbmc freeze a little. With this patch, the marking are done in the background, in a background task.

Also the first commit push the MarkWatched method in the base class CMediaWindow, mainly because it is used by music navigation and video navigation, but is implemented inside video navigation as a static method.