/// ------------------------------------------------------------------------------------ private void LoadFile() { if (_mediaFileQueue[0].Length > 0f) { PlayerViewModel.LoadFile(_mediaFileQueue[0].MediaFile, _mediaFileQueue[0].Start, _mediaFileQueue[0].Length); } else { PlayerViewModel.LoadFile(_mediaFileQueue[0].MediaFile); _mediaFileQueue[0].Length = _mediaFileQueue[0].End = PlayerViewModel.GetTotalMediaDuration(); } }