Bug 14975 - Scanner needs to be faster, smaller and more-reliable for TinySC
: Scanner needs to be faster, smaller and more-reliable for TinySC
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Scanner
: 7.5.0
: PC Other
: P1 critical (vote)
: 7.5.0
Assigned To: Alan Young
: TinySC
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-28 07:28 UTC by Alan Young
Modified: 2010-04-08 17:24 UTC (History)
1 user (show)

See Also:
Category: Feature


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Young 2009-10-28 07:28:17 UTC
Catch-all task for TinySC scanner work
Comment 1 SVN Bot 2009-10-28 07:31:32 UTC
 == Auto-comment from SVN commit #29036 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29036 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Don't use memory for temp DB files.
Comment 2 SVN Bot 2009-10-28 08:54:16 UTC
 == Auto-comment from SVN commit #29041 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29041 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Add profiling hooks
Comment 3 SVN Bot 2009-10-28 08:56:51 UTC
 == Auto-comment from SVN commit #29042 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29042 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Data::Dump only available when DEBUGLOG true
Comment 4 SVN Bot 2009-10-28 09:13:28 UTC
 == Auto-comment from SVN commit #29046 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29046 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Cascade valid-types RE through folderFilter()
Comment 5 SVN Bot 2009-10-30 04:00:15 UTC
 == Auto-comment from SVN commit #29091 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29091 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Make sure --noinfolog & --nodebuglog arguments get consumed.
Comment 6 SVN Bot 2009-10-30 07:09:47 UTC
 == Auto-comment from SVN commit #29095 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29095 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Make maintenance of TrackPersistence optional (controlled by --nostatistics).
Comment 7 SVN Bot 2009-10-30 07:09:55 UTC
 == Auto-comment from SVN commit #7979 to the jive repo by ayoung ==
 == https://svn.slimdevices.com/jive?view=revision&revision=7979 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Make maintenance of TrackPersistence optional (controlled by --nostatistics).
Comment 8 SVN Bot 2009-10-30 07:10:35 UTC
 == Auto-comment from SVN commit #29096 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29096 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Make maintenance of TrackPersistence optional (controlled by --nostatistics).
Comment 9 SVN Bot 2009-10-30 09:57:17 UTC
 == Auto-comment from SVN commit #29097 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29097 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Various optimizations, including caching the DB-handle in Slim::Schema.
Comment 10 SVN Bot 2009-10-30 10:02:04 UTC
 == Auto-comment from SVN commit #29098 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29098 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Fix extra stuff in last checkin
Comment 11 SVN Bot 2009-10-30 19:45:45 UTC
 == Auto-comment from SVN commit #29104 to the slim repo by andy ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29104 ==

Bug 14975, port mergeVA code to native DBI
Comment 12 SVN Bot 2009-10-31 07:11:53 UTC
 == Auto-comment from SVN commit #29108 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29108 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Keep artwork cache with library (possibly actually slower because of sync mount).
Comment 13 SVN Bot 2009-11-01 01:46:41 UTC
 == Auto-comment from SVN commit #29112 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29112 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Pass trackId instead of Track to Slim::Schema::Genre->add();
Use _preCheckAttributes for RemoteTracks objects - should resolve the tag-mapping issues.
Various small changes.
Comment 14 SVN Bot 2009-11-01 03:51:36 UTC
 == Auto-comment from SVN commit #29113 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29113 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Pass track-id instead of Track to Slim::Schema::Contributor->add().
Comment 15 SVN Bot 2009-11-02 10:55:00 UTC
 == Auto-comment from SVN commit #29121 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29121 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Abstract genre-creation into a separate method.
Separate the process of creating Contributor objects from that of the ContributorAlbum and ContributorTrack links.
Lots of other small refactoring in _postCheckAttrinutes.
Comment 16 SVN Bot 2009-11-02 18:19:19 UTC
 == Auto-comment from SVN commit #29138 to the slim repo by andy ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29138 ==

Bug 14975, some fixes to the artwork caching so all tracks on an album get the same coverid.  Switched to native DBI for precaching code
Comment 17 SVN Bot 2009-11-02 19:02:44 UTC
 == Auto-comment from SVN commit #29139 to the slim repo by andy ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29139 ==

Bug 14975, Add series resizing mode where a single image is resized to sequentially smaller thumbnails, speeding up thumbnail creation by 3-4x for our set of 5 thumbnails. Still need to hook this up to the Artwork code
Comment 18 SVN Bot 2009-11-03 07:55:46 UTC
 == Auto-comment from SVN commit #29141 to the slim repo by andy ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29141 ==

Bug 14975, move precacheArtwork to use ImageResizer's series mode directly, no more going through Web::Graphics
Comment 19 Alan Young 2009-11-03 21:44:47 UTC
Update hours.
Comment 20 SVN Bot 2009-11-03 22:44:24 UTC
 == Auto-comment from SVN commit #29151 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29151 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Significant refactoring - can no create a new track without instantiating a Track object.

_createOrUpdate album need to be updated so that Album objects do not need to be instantiated and the  scanner need to use updateOrCreateBase()
Comment 21 SVN Bot 2009-11-05 12:38:23 UTC
 == Auto-comment from SVN commit #29174 to the slim repo by andy ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29174 ==

Bug 14975, large scanner performance boost by not creating/updating DBIC objects in Scanner::Local
Comment 22 SVN Bot 2009-11-05 13:18:24 UTC
 == Auto-comment from SVN commit #29175 to the slim repo by andy ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29175 ==

Bug 14975, another huge improvement by moving TrackPersistent code during _createTrack to native DBI
Comment 23 SVN Bot 2009-11-05 23:33:30 UTC
 == Auto-comment from SVN commit #29178 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29178 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Add main::DEBUGLOG to some debug statements.
Comment 24 SVN Bot 2009-11-06 00:11:35 UTC
 == Auto-comment from SVN commit #29179 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29179 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Use filepath instead of URL for type cache to improve cache hit rate.
Comment 25 SVN Bot 2009-11-06 01:26:50 UTC
 == Auto-comment from SVN commit #29180 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29180 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Use filepath instead of URL for type cache to improve cache hit rate (missed a line).
Comment 26 SVN Bot 2009-11-06 02:25:39 UTC
 == Auto-comment from SVN commit #29181 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29181 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Small performance fix in readTags.
Comment 27 SVN Bot 2009-11-06 05:29:22 UTC
 == Auto-comment from SVN commit #29183 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29183 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Numerous small optimizations
Comment 28 SVN Bot 2009-11-06 12:58:10 UTC
 == Auto-comment from SVN commit #29189 to the slim repo by andy ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29189 ==

Bug 14975, another huge performance boost by porting album code to native DBI.  There should now be *no* DBIC used while scanning new tracks
Comment 29 SVN Bot 2009-11-07 00:43:50 UTC
 == Auto-comment from SVN commit #29194 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29194 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Allow $_unknownAlbum to get id 0.
Comment 30 SVN Bot 2009-11-13 02:54:07 UTC
 == Auto-comment from SVN commit #29252 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29252 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Add demon for scanner resizing.
Comment 31 SVN Bot 2009-11-13 03:49:34 UTC
 == Auto-comment from SVN commit #29253 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29253 ==

bug 14975: gdresized
Tidy up termination.
Make executable.
Comment 32 SVN Bot 2009-11-13 06:04:17 UTC
 == Auto-comment from SVN commit #29255 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29255 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Rename ImageResizer to GDResizer
Comment 33 Alan Young 2009-11-13 08:04:22 UTC
Just a little more optimization to do.
Comment 34 SVN Bot 2009-11-14 01:20:27 UTC
 == Auto-comment from SVN commit #29262 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29262 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Try going back to in-process resizing.
Comment 35 SVN Bot 2009-11-14 03:47:40 UTC
 == Auto-comment from SVN commit #29264 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29264 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Use copy of some code from Slim::bootstrap and don't use Getopt::Long to cut down on memory overhead.
Comment 36 SVN Bot 2009-11-18 04:19:41 UTC
 == Auto-comment from SVN commit #29312 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29312 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Use periodic commits to reduce unnecessary memory growth.
Comment 37 SVN Bot 2009-11-18 04:37:56 UTC
 == Auto-comment from SVN commit #29314 to the slim repo by ayoung ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29314 ==

bug 14975: Scanner needs to be faster, smaller and more-reliable for TinySC 
Precache fewer artwork images for TinySC.
Comment 38 SVN Bot 2009-11-19 23:39:00 UTC
 == Auto-comment from SVN commit #29365 to the slim repo by michael ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29365 ==

Bug: 14975
Description: add some of Windows' bulky system folders to the ignore list. We don't want them to be scanned. Unfortunately we can't add Recycler and some of the other special folders, as bands with that name exist...
Comment 39 Alan Young 2009-11-20 04:37:39 UTC
No more planned in this area
Comment 40 SVN Bot 2009-11-23 04:28:41 UTC
 == Auto-comment from SVN commit #29416 to the slim repo by michael ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29416 ==

Bug: 14975
Description: add all uppercase RECYCLER folder to blacklist. This is XP's recycle bin. If you love the group called Recycler, don't spell it all uppercase.
Comment 41 Chris Owens 2010-04-08 17:24:23 UTC
This bug has been marked fixed in a released version of Squeezebox Server or the accompanying firmware or mysqueezebox.com release.

If you are still seeing this issue, please let us know!