FernetMenta / vdr-plugin-vnsiserver

VDR plugin to handle XBMC clients.
GNU General Public License v2.0
17 stars 33 forks source link

Speed up larger recording updates #109

Closed mglae closed 6 years ago

mglae commented 6 years ago

While VDR's cVideoDirectoryScannerThread is running, clients may be requested to reload recording list multiple times. This change only requests one update.

In my test case a tree with 650 recordings was mounted to the local video directory. Forcing an update took about 15 seconds. With one local VNSI client attached the time increased to more than five minutes.

With this PR the update process is not delayed and reloading the recording list is requested after that.

PR is only build tested with VDR 2.2.0

FernetMenta commented 6 years ago

thanks