Bug Fixes

fixed error when files are empty and added calculating total play time
on kick and server stop.