Added last and stream_batch collections management
Changed size of the batch
Added time to last collection
time changed to mtime in last collection
Added mongo server address
Now 5 stream_batches collections are being formed. Added script to fill all batches collections
Content type ratio in stream changed to uniform
The Others genre is now being filtered from getting to stream
Sort stream collection by timeAdded for filling batches
Sort stream collection asc to fill last and batches
The document is now being removed from temp collection if it is not of appropriate genre
The ratio of content types is being changed to prevent repetitions
Added php file which removes broken videos from all collections except batches
Small bug in deleteBrokenVideosFromStream.php fixed
fgets changed to fgetcsv in deleteBrokenVideosFromStream.php
bug fixed
Some notations changed in general, stream and temp collections
Added some echoes with debug info
Execution breaks if there are no more elements in all collections
field updatedAt is being updated in general after getting to stream