fix: scale progress report to percentage.
This commit is contained in:
parent
45844cafec
commit
24b3d41df5
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ namespace Jellyfin.Plugin.SmartPlaylist.ScheduledTasks {
|
|||
await ClearPlaylist(playlist);
|
||||
await _playlistManager.AddItemToPlaylistAsync(playlist.Id, insertItems, playlistLink.UserId);
|
||||
i += 1;
|
||||
progress.Report(((double)i)/dto.Playlists.Count());
|
||||
progress.Report(100 * ((double)i)/dto.Playlists.Count());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue