If you guys want to do some experimenting, you can comment out the
various thumbnail options that are created for every image/video. This
is probably the source of most of the slowdown. I think I mentioned
this before, but right now each thumbnail is generated from the
full-res source. Music thumbnails are optimized and are generated from
the next-highest thumbnail size. This will be coming to image/video
thumbs too but I ran out of time.


Code:
--------------------
    
  
  --- Slim/Utils/Scanner/LMS.pm (revision 79850)
  +++ Slim/Utils/Scanner/LMS.pm (local)
  @@ -211,13 +211,13 @@
                ignore_dirs => $ignore_dirs,
                thumbnails => [
                        # DLNA
  -                     { format => 'JPEG', width => 160, height => 160 }, # 
for JPEG_TN
  -                     { format => 'PNG', width => 160, height => 160 },  # 
for PNG_TN
  +#                    { format => 'JPEG', width => 160, height => 160 }, # 
for JPEG_TN
  +#                    { format => 'PNG', width => 160, height => 160 },  # 
for PNG_TN
                        # SP
  -                     { format => 'PNG', width => 41, height => 41 },    # 
jive/baby
  -                     { format => 'PNG', width => 40, height => 40 },    # 
fab4 touch
  +#                    { format => 'PNG', width => 41, height => 41 },    # 
jive/baby
  +#                    { format => 'PNG', width => 40, height => 40 },    # 
fab4 touch
                        # Web UI large thumbnails
  -                     { format => 'PNG', width => $prefs->get('thumbSize') || 
100, height => $prefs->get('thumbSize') || 100 },
  +#                    { format => 'PNG', width => $prefs->get('thumbSize') || 
100, height => $prefs->get('thumbSize') || 100 },
                ],
                on_result => sub {
                        my $result = shift;
  
--------------------


-- 
andyg
------------------------------------------------------------------------
andyg's Profile: http://forums.slimdevices.com/member.php?userid=3292
View this thread: http://forums.slimdevices.com/showthread.php?t=90573

_______________________________________________
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/beta

Reply via email to