Commit graph

27 commits

Author SHA1 Message Date
John Preston
04e3b250e7 Keep track of fully cached media files. 2019-06-04 14:30:44 +03:00
John Preston
2255eb2c68 Show loaded till in playback slider. 2019-06-04 14:30:44 +03:00
John Preston
b2895a39ed Register streaming loaders in Storage::Downloader. 2019-06-04 14:30:43 +03:00
John Preston
cca906d383 Use ready parts from loader in streaming. 2019-06-04 14:30:43 +03:00
John Preston
8704f6efd0 Use simple loader for non-streamable file types. 2019-06-04 14:30:43 +03:00
John Preston
e1114530ab Working code for streaming downloader. 2019-06-04 14:30:43 +03:00
John Preston
27018d94ee Load file parts even when not streaming. 2019-06-04 14:30:43 +03:00
John Preston
1ee4dac4f3 Parse cache entries async. 2019-06-04 14:30:43 +03:00
John Preston
fe15ee742d Track in Reader if it is used in streaming. 2019-06-04 14:30:43 +03:00
John Preston
ebf2a678b1 Use a special FileLoader for streamed documents. 2019-06-04 14:30:43 +03:00
John Preston
08cd46cd4c Fix crash in streaming caching. 2019-04-12 18:49:37 +04:00
John Preston
31dbe2278e Fix possible crash in local file streaming.
Cache file size instead of requesting it from file system each time.
2019-03-20 14:21:50 +04:00
John Preston
9ed064b7fc Fix crash in streaming parts loading. 2019-03-20 13:41:13 +04:00
John Preston
6c382c647c Fix caching of first slice in header. 2019-03-18 11:00:11 +04:00
John Preston
2152fe6a79 Beta version 1.5.17: Improve large file streaming.
Allow header for streaming up to 8 MB.
2019-03-13 20:56:04 +04:00
John Preston
5efe47cfb6 Beta version 1.5.16: Remove streaming logs. 2019-03-12 18:56:35 +04:00
John Preston
2ce4abfdfe Fix crash in media caching. 2019-03-11 12:08:20 +04:00
John Preston
b57b4fa0f8 Fix reading first slice for good header cache. 2019-03-11 12:08:20 +04:00
John Preston
84b09795f3 Store first slice in the header cache key. 2019-03-11 12:08:19 +04:00
John Preston
a59c3da3d0 Cache small files in one value. 2019-03-11 12:08:16 +04:00
John Preston
6887993f92 Report streaming failed. 2019-03-11 12:08:13 +04:00
John Preston
dafa286b18 Show option to download on streaming error. 2019-03-11 12:08:11 +04:00
John Preston
fde8dd9607 Play streaming audio in player. 2019-03-11 12:08:08 +04:00
John Preston
44df10d6cb Improve working with cache in streaming. 2019-03-11 11:49:54 +04:00
John Preston
4636c74586 Remove from memory old file slices. 2019-03-11 11:49:54 +04:00
John Preston
2208621050 First version of caching in media streaming. 2019-03-11 11:49:54 +04:00
John Preston
473e30e594 Basic code for media streaming + testing on music. 2019-03-11 11:49:21 +04:00