Reset song count when indexing starts
This commit is contained in:
parent
d1d12aecc5
commit
5a5f696366
1 changed files with 1 additions and 0 deletions
|
@ -208,6 +208,7 @@ impl Scanner {
|
|||
let mut status = self.status.write().await;
|
||||
status.last_start_time = Some(SystemTime::now());
|
||||
status.state = State::InProgress;
|
||||
status.num_songs_indexed = 0;
|
||||
}
|
||||
|
||||
let was_empty = self.index_manager.is_index_empty().await;
|
||||
|
|
Loading…
Add table
Reference in a new issue