[Android Apps and Games] Master255:
The world community can sleep peacefully. The implementation and adaptation of the chunks was successful! Urgently buy USB flash drives in TVs and SD cards in phones! And preferably 256GB or so. Since the films are now huge at 80GB ..

This release completely redesigned the logic for storing data in the cache.

Now there are two kinds of files: integers and chunks. Chunks are cut whole files. Full chunks can be played in exactly the same way as a single file.

The speedometer showed a significant increase in recording speed if recorded in different files and multithreaded. Without this, you can forget about writing cache to external drives. Well, at least to files that are about large 5-10GB .. In this case, the speed increases already on files more than 200MB .. So this will be the default setting.

Finally, a new feature has appeared - file size comparison in the cache and on the network. Previously, there was a problem in that movies with HDVideobox had the same name, for example, “1080.mp4” and the file was played from the cache, even if the movie on the server was of a different size. Now, before downloading, the size is compared and if it does not match, then the local file \ chunks is overwritten.

Due to the new feature, you can now not overwrite files by their size, but overwrite the cache by its maximum size. Chunks, if not even downloaded completely, can be used and downloaded. For example, a 4k movie, accidentally turned on for 10 minutes and turned off, will weigh several gigabytes in the cache and this cache will be used during repeated playback.

On swipe to the right, a mechanism for joining chunks to a file appeared in the playlist. It is very convenient if you need to connect and send something. There is also an automatic connection function, but there are problems with it. It’s not possible to simply take and merge files in Android. Therefore, the player takes the first chunk and copies the other chunks into it. It turns out double-writing the file to disk. Whatever this is, you can uncheck the automatic file connection.

The player is smart - if there is one chunk, then it renames it into a finished file.

It is very interesting to observe the multi-threaded operation of the player by the size of chunks. There sometimes 5 files are written. Streams that download data - they also write to disk. So there are no more threads. They have become smarter.

The default settings for chunks are recommended. The default settings for new features for users updating the application are not being tightened yet. This is temporary. Therefore, you can configure or reset the application memory and get the "factory" settings.

Due to the sharply increased number of use cases and various combinations of checkmarks / protocols, bugs are possible. But if they are, then some small ones that I can correct during the day. Therefore, the algorithms will improve and adapt, as it always has been.

For tests of chunks - in the demo site in the wanted directory is the movie "The First Player Will Get Ready". Cinema 4k, weighs 71GB. Anyone can turn it on. In this case, the speed of the Internet is not important, since you can pause and wait for resumes, and it does not matter how much free space is available - the disk will be saved, only the size of the downloaded traffic.