public Pool(PoolConfiguration poolConfiguration, IVideoScanner videoScanner, IRandomProvider randomProvider)
        {
            VideoDirectories = new List<VideoDirectory>();
            Videos = new List<Video>();

            _randomProvider = randomProvider;

            CurrentVideoDirectoryIndex = 0;
            _videoScanner = videoScanner;
            PoolConfiguration = poolConfiguration;
            InitializePool();
        }
 public PlaylistConfigurationBuilder WithPool(PoolConfiguration poolConfiguration)
 {
     _instance.PoolConfigurations.Add(poolConfiguration);
     return this;
 }