Post Reply 
Rescanning Estimate
07-12-2023, 14:37 (This post was last modified: 07-12-2023 14:37 by paultaylor.)
Post: #7
RE: Rescanning Estimate
(07-12-2023 14:05)simoncn Wrote:  Exactly the same applies to any progress bar that MinimServer could create (see below).
No thats incorrect because Minmserver internally knows how it is progressing with the rescan so it can adjust its estimate but SongKong does not and cannot. You could modify rescan to take an argument which is is how many files the calling program expects to be modified but it would only be an estimate and I dont think it should be necessary.

Quote:The cache is read in tandem with scanning the library, so MinimServer does not know how many files have been modified, deleted and added until all files in the library have been scanned. SongKong knows this before the scan starts so it is better able to make this estimate.
Previously it sounded like you used reaching of the cache file to decide what songs to update so I'm not clear why you are reading the cache file if it isn't doing that. If it is doing that I expect the read of the cache occurs very quickly. It should be possible to structure MinimServer so it can do this even if cannot do it currently.

But my general point is that it always make sense for any application itself to estimate task duration,and provide progress update on task. It does not make sense to expect a calling application to make estimate, and it is impossible for calling application to provide actual progress update.

Quote:I am looking into enabling the MinimServer configuration web page to update asynchonously to provide this notification
That is an improvement but this still would not give the user any indication of when it is expected to finish. They would still have to periodically look at the webpage to check if finished without any idea if nearly finished or not, they just wouldn't have to click on the refresh button.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Rescanning Estimate - paultaylor - 06-12-2023, 12:59
RE: Rescanning Estimate - simoncn - 06-12-2023, 17:03
RE: Rescanning Estimate - paultaylor - 06-12-2023, 20:40
RE: Rescanning Estimate - simoncn - 07-12-2023, 11:06
RE: Rescanning Estimate - paultaylor - 07-12-2023, 13:31
RE: Rescanning Estimate - simoncn - 07-12-2023, 14:05
RE: Rescanning Estimate - paultaylor - 07-12-2023 14:37
RE: Rescanning Estimate - simoncn - 07-12-2023, 17:54
RE: Rescanning Estimate - paultaylor - 07-12-2023, 18:54
RE: Rescanning Estimate - MiniMe - 11-12-2023, 23:39
RE: Rescanning Estimate - steamfan - 13-12-2023, 07:46
RE: Rescanning Estimate - paultaylor - 13-12-2023, 10:26
RE: Rescanning Estimate - paultaylor - 13-12-2023, 21:23
RE: Rescanning Estimate - simoncn - 14-04-2024, 22:31

Forum Jump:


User(s) browsing this thread: 1 Guest(s)