mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
clear ffp stat after preload
This commit is contained in:
@@ -43,6 +43,9 @@ func (t *Torrent) Preload(index int, size int64) {
|
||||
defer func() {
|
||||
if t.Stat == state.TorrentPreload {
|
||||
t.Stat = state.TorrentWorking
|
||||
// Очистка по окончании прелоада
|
||||
t.BitRate = ""
|
||||
t.DurationSeconds = 0
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user