Index: HTML/Default/pageheader.html =================================================================== --- HTML/Default/pageheader.html (revision 3584) +++ HTML/Default/pageheader.html (working copy) @@ -6,8 +6,24 @@ + [% IF warn %] + + [% END %] + - + Index: HTML/Default/home.html =================================================================== --- HTML/Default/home.html (revision 3584) +++ HTML/Default/home.html (working copy) @@ -1,5 +1,6 @@ [% pageicon = 'home' %] [% pagetitle = "HOME" | string %] + [% bodyscript = 'onload="doLoad();"' %] [% PROCESS pageheader.html %] @@ -12,7 +13,9 @@ - + Index: Slim/Web/Pages.pm =================================================================== --- Slim/Web/Pages.pm (revision 3584) +++ Slim/Web/Pages.pm (working copy) @@ -706,8 +718,10 @@ sub addLibraryStats { my ($params, $genre, $artist, $album) = @_; - return if Slim::Utils::Misc::stillScanning(); - + if (Slim::Music::Import::stillScanning()) { + $params->{'warn'} = 1; + return; + } my $ds = Slim::Music::Info::getCurrentDataStore(); my $find = {}; @@ -1880,10 +1894,6 @@ $params->{'descend'} = $descend; - if (Slim::Music::Import::stillScanning()) { - $params->{'warn'} = 1; - } - # override the template for the playlist case. my $template = $levelInfo->{'browseBodyTemplate'} || 'browsedb.html'; Index: strings.txt =================================================================== --- strings.txt (revision 3584) +++ strings.txt (working copy) @@ -6782,6 +6788,9 @@ PT O SlimServer ainda está a analisar o arquivo musical, portanto é possível que não apareçam ainda alguns items nesta àrea. SE SlimServer läser fortfarande in ditt musikbibliotek, så vissa poster kanske inte visas i det här fältet ännu. +HOME_SCAN_WARNING + EN SlimServer is still scanning your music library, please be patient as this may take a while. + SCAN_CLICK DE Klicken Sie, um ihre Musikverzeichnis direkt zu durchsuchen, DK For at gennemse hele din musiksamling, klik
[% IF song_count %][% "LIBRARY_CONTAINS" | string %] [% album_count %] [% "WITH" | string %] [% song_count %] [% "BY" | string %] [% artist_count %].[% END %][% IF newVersion %]

[% newVersion %][% END %]
+ [% IF warn %]

[% "NOTE" | string %] [% "HOME_SCAN_WARNING" | string %] [% END %] + [% IF song_count %][% "LIBRARY_CONTAINS" | string %] [% album_count %] [% "WITH" | string %] [% song_count %] [% "BY" | string %] [% artist_count %].[% END %][% IF newVersion %]

[% newVersion %][% END %]