Igor Katson
aec1b94544
No sleeps, wait properly now
2024-05-02 12:29:46 +04:00
Igor Katson
e3254f97bf
E2E streaming test
2024-05-02 12:29:46 +04:00
Igor Katson
f466facd1a
Small tweaks
2024-05-02 12:29:46 +04:00
Igor Katson
cd33f99352
Move files around a bit
2024-05-02 12:29:46 +04:00
Igor Katson
f2ae2f67f4
Custom storage example
2024-05-02 12:29:46 +04:00
Igor Katson
6c3dfbc52f
Add storage example
2024-05-02 12:29:46 +04:00
Igor Katson
3e37b4698f
remove impl for box dyn storage
2024-05-02 12:29:46 +04:00
Igor Katson
dc137c075f
Move to storage folder
2024-05-02 12:29:46 +04:00
Igor Katson
c6a8761a8d
Move storage to mod.rs
2024-05-02 12:29:46 +04:00
Igor Katson
67c22c9313
It compiles now
2024-05-02 12:29:46 +04:00
Igor Katson
42bbf84ea5
Fixing up initialization to allow passing in custom storages
2024-05-02 12:29:46 +04:00
Igor Katson
1b49257019
Storages
2024-05-02 12:29:46 +04:00
Igor Katson
609f9d92ae
Remove outdated comment
2024-05-02 09:11:45 +01:00
Igor Katson
d2e37ead51
Download speed: dont lag behind disk
2024-05-02 09:10:36 +01:00
Igor Katson
648c4edf71
Add explanation to peer semaphore
2024-05-02 09:04:57 +01:00
Igor Katson
04d8b5f7c8
128 works even better
2024-05-01 15:55:55 +04:00
Igor Katson
371d1ff927
Bump up peer semaphore
2024-05-01 15:55:55 +04:00
Igor Katson
5cac8ac02c
fix after rebase on remove-reopen
2024-05-01 00:43:51 +04:00
Igor Katson
4a73739871
Force set file length on stream
2024-05-01 00:43:51 +04:00
Igor Katson
0ebd4aa128
Force set file length on stream
2024-05-01 00:43:51 +04:00
Igor Katson
ea2dfd0500
update URL for streams
2024-05-01 00:43:51 +04:00
Igor Katson
6a9578cc0b
Fix a bug
2024-05-01 00:43:51 +04:00
Igor Katson
867785422c
update a cuople error messages
2024-05-01 00:43:51 +04:00
Igor Katson
82f8b0932c
Patch in some changes from another branch
2024-05-01 00:43:51 +04:00
Igor Katson
9474a6d52e
Works pretty well now!
2024-05-01 00:43:51 +04:00
Igor Katson
ffc662e370
Less spammy log message
2024-05-01 00:43:51 +04:00
Igor Katson
5ffe2d59b7
Fix streaming logic
2024-05-01 00:43:51 +04:00
Igor Katson
0a895c5b9c
Update streaming if checks
2024-05-01 00:43:51 +04:00
Igor Katson
94589a21fe
UI link to video files
2024-05-01 00:43:51 +04:00
Igor Katson
f0788f2c4a
Works fine now finally
2024-05-01 00:43:51 +04:00
Igor Katson
7e180c05b3
Fix the bugs
2024-05-01 00:43:51 +04:00
Igor Katson
eadb8872d9
Should be ready to test
2024-05-01 00:43:51 +04:00
Igor Katson
d1c6a5b584
Streaming test
2024-05-01 00:43:51 +04:00
Igor Katson
10974888fa
Streaming test
2024-05-01 00:43:51 +04:00
Igor Katson
dad127e0ea
Do not reopen files back and forth, less bugs
2024-05-01 00:43:51 +04:00
Igor Katson
7c83240a1a
Fix merging DHT and tracker streams
2024-04-29 13:57:29 +01:00
Igor Katson
9590df1122
Fix a bug in stealing code
2024-04-29 12:01:31 +01:00
Igor Katson
3d46d7cb97
Fix clippy lints related to recent bug
2024-04-24 14:19:04 +01:00
Igor Katson
136e8fb953
Bufix: on 32 bit systems bugged narrowing leading to bad checksums
2024-04-23 22:48:29 +01:00
Igor Katson
1001a44a24
Disable trackers propagate
2024-04-23 22:17:15 +01:00
Igor Katson
5dafa81b9e
Fix build on 1.73
2024-04-15 23:41:47 +04:00
Igor Katson
96ae960070
Tiny optimisation
2024-04-15 23:41:47 +04:00
Igor Katson
2a4d9a85d5
Download files in filename priority by default
2024-04-15 23:41:47 +04:00
Igor Katson
e03600c463
Add file priorities.
2024-04-15 23:41:47 +04:00
Igor Katson
0230550ed3
Fix fetched bytes computation to not account for stolen bytes.
2024-04-07 22:45:47 +01:00
Igor Katson
cdbd91b13b
Stats on steals
2024-04-07 22:45:47 +01:00
Igor Katson
6a23f311e1
Send cancellations on steal
2024-04-07 22:45:47 +01:00
Igor Katson
5eb01ac226
Ability to change the list of files at any time, including through UI ( #115 )
...
* Now can update the list of files without pausing/unpausing
* Shrink a few functions
* Reopen write when updating files
* Todos
* opened_file abstraction
* iter_pieces_within iterator
* Simplify iter_pieces_within
* Simplify iter_pieces_within
* Add "iter_file_details"
* temporarily broken: readonly by default
* Live torrent - reopen files
* Reopen files after changing the list
* Now reopening files read only when they are completed
* Fix a bug in opened_file.rs
* update todos
* update help
* Reconnect all peers that are idling
* Add a couple fields to OpenedFile
* Add a couple fields to OpenedFile
* Small cleanups - use the new iterator where possible
* size_of_piece_in_file function
* Updating have
* Include file progress
* Almost nothing
* ugly progress bars
* bad UI, saving
* its not so bad
* Works now
* update progress bar a bit
* Reopen read-only on pause
* Zero bytes isnt too bad! Doesnt break anything
* fix per file progress bars
* progress bar not as ugly anymore?
* ui tweaks
* fix a react bug
* TODO.md update
* Fix js + TODOs
* Compute per-file progress on init
* Fix stats updating live
* Nothing
* Nothing
* cleanup ui a bit
* Nothing
* Final fixes
* Trying to fix rust 1.73
* Sorting filenames
* remove unnecessary indentation
* Remove unnecessary comment
2024-04-06 09:20:03 +01:00
Igor Katson
2fb3da9dc5
Update rust-cache to v2 in github tests to make it faster ( #113 )
2024-04-05 10:52:27 +01:00
Igor Katson
f7b22aa0aa
Comments
2024-03-30 20:46:29 +00:00