How quick should the scanning be in a 3758 track library ?

I get the below in the scanner.log but 0 seconds for the SmartMix
section sounds a bit too quick ?
I executed this with plugin.smartmix logging set to debug.


Code:
--------------------
    
  [12-12-28 06:17:15.7282] main::main (200) Starting Logitech Media Server 
scanner (v7.7.2, rTRUNK, UNKNOWN) perl 5.008008
  [12-12-28 06:17:16.3989] Slim::Schema::forceCommit (2118) Warning: Trying to 
commit transactions before DB is initialized!
  [12-12-28 06:17:17.5472] Slim::Music::Import::runImporter (485) Starting 
Slim::Media::MediaFolderScan scan
  [12-12-28 06:17:17.5483] Slim::Utils::Scanner::Local::rescan (171) 
Discovering audio files in /mnt/flacmusic
  [12-12-28 06:17:21.3871] Slim::Utils::Scanner::Local::__ANON__ (254) Removing 
deleted audio files (0)
  [12-12-28 06:17:21.3875] Slim::Utils::Scanner::Local::__ANON__ (332) Scanning 
new audio files (3758)
  [12-12-28 06:19:30.1234] Slim::Utils::Scanner::Local::__ANON__ (410) 
Rescanning changed audio files (0)
  [12-12-28 06:19:30.1244] Slim::Music::Import::endImporter (617) Completed 
Slim::Media::MediaFolderScan Scan in 132 seconds.
  [12-12-28 06:19:30.1255] Slim::Music::Import::runImporter (485) Starting 
Slim::Music::PlaylistFolderScan scan
  [12-12-28 06:19:30.1258] Slim::Utils::Scanner::Local::rescan (171) 
Discovering audio files in /home/erland/Configurations/Playlists
  [12-12-28 06:19:30.2392] Slim::Utils::Scanner::Local::__ANON__ (254) Removing 
deleted audio files (0)
  [12-12-28 06:19:30.2396] Slim::Utils::Scanner::Local::__ANON__ (332) Scanning 
new audio files (3)
  [12-12-28 06:19:30.2762] Slim::Utils::Scanner::Local::new (811) Handling new 
playlist file:///home/erland/Configurations/Playlists/Playlist1.m3u
  [12-12-28 06:19:30.4498] Slim::Utils::Scanner::Local::new (811) Handling new 
playlist file:///home/erland/Configurations/Playlists/Playlist2.m3u
  [12-12-28 06:19:30.5004] Slim::Utils::Scanner::Local::new (811) Handling new 
playlist file:///home/erland/Configurations/Playlists/Zapped%20Songs.m3u
  [12-12-28 06:19:30.5059] Slim::Formats::Playlists::Base::playlistEntryIsValid 
(120) Warning: file:///home/erland/Configurations/Playlists/%EF%BB%BF%23EXTM3U 
found in playlist:
  file:///home/erland/Configurations/Playlists/Zapped%20Songs.m3u doesn't exist 
on disk - skipping!
  [12-12-28 06:19:30.5076] Slim::Formats::Playlists::Base::playlistEntryIsValid 
(120) Warning: file:///mnt/flacmusic/%EF%BB%BF%23EXTM3U found in playlist:
  file:///home/erland/Configurations/Playlists/Zapped%20Songs.m3u doesn't exist 
on disk - skipping!
  [12-12-28 06:19:30.5949] Slim::Utils::Scanner::Local::__ANON__ (410) 
Rescanning changed audio files (0)
  [12-12-28 06:19:30.5954] Slim::Music::Import::runImporter (485) Starting 
Plugins::SmartMix::Importer scan
  [12-12-28 06:19:30.5955] Plugins::SmartMix::Importer::doneScanning (112) 
Finished exporting to Taste Profile
  [12-12-28 06:19:30.5958] Slim::Music::Import::endImporter (617) Completed 
Plugins::SmartMix::Importer Scan in 0 seconds.
  [12-12-28 06:19:30.6582] Slim::Music::Artwork::precacheAllArtwork (447) 
Starting precacheArtwork for 298 albums
  [12-12-28 06:20:06.8141] Slim::Music::Artwork::__ANON__ (552) precacheArtwork 
finished in 36.1494109630585
  [12-12-28 06:20:06.8148] Slim::Music::Import::endImporter (617) Completed 
precacheArtwork Scan in 36 seconds.
  [12-12-28 06:20:06.8972] Slim::Music::Import::runScanPostProcessing (400) 
Starting Database optimization.
  [12-12-28 06:20:26.9174] Slim::Music::Import::endImporter (617) Completed 
dbOptimize Scan in 20 seconds.
  
--------------------


The mixes from the doesn't seem to work, from context menu it always
says that it fails to create the mix and I get things like this in the
log:

Code:
--------------------
    
  [12-12-28 06:30:32.9259] Plugins::SmartMix::Plugin::createMix (344) Starting 
dynamic mix using: {
  artist  => "Christina Aguilera",
  title   => "Reflection",
  trackId => "2c8b7b0f0c3f5f0dff6e68609ee20914",
  }
  [12-12-28 06:30:32.9277] Plugins::SmartMix::API::_debug (286) Async API call: 
GET 
http://developer.echonest.com/api/v4/playlist/dynamic/create?song_id=%3Asong%3A2c8b7b0f0c3f5f0dff6e68609ee20914&limit=true&bucket=id%3Aspotify-WW&bucket=tracks&type=song-radio&api_key=
  [12-12-28 06:30:33.2872] Slim::Menu::TrackInfo::__ANON__ (292) TrackInfo menu 
item "songFileViewer" failed: not an arrayref or hashref
  [12-12-28 06:30:38.8131] Plugins::SmartMix::API::_debug (286) do {
  my $a = bless([
  sub { "???" },
  'fix',
  { params => {}, timeout => 15 },
  "GET",
  
"http://developer.echonest.com/api/v4/playlist/dynamic/create?song_id=%3Asong%3A2c8b7b0f0c3f5f0dff6e68609ee20914&limit=true&bucket=id%3Aspotify-WW&bucket=tracks&type=song-radio&api_key=";,
  "400 Bad Request",
  undef,
  undef,
  undef,
  undef,
  undef,
  undef,
  ], "Slim::Networking::SimpleAsyncHTTP");
  $a->[1] = $a->[0];
  ($a, "400 Bad Request");
  }
  [12-12-28 06:30:38.8134] Plugins::SmartMix::Plugin::_createMixCb (390) Failed 
to create playlist for 'Reflection'.
  [12-12-28 06:30:38.8139] Plugins::SmartMix::Plugin::_createMixCb (391) {
  _smartmix_args => {
  bucket  => ["id:spotify-WW", "tracks"],
  limit   => "true",
  song_id => ":song:2c8b7b0f0c3f5f0dff6e68609ee20914",
  type    => "song-radio",
  },
  }
  
--------------------


And from the My Music/SmartMix menu they also doesn't work but there I
get this in the log:

Code:
--------------------
    
  [12-12-28 06:34:43.8034] Plugins::SmartMix::Plugin::createMix (344) Starting 
dynamic mix using: {
  description => "disco",
  min_danceability => "0.7",
  name => "Let's Dance!",
  "sort" => "tempo-asc",
  type => "artist-description",
  }
  [12-12-28 06:34:43.8052] Plugins::SmartMix::API::_debug (286) Async API call: 
GET 
http://developer.echonest.com/api/v4/playlist/dynamic/create?sort=tempo-asc&min_danceability=0.7&limit=true&bucket=id%3Aspotify-WW&bucket=tracks&type=artist-description&description=disco&api_key=
  [12-12-28 06:34:44.0497] Plugins::SmartMix::API::_debug (286) do {
  my $a = bless([
  sub { "???" },
  'fix',
  { params => {}, timeout => 15 },
  "GET",
  
"http://developer.echonest.com/api/v4/playlist/dynamic/create?sort=tempo-asc&min_danceability=0.7&limit=true&bucket=id%3Aspotify-WW&bucket=tracks&type=artist-description&description=disco&api_key=";,
  "400 Bad Request",
  undef,
  undef,
  undef,
  undef,
  undef,
  undef,
  ], "Slim::Networking::SimpleAsyncHTTP");
  $a->[1] = $a->[0];
  ($a, "400 Bad Request");
  }
  [12-12-28 06:34:44.0500] Plugins::SmartMix::Plugin::_createMixCb (390) Failed 
to create playlist for 'Let's Dance!'.
  [12-12-28 06:34:44.0505] Plugins::SmartMix::Plugin::_createMixCb (391) {
  _smartmix_args => {
  bucket => ["id:spotify-WW", "tracks"],
  description => "disco",
  limit => "true",
  min_danceability => "0.7",
  "sort" => "tempo-asc",
  type => "artist-description",
  },
  }
  
--------------------


------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=97668

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to