Bug 17379 - Scanner progress not reported correctly for shortcuts or links
: Scanner progress not reported correctly for shortcuts or links
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.6.0
: PC Windows XP
: -- normal (vote)
: 7.6.1
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-31 00:31 UTC by Philip Meyer
Modified: 2011-08-04 21:04 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Meyer 2011-07-31 00:31:43 UTC
I have several shortcuts referencing other paths to be scanned.

When I perform a full scan, the scanner treats each shortcut folder as separate discovery/scanning phases.

eg. When a full scan is started, initially it reports:
	Discovering files   (6049 of 6049)   Complete  00:00:14
	Scanning new files   (2836 of 5401)   Running  00:01:09

then it changes to:
	Scanning new files   (5401 of 5401)   Complete  00:02:16
	Discovering files   (7742 of 7742)   Running  00:00:29

It doesn't seem to remember Discovering/Scanning phases that had previously completed - they get replaced, and the times taken for those phases are lost.  This is really confusing to look at whilst it is scanning.

Thus the total time taken for a scan can be completely wrong.
Comment 1 Michael Herger 2011-08-02 23:35:28 UTC
FWIW: I've already fixed a similar issue in 7.7. Following a link is triggering a new scan of the same type, overwriting previous progress information.

In 7.7 I added the scan's root folder to the progress label to make it unique.
Comment 2 Andy Grundman 2011-08-03 21:46:18 UTC
Michael maybe you can backport this?
Comment 3 SVN Bot 2011-08-04 01:19:52 UTC
 == Auto-comment from SVN commit #32969 to the slim repo by mherger ==
 == http://svn.slimdevices.com/slim?view=revision&revision=32969 ==

Bug: 17379
Description: add folder name to progress step name to distinguish multiple runs on different targets.

Phil - could you please test this thoroughly and report back? Thanks!
Comment 4 Michael Herger 2011-08-04 21:04:23 UTC
From the forums I take it this is fixed. Thanks!