[272 Debug 22:45:19.478] (libbanshee:player) [Gapless] Requesting next track
[4 Debug 22:45:19.478] Executed in 1ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID FROM CoreTracks,CoreArtists,CoreAlbums WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.TrackID = 11439
[4 Debug 22:45:19.479] Executed in 1ms UPDATE CoreTracks SET Rating = 5,LastStreamError = 0,PrimarySourceID = 1,ArtistID = 1593,AlbumID = 2147,TagSetID = 0,MusicBrainzID = NULL,MimeType = 'taglib/flac',FileSize = 2262574,FileModifiedStamp = 1329421927,LastSyncedStamp = 1358365833,Attributes = 5,Title = '29-Re-Cap',TitleSort = NULL,MetadataHash = 'acff751bca39b0b3eed7ba7892454876',TrackNumber = 0,TrackCount = 0,Disc = 0,DiscCount = 0,Duration = 36453,Year = 0,Genre = NULL,Composer = NULL,Conductor = NULL,Grouping = NULL,Copyright = NULL,LicenseUri = NULL,Comment = NULL,BPM = 0,BitRate = 494,SampleRate = 44100,BitsPerSample = 16,Score = 40,PlayCount = 5,SkipCount = 0,ExternalID = 0,LastPlayedStamp = 1364417119,LastSkippedStamp = NULL,DateAddedStamp = 1358365833,DateUpdatedStamp = 1358365833,Uri = 'file:///home/username/My%20Music/Bear%20McCreary/Battlestar%20Galactica/29-Re-Cap.flac',TitleSortKey = X'0C330CB40E8A0E210E0A0E020E7E01010101800F06828017068200',TitleLowered = '29-re-cap' WHERE TrackID = 11439
[1 Warn  22:45:19.481] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:19.483] Executed in 2ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 61, 100
[1 Warn  22:45:19.498] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:19.501] Executed in 3ms SELECT CoreAlbums.AlbumID,CoreAlbums.ArtistID,CoreAlbums.MusicBrainzID,CoreAlbums.ReleaseDate,CoreAlbums.ArtworkID,CoreAlbums.IsCompilation,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort , OrderID, CoreCache.ItemID FROM CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreAlbums.AlbumID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 17   LIMIT 0, 40
[1 Warn  22:45:19.504] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:19.507] Executed in 3ms SELECT CoreArtists.ArtistID,CoreArtists.Name,CoreArtists.NameSort,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreArtists
                        INNER JOIN CoreCache
                            ON CoreArtists.ArtistID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 15   LIMIT 0, 40
[4 Debug 22:45:19.649] Executed in 18ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 3;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 3 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363808263) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 3)))  
[4 Debug 22:45:19.663] Executed in 14ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3 
[4 Debug 22:45:19.683] Executed in 20ms 
                    DELETE FROM CoreCache WHERE ModelID = 45;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 45, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:19.683] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:19.694] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 41;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 41, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 45 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:19.699] Executed in 4ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 41
[4 Debug 22:45:19.699] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:19.699] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:19.709] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 35;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 35, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:19.714] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 35
[4 Debug 22:45:19.714] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:19.714] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:19.725] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 37;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 37, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:19.729] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 37
[4 Debug 22:45:19.730] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:19.730] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:19.754] Executed in 24ms 
                    DELETE FROM CoreCache WHERE ModelID = 43;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 43, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:19.759] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 43
[4 Debug 22:45:19.759] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:19.759] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:19.770] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 39;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 39, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 45 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:19.774] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 39
[4 Debug 22:45:19.775] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:19.780] Executed in 6ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 45)
[4 Debug 22:45:19.782] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recent Favorites',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-604800</date></lessThan><greaterThan><field name="playcount" /><int>3</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 49,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 3
[4 Debug 22:45:19.802] Executed in 20ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 5;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 5 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363203463) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 0)))  
[4 Debug 22:45:19.817] Executed in 15ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5 
[4 Debug 22:45:19.838] Executed in 21ms 
                    DELETE FROM CoreCache WHERE ModelID = 69;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 69, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:19.838] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:19.849] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 65;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 65, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 69 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:19.854] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 65
[4 Debug 22:45:19.854] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:19.854] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:19.865] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 59;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 59, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:19.870] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 59
[4 Debug 22:45:19.871] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:19.871] Executed in 1ms BEGIN TRANSACTION
[4 Debug 22:45:19.882] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 61;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 61, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:19.886] Executed in 4ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 61
[4 Debug 22:45:19.887] Executed in 1ms COMMIT TRANSACTION
[4 Debug 22:45:19.887] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:19.911] Executed in 24ms 
                    DELETE FROM CoreCache WHERE ModelID = 67;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 67, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:19.916] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 67
[4 Debug 22:45:19.917] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:19.917] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:19.928] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 63;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 63, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 69 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:19.933] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 63
[4 Debug 22:45:19.933] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:19.939] Executed in 6ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 69)
[4 Debug 22:45:19.941] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recently Played',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-1209600</date></lessThan><greaterThan><field name="playcount" /><int>0</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 320,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 5
[272 Debug 22:45:19.944] Starting - Saving Metadata to File
[1 Debug 22:45:19.950] Querying model for track to play in off:Next mode
[1 Warn  22:45:19.951] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:19.953] Executed in 9ms SELECT COUNT(*) FROM CoreTracks WHERE (DateUpdatedStamp > LastSyncedStamp OR
                  (DateUpdatedStamp IS NOT NULL AND LastSyncedStamp IS NULL))
                  AND PrimarySourceID IN (1,2)
                  AND CoreTracks.Uri LIKE 'file:%'
[453 Debug 22:45:19.953] Finished - Saving Metadata to File
[4 Debug 22:45:19.953] Executed in 0ms 
                    SELECT OrderID FROM CoreCache
                        WHERE
                            ModelID = 83 AND
                            ItemID = '11439'
[1 Warn  22:45:19.953] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:19.953] Executed in 0ms SELECT OrderID FROM CoreCache WHERE ModelID = 83 LIMIT 1
[1 Debug 22:45:19.962] (libbanshee:player) [gapless] Triggering track-change signal
[1 Warn  22:45:19.962] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:19.962] Executed in 0ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID FROM CoreTracks,CoreArtists,CoreAlbums WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.TrackID = 11439
[1 Warn  22:45:19.962] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:19.963] Executed in 1ms UPDATE CoreTracks SET Rating = 5,LastStreamError = 0,PrimarySourceID = 1,ArtistID = 1593,AlbumID = 2147,TagSetID = 0,MusicBrainzID = NULL,MimeType = 'taglib/flac',FileSize = 2262574,FileModifiedStamp = 1329421927,LastSyncedStamp = 1358365833,Attributes = 5,Title = '29-Re-Cap',TitleSort = NULL,MetadataHash = 'acff751bca39b0b3eed7ba7892454876',TrackNumber = 0,TrackCount = 0,Disc = 0,DiscCount = 0,Duration = 36453,Year = 0,Genre = NULL,Composer = NULL,Conductor = NULL,Grouping = NULL,Copyright = NULL,LicenseUri = NULL,Comment = NULL,BPM = 0,BitRate = 494,SampleRate = 44100,BitsPerSample = 16,Score = 50,PlayCount = 6,SkipCount = 0,ExternalID = 0,LastPlayedStamp = 1364417119,LastSkippedStamp = NULL,DateAddedStamp = 1358365833,DateUpdatedStamp = 1358365833,Uri = 'file:///home/username/My%20Music/Bear%20McCreary/Battlestar%20Galactica/29-Re-Cap.flac',TitleSortKey = X'0C330CB40E8A0E210E0A0E020E7E01010101800F06828017068200',TitleLowered = '29-re-cap' WHERE TrackID = 11439
[1 Debug 22:45:19.964] OnEventChanged called with StartOfStream.  Replacing current_track with pending_track: "All That Love's About"
[1 Warn  22:45:19.964] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:19.972] Executed in 3ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 70, 100
[1 Warn  22:45:19.979] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:19.979] Executed in 1ms 
                    SELECT OrderID FROM CoreCache
                        WHERE
                            ModelID = 83 AND
                            ItemID = '10160'
[1 Warn  22:45:19.979] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:19.979] Executed in 0ms SELECT OrderID FROM CoreCache WHERE ModelID = 83 LIMIT 1
[1 Warn  22:45:19.981] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:19.982] Executed in 1ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 62, 100
[1 Warn  22:45:19.991] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:19.994] Executed in 3ms SELECT CoreAlbums.AlbumID,CoreAlbums.ArtistID,CoreAlbums.MusicBrainzID,CoreAlbums.ReleaseDate,CoreAlbums.ArtworkID,CoreAlbums.IsCompilation,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort , OrderID, CoreCache.ItemID FROM CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreAlbums.AlbumID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 17   LIMIT 0, 40
[1 Warn  22:45:19.998] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:20.000] Executed in 2ms SELECT CoreArtists.ArtistID,CoreArtists.Name,CoreArtists.NameSort,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreArtists
                        INNER JOIN CoreCache
                            ON CoreArtists.ArtistID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 15   LIMIT 0, 40
[4 Debug 22:45:20.144] Executed in 23ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 3;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 3 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363808263) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 3)))  
[4 Debug 22:45:20.169] Executed in 25ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3 
[7 Debug 22:45:20.171] (libbanshee:player) [Gapless] Requesting next track
[4 Debug 22:45:20.189] Executed in 20ms 
                    DELETE FROM CoreCache WHERE ModelID = 45;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 45, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:20.190] Executed in 0ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID FROM CoreTracks,CoreArtists,CoreAlbums WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.TrackID = 10160
[4 Debug 22:45:20.190] Executed in 1ms BEGIN TRANSACTION
[4 Debug 22:45:20.200] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 41;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 41, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 45 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:20.205] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 41
[4 Debug 22:45:20.205] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.206] Executed in 1ms UPDATE CoreTracks SET Rating = 4,LastStreamError = 0,PrimarySourceID = 1,ArtistID = 2360,AlbumID = 2447,TagSetID = 0,MusicBrainzID = NULL,MimeType = 'taglib/mp3',FileSize = 869802,FileModifiedStamp = 1334593513,LastSyncedStamp = 1358365182,Attributes = 5,Title = 'All That Love''s About',TitleSort = NULL,MetadataHash = 'a9de37be2cfcae5e4251e021c9ad1829',TrackNumber = 24,TrackCount = 38,Disc = 0,DiscCount = 0,Duration = 37224,Year = 2008,Genre = 'Soundtrack',Composer = NULL,Conductor = NULL,Grouping = NULL,Copyright = NULL,LicenseUri = NULL,Comment = NULL,BPM = 0,BitRate = 186,SampleRate = 44100,BitsPerSample = 0,Score = 100,PlayCount = 1,SkipCount = 0,ExternalID = 0,LastPlayedStamp = 1364417120,LastSkippedStamp = NULL,DateAddedStamp = 1358365182,DateUpdatedStamp = 1358365182,Uri = 'file:///home/username/My%20Music/Thomas%20Newman/Wall-E/24.%20All%20That%20Love''s%20About.mp3',TitleSortKey = X'0E020E480E4807020E990E2C0E020E9907020E480E7C0EA20E210E9107020E020E090E7C0E9F0E9901010101803B068000',TitleLowered = 'all that loves about' WHERE TrackID = 10160
[4 Debug 22:45:20.206] Executed in 0ms BEGIN TRANSACTION
[1 Warn  22:45:20.209] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:20.217] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 35;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 35, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:20.222] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 35
[4 Debug 22:45:20.222] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.224] Executed in 2ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 62, 100
[4 Debug 22:45:20.224] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.235] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 37;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 37, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[1 Warn  22:45:20.237] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:20.240] Executed in 6ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 37
[4 Debug 22:45:20.240] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.242] Executed in 2ms SELECT CoreAlbums.AlbumID,CoreAlbums.ArtistID,CoreAlbums.MusicBrainzID,CoreAlbums.ReleaseDate,CoreAlbums.ArtworkID,CoreAlbums.IsCompilation,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort , OrderID, CoreCache.ItemID FROM CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreAlbums.AlbumID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 17   LIMIT 0, 40
[4 Debug 22:45:20.242] Executed in 0ms BEGIN TRANSACTION
[1 Warn  22:45:20.247] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:20.268] Executed in 26ms 
                    DELETE FROM CoreCache WHERE ModelID = 43;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 43, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:20.273] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 43
[4 Debug 22:45:20.273] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.276] Executed in 2ms SELECT CoreArtists.ArtistID,CoreArtists.Name,CoreArtists.NameSort,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreArtists
                        INNER JOIN CoreCache
                            ON CoreArtists.ArtistID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 15   LIMIT 0, 40
[4 Debug 22:45:20.276] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.288] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 39;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 39, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 45 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:20.293] Executed in 4ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 39
[4 Debug 22:45:20.293] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.298] Executed in 5ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 45)
[4 Debug 22:45:20.300] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recent Favorites',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-604800</date></lessThan><greaterThan><field name="playcount" /><int>3</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 49,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 3
[4 Debug 22:45:20.318] Executed in 17ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 5;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 5 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363203463) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 0)))  
[4 Debug 22:45:20.334] Executed in 16ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5 
[4 Debug 22:45:20.355] Executed in 21ms 
                    DELETE FROM CoreCache WHERE ModelID = 69;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 69, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:20.355] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.366] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 65;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 65, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 69 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:20.371] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 65
[4 Debug 22:45:20.371] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.387] Executed in 16ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 3;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 3 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363808263) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 3)))  
[4 Debug 22:45:20.387] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.398] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 59;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 59, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:20.403] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 59
[4 Debug 22:45:20.403] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.420] Executed in 16ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3 
[4 Debug 22:45:20.420] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.431] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 61;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 61, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:20.436] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 61
[4 Debug 22:45:20.436] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.456] Executed in 20ms 
                    DELETE FROM CoreCache WHERE ModelID = 45;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 45, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:20.456] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.481] Executed in 25ms 
                    DELETE FROM CoreCache WHERE ModelID = 67;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 67, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:20.486] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 67
[4 Debug 22:45:20.487] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.487] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.497] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 41;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 41, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 45 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:20.502] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 41
[4 Debug 22:45:20.502] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.502] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.513] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 63;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 63, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 69 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:20.518] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 63
[4 Debug 22:45:20.518] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.518] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.529] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 35;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 35, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:20.534] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 35
[4 Debug 22:45:20.534] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.540] Executed in 6ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 69)
[4 Debug 22:45:20.540] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.552] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 37;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 37, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:20.557] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 37
[4 Debug 22:45:20.557] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.557] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recently Played',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-1209600</date></lessThan><greaterThan><field name="playcount" /><int>0</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 320,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 5
[4 Debug 22:45:20.557] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.582] Executed in 25ms 
                    DELETE FROM CoreCache WHERE ModelID = 43;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 43, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:20.587] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 43
[4 Debug 22:45:20.587] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.636] Executed in 49ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 6;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 6 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount = 0) And (CoreTracks.SkipCount IS NOT NULL AND CoreTracks.SkipCount = 0)))  
[4 Debug 22:45:20.636] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.647] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 39;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 39, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 45 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:20.652] Executed in 4ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 39
[4 Debug 22:45:20.652] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.658] Executed in 5ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 45)
[4 Debug 22:45:20.680] Executed in 22ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 6 
[4 Debug 22:45:20.680] Executed in 1ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recent Favorites',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-604800</date></lessThan><greaterThan><field name="playcount" /><int>3</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 49,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 3
[4 Debug 22:45:20.723] Executed in 43ms 
                    DELETE FROM CoreCache WHERE ModelID = 81;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 81, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 6  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:20.739] Executed in 16ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 5;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 5 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363203463) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 0)))  
[4 Debug 22:45:20.739] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.759] Executed in 20ms 
                    DELETE FROM CoreCache WHERE ModelID = 77;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 77, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 81 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:20.764] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 77
[4 Debug 22:45:20.764] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.780] Executed in 16ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5 
[4 Debug 22:45:20.781] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.811] Executed in 31ms 
                    DELETE FROM CoreCache WHERE ModelID = 71;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 71, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 81 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:20.816] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 71
[4 Debug 22:45:20.816] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.837] Executed in 20ms 
                    DELETE FROM CoreCache WHERE ModelID = 69;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 69, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:20.837] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.863] Executed in 26ms 
                    DELETE FROM CoreCache WHERE ModelID = 73;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 73, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 81 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:20.868] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 73
[4 Debug 22:45:20.868] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.868] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.887] Executed in 19ms 
                    DELETE FROM CoreCache WHERE ModelID = 65;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 65, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 69 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:20.892] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 65
[4 Debug 22:45:20.892] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.892] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.926] Executed in 34ms 
                    DELETE FROM CoreCache WHERE ModelID = 79;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 79, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 81 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:20.931] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 79
[4 Debug 22:45:20.931] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.932] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.943] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 59;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 59, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:20.948] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 59
[4 Debug 22:45:20.949] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.949] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:20.977] Executed in 28ms 
                    DELETE FROM CoreCache WHERE ModelID = 75;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 75, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 81 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:20.983] Executed in 4ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 75
[4 Debug 22:45:20.983] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:20.983] Executed in 0ms BEGIN TRANSACTION
[1 Debug 22:45:20.985] TrackInfoDisplay RenderAnimation: 30.00 FPS
[4 Debug 22:45:20.995] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 61;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 61, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:21.001] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 61
[4 Debug 22:45:21.001] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.021] Executed in 20ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 81)
[4 Debug 22:45:21.021] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.048] Executed in 26ms 
                    DELETE FROM CoreCache WHERE ModelID = 67;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 67, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:21.053] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 67
[4 Debug 22:45:21.053] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.053] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Unheard',
                        Condition = '<request><query banshee-version="1"><and><equals><field name="playcount" /><int>0</int></equals><equals><field name="skipcount" /><int>0</int></equals></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 7042,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 6
[4 Debug 22:45:21.053] Executed in 0ms BEGIN TRANSACTION
[454 Debug 22:45:21.055] Starting - Saving Metadata to File
[4 Debug 22:45:21.066] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 63;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 63, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 69 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:21.071] Executed in 4ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 63
[4 Debug 22:45:21.071] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.079] Executed in 8ms SELECT COUNT(*) FROM CoreTracks WHERE (DateUpdatedStamp > LastSyncedStamp OR
                  (DateUpdatedStamp IS NOT NULL AND LastSyncedStamp IS NULL))
                  AND PrimarySourceID IN (1,2)
                  AND CoreTracks.Uri LIKE 'file:%'
[455 Debug 22:45:21.080] Finished - Saving Metadata to File
[4 Debug 22:45:21.087] Executed in 8ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 69)
[4 Debug 22:45:21.089] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recently Played',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-1209600</date></lessThan><greaterThan><field name="playcount" /><int>0</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 320,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 5
[7 Debug 22:45:21.092] Starting - Saving Metadata to File
[1 Debug 22:45:21.102] Querying model for track to play in off:Next mode
[1 Warn  22:45:21.102] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.103] Executed in 11ms SELECT COUNT(*) FROM CoreTracks WHERE (DateUpdatedStamp > LastSyncedStamp OR
                  (DateUpdatedStamp IS NOT NULL AND LastSyncedStamp IS NULL))
                  AND PrimarySourceID IN (1,2)
                  AND CoreTracks.Uri LIKE 'file:%'
[4 Debug 22:45:21.103] Executed in 0ms 
                    SELECT OrderID FROM CoreCache
                        WHERE
                            ModelID = 83 AND
                            ItemID = '10160'
[456 Debug 22:45:21.103] Finished - Saving Metadata to File
[1 Warn  22:45:21.103] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.104] Executed in 0ms SELECT OrderID FROM CoreCache WHERE ModelID = 83 LIMIT 1
[1 Debug 22:45:21.113] (libbanshee:player) [gapless] Triggering track-change signal
[1 Warn  22:45:21.113] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.113] Executed in 0ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID FROM CoreTracks,CoreArtists,CoreAlbums WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.TrackID = 10160
[1 Warn  22:45:21.114] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.114] Executed in 1ms UPDATE CoreTracks SET Rating = 4,LastStreamError = 0,PrimarySourceID = 1,ArtistID = 2360,AlbumID = 2447,TagSetID = 0,MusicBrainzID = NULL,MimeType = 'taglib/mp3',FileSize = 869802,FileModifiedStamp = 1334593513,LastSyncedStamp = 1358365182,Attributes = 5,Title = 'All That Love''s About',TitleSort = NULL,MetadataHash = 'a9de37be2cfcae5e4251e021c9ad1829',TrackNumber = 24,TrackCount = 38,Disc = 0,DiscCount = 0,Duration = 37224,Year = 2008,Genre = 'Soundtrack',Composer = NULL,Conductor = NULL,Grouping = NULL,Copyright = NULL,LicenseUri = NULL,Comment = NULL,BPM = 0,BitRate = 186,SampleRate = 44100,BitsPerSample = 0,Score = 100,PlayCount = 2,SkipCount = 0,ExternalID = 0,LastPlayedStamp = 1364417121,LastSkippedStamp = NULL,DateAddedStamp = 1358365182,DateUpdatedStamp = 1358365182,Uri = 'file:///home/username/My%20Music/Thomas%20Newman/Wall-E/24.%20All%20That%20Love''s%20About.mp3',TitleSortKey = X'0E020E480E4807020E990E2C0E020E9907020E480E7C0EA20E210E9107020E020E090E7C0E9F0E9901010101803B068000',TitleLowered = 'all that loves about' WHERE TrackID = 10160
[1 Debug 22:45:21.115] OnEventChanged called with StartOfStream.  Replacing current_track with pending_track: "Victor's Gateway"
[1 Warn  22:45:21.115] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.118] Executed in 3ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 71, 100
[1 Warn  22:45:21.125] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.125] Executed in 0ms 
                    SELECT OrderID FROM CoreCache
                        WHERE
                            ModelID = 83 AND
                            ItemID = '11407'
[1 Warn  22:45:21.125] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.125] Executed in 0ms SELECT OrderID FROM CoreCache WHERE ModelID = 83 LIMIT 1
[1 Warn  22:45:21.127] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.128] Executed in 1ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 63, 100
[1 Warn  22:45:21.137] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.140] Executed in 4ms SELECT CoreAlbums.AlbumID,CoreAlbums.ArtistID,CoreAlbums.MusicBrainzID,CoreAlbums.ReleaseDate,CoreAlbums.ArtworkID,CoreAlbums.IsCompilation,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort , OrderID, CoreCache.ItemID FROM CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreAlbums.AlbumID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 17   LIMIT 0, 40
[1 Warn  22:45:21.143] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.145] Executed in 2ms SELECT CoreArtists.ArtistID,CoreArtists.Name,CoreArtists.NameSort,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreArtists
                        INNER JOIN CoreCache
                            ON CoreArtists.ArtistID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 15   LIMIT 0, 40
[4 Debug 22:45:21.282] Executed in 16ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 3;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 3 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363808263) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 3)))  
[4 Debug 22:45:21.298] Executed in 16ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3 
[4 Debug 22:45:21.318] Executed in 20ms 
                    DELETE FROM CoreCache WHERE ModelID = 45;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 45, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:21.318] Executed in 0ms BEGIN TRANSACTION
[272 Debug 22:45:21.320] (libbanshee:player) [Gapless] Requesting next track
[4 Debug 22:45:21.329] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 41;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 41, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 45 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:21.334] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 41
[4 Debug 22:45:21.334] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.335] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.346] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 35;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 35, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:21.351] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 35
[4 Debug 22:45:21.351] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.351] Executed in 0ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID FROM CoreTracks,CoreArtists,CoreAlbums WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.TrackID = 11407
[4 Debug 22:45:21.351] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.362] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 37;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 37, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:21.367] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 37
[4 Debug 22:45:21.367] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.367] Executed in 0ms UPDATE CoreTracks SET Rating = 4,LastStreamError = 0,PrimarySourceID = 1,ArtistID = 1593,AlbumID = 2895,TagSetID = 0,MusicBrainzID = NULL,MimeType = 'taglib/mp3',FileSize = 1477176,FileModifiedStamp = 1321120477,LastSyncedStamp = 1358365816,Attributes = 5,Title = 'Victor''s Gateway',TitleSort = NULL,MetadataHash = 'c8d1ac6acf3da7c81322391c61d8352f',TrackNumber = 18,TrackCount = 28,Disc = 1,DiscCount = 1,Duration = 37379,Year = 2008,Genre = 'Soundtrack',Composer = NULL,Conductor = NULL,Grouping = NULL,Copyright = NULL,LicenseUri = NULL,Comment = 'Visit Demonoid for more scores and soundtracks!',BPM = 0,BitRate = 320,SampleRate = 44100,BitsPerSample = 0,Score = 50,PlayCount = 2,SkipCount = 0,ExternalID = 0,LastPlayedStamp = 1364417121,LastSkippedStamp = NULL,DateAddedStamp = 1358365816,DateUpdatedStamp = 1358365816,Uri = 'file:///home/username/My%20Music/Bear%20McCreary/EUReKA/18.%20Victor''s%20Gateway.mp3',TitleSortKey = X'0EA20E320E0A0E990E7C0E8A0E9107020E250E020E990E210EA40E020EA701010101801F068000',TitleLowered = 'victors gateway' WHERE TrackID = 11407
[4 Debug 22:45:21.367] Executed in 0ms BEGIN TRANSACTION
[1 Warn  22:45:21.370] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.393] Executed in 26ms 
                    DELETE FROM CoreCache WHERE ModelID = 43;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 43, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:21.398] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 43
[4 Debug 22:45:21.398] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.400] Executed in 2ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 63, 100
[4 Debug 22:45:21.400] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.412] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 39;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 39, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 45 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:21.417] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 39
[4 Debug 22:45:21.417] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.424] Executed in 7ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 45)
[1 Warn  22:45:21.424] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.427] Executed in 3ms SELECT CoreAlbums.AlbumID,CoreAlbums.ArtistID,CoreAlbums.MusicBrainzID,CoreAlbums.ReleaseDate,CoreAlbums.ArtworkID,CoreAlbums.IsCompilation,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort , OrderID, CoreCache.ItemID FROM CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreAlbums.AlbumID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 17   LIMIT 0, 40
[4 Debug 22:45:21.427] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recent Favorites',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-604800</date></lessThan><greaterThan><field name="playcount" /><int>3</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 49,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 3
[1 Warn  22:45:21.431] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:21.445] Executed in 17ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 5;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 5 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363203463) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 0)))  
[4 Debug 22:45:21.447] Executed in 2ms SELECT CoreArtists.ArtistID,CoreArtists.Name,CoreArtists.NameSort,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreArtists
                        INNER JOIN CoreCache
                            ON CoreArtists.ArtistID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 15   LIMIT 0, 40
[4 Debug 22:45:21.467] Executed in 19ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5 
[4 Debug 22:45:21.488] Executed in 21ms 
                    DELETE FROM CoreCache WHERE ModelID = 69;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 69, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:21.488] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.499] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 65;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 65, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 69 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:21.504] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 65
[4 Debug 22:45:21.504] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.505] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.516] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 59;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 59, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:21.521] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 59
[4 Debug 22:45:21.522] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.536] Executed in 15ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 3;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 3 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363808263) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 3)))  
[4 Debug 22:45:21.536] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.548] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 61;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 61, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:21.553] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 61
[4 Debug 22:45:21.553] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.568] Executed in 15ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3 
[4 Debug 22:45:21.568] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.593] Executed in 25ms 
                    DELETE FROM CoreCache WHERE ModelID = 67;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 67, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:21.598] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 67
[4 Debug 22:45:21.598] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.617] Executed in 19ms 
                    DELETE FROM CoreCache WHERE ModelID = 45;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 45, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:21.618] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.629] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 63;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 63, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 69 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:21.634] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 63
[4 Debug 22:45:21.634] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.634] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.647] Executed in 13ms 
                    DELETE FROM CoreCache WHERE ModelID = 41;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 41, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 45 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:21.652] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 41
[4 Debug 22:45:21.652] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.658] Executed in 6ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 69)
[4 Debug 22:45:21.658] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.669] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 35;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 35, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:21.675] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 35
[4 Debug 22:45:21.675] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.675] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recently Played',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-1209600</date></lessThan><greaterThan><field name="playcount" /><int>0</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 320,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 5
[4 Debug 22:45:21.675] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.686] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 37;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 37, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:21.691] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 37
[4 Debug 22:45:21.691] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.739] Executed in 48ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 6;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 6 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount = 0) And (CoreTracks.SkipCount IS NOT NULL AND CoreTracks.SkipCount = 0)))  
[4 Debug 22:45:21.739] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.764] Executed in 25ms 
                    DELETE FROM CoreCache WHERE ModelID = 43;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 43, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:21.774] Executed in 10ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 43
[4 Debug 22:45:21.774] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.794] Executed in 20ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 6 
[4 Debug 22:45:21.794] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.805] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 39;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 39, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 45 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:21.809] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 39
[4 Debug 22:45:21.810] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.853] Executed in 44ms 
                    DELETE FROM CoreCache WHERE ModelID = 81;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 81, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 6  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:21.860] Executed in 6ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 45)
[4 Debug 22:45:21.860] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.881] Executed in 19ms 
                    DELETE FROM CoreCache WHERE ModelID = 77;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 77, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 81 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:21.886] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 77
[4 Debug 22:45:21.886] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.886] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recent Favorites',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-604800</date></lessThan><greaterThan><field name="playcount" /><int>3</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 49,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 3
[4 Debug 22:45:21.886] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.917] Executed in 30ms 
                    DELETE FROM CoreCache WHERE ModelID = 71;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 71, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 81 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:21.922] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 71
[4 Debug 22:45:21.922] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.939] Executed in 17ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 5;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 5 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363203463) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 0)))  
[4 Debug 22:45:21.939] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:21.966] Executed in 27ms 
                    DELETE FROM CoreCache WHERE ModelID = 73;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 73, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 81 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:21.971] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 73
[4 Debug 22:45:21.971] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:21.987] Executed in 16ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5 
[4 Debug 22:45:21.987] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.020] Executed in 33ms 
                    DELETE FROM CoreCache WHERE ModelID = 79;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 79, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 81 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:22.025] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 79
[4 Debug 22:45:22.025] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.046] Executed in 21ms 
                    DELETE FROM CoreCache WHERE ModelID = 69;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 69, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:22.046] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.074] Executed in 28ms 
                    DELETE FROM CoreCache WHERE ModelID = 75;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 75, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 81 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:22.079] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 75
[4 Debug 22:45:22.079] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.099] Executed in 20ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 81)
[4 Debug 22:45:22.099] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.111] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 65;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 65, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 69 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:22.115] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 65
[4 Debug 22:45:22.116] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.116] Executed in 1ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Unheard',
                        Condition = '<request><query banshee-version="1"><and><equals><field name="playcount" /><int>0</int></equals><equals><field name="skipcount" /><int>0</int></equals></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 7042,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 6
[4 Debug 22:45:22.116] Executed in 0ms BEGIN TRANSACTION
[457 Debug 22:45:22.117] Starting - Saving Metadata to File
[4 Debug 22:45:22.128] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 59;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 59, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:22.133] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 59
[4 Debug 22:45:22.133] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.140] Executed in 6ms SELECT COUNT(*) FROM CoreTracks WHERE (DateUpdatedStamp > LastSyncedStamp OR
                  (DateUpdatedStamp IS NOT NULL AND LastSyncedStamp IS NULL))
                  AND PrimarySourceID IN (1,2)
                  AND CoreTracks.Uri LIKE 'file:%'
[4 Debug 22:45:22.140] Executed in 1ms BEGIN TRANSACTION
[458 Debug 22:45:22.140] Finished - Saving Metadata to File
[4 Debug 22:45:22.152] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 61;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 61, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[1 Debug 22:45:22.155] TrackInfoDisplay RenderAnimation: 31.00 FPS
[4 Debug 22:45:22.157] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 61
[4 Debug 22:45:22.157] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.158] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.182] Executed in 25ms 
                    DELETE FROM CoreCache WHERE ModelID = 67;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 67, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:22.188] Executed in 4ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 67
[4 Debug 22:45:22.188] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.188] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.199] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 63;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 63, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 69 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:22.204] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 63
[4 Debug 22:45:22.204] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.211] Executed in 7ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 69)
[4 Debug 22:45:22.212] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recently Played',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-1209600</date></lessThan><greaterThan><field name="playcount" /><int>0</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 320,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 5
[272 Debug 22:45:22.214] Starting - Saving Metadata to File
[4 Debug 22:45:22.221] Executed in 7ms SELECT COUNT(*) FROM CoreTracks WHERE (DateUpdatedStamp > LastSyncedStamp OR
                  (DateUpdatedStamp IS NOT NULL AND LastSyncedStamp IS NULL))
                  AND PrimarySourceID IN (1,2)
                  AND CoreTracks.Uri LIKE 'file:%'
[459 Debug 22:45:22.221] Finished - Saving Metadata to File
[1 Debug 22:45:22.221] Querying model for track to play in off:Next mode
[1 Warn  22:45:22.221] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.221] Executed in 0ms 
                    SELECT OrderID FROM CoreCache
                        WHERE
                            ModelID = 83 AND
                            ItemID = '11407'
[1 Warn  22:45:22.221] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.221] Executed in 0ms SELECT OrderID FROM CoreCache WHERE ModelID = 83 LIMIT 1
[1 Debug 22:45:22.228] (libbanshee:player) [gapless] Triggering track-change signal
[1 Warn  22:45:22.228] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.229] Executed in 1ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID FROM CoreTracks,CoreArtists,CoreAlbums WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.TrackID = 11407
[1 Warn  22:45:22.230] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.230] Executed in 0ms UPDATE CoreTracks SET Rating = 4,LastStreamError = 0,PrimarySourceID = 1,ArtistID = 1593,AlbumID = 2895,TagSetID = 0,MusicBrainzID = NULL,MimeType = 'taglib/mp3',FileSize = 1477176,FileModifiedStamp = 1321120477,LastSyncedStamp = 1358365816,Attributes = 5,Title = 'Victor''s Gateway',TitleSort = NULL,MetadataHash = 'c8d1ac6acf3da7c81322391c61d8352f',TrackNumber = 18,TrackCount = 28,Disc = 1,DiscCount = 1,Duration = 37379,Year = 2008,Genre = 'Soundtrack',Composer = NULL,Conductor = NULL,Grouping = NULL,Copyright = NULL,LicenseUri = NULL,Comment = 'Visit Demonoid for more scores and soundtracks!',BPM = 0,BitRate = 320,SampleRate = 44100,BitsPerSample = 0,Score = 67,PlayCount = 3,SkipCount = 0,ExternalID = 0,LastPlayedStamp = 1364417122,LastSkippedStamp = NULL,DateAddedStamp = 1358365816,DateUpdatedStamp = 1358365816,Uri = 'file:///home/username/My%20Music/Bear%20McCreary/EUReKA/18.%20Victor''s%20Gateway.mp3',TitleSortKey = X'0EA20E320E0A0E990E7C0E8A0E9107020E250E020E990E210EA40E020EA701010101801F068000',TitleLowered = 'victors gateway' WHERE TrackID = 11407
[1 Debug 22:45:22.231] OnEventChanged called with StartOfStream.  Replacing current_track with pending_track: "Track 21"
[1 Warn  22:45:22.231] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.233] Executed in 2ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 72, 100
[1 Warn  22:45:22.239] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.239] Executed in 1ms 
                    SELECT OrderID FROM CoreCache
                        WHERE
                            ModelID = 83 AND
                            ItemID = '5996'
[1 Warn  22:45:22.239] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.239] Executed in 0ms SELECT OrderID FROM CoreCache WHERE ModelID = 83 LIMIT 1
[1 Warn  22:45:22.240] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.242] Executed in 2ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 64, 100
[1 Warn  22:45:22.250] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.255] Executed in 4ms SELECT CoreAlbums.AlbumID,CoreAlbums.ArtistID,CoreAlbums.MusicBrainzID,CoreAlbums.ReleaseDate,CoreAlbums.ArtworkID,CoreAlbums.IsCompilation,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort , OrderID, CoreCache.ItemID FROM CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreAlbums.AlbumID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 17   LIMIT 0, 40
[1 Warn  22:45:22.261] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.266] Executed in 5ms SELECT CoreArtists.ArtistID,CoreArtists.Name,CoreArtists.NameSort,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreArtists
                        INNER JOIN CoreCache
                            ON CoreArtists.ArtistID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 15   LIMIT 0, 40
[4 Debug 22:45:22.402] Executed in 18ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 3;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 3 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363808263) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 3)))  
[4 Debug 22:45:22.420] Executed in 18ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3 
[7 Debug 22:45:22.433] (libbanshee:player) [Gapless] Requesting next track
[4 Debug 22:45:22.443] Executed in 23ms 
                    DELETE FROM CoreCache WHERE ModelID = 45;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 45, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:22.444] Executed in 0ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID FROM CoreTracks,CoreArtists,CoreAlbums WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.TrackID = 5996
[4 Debug 22:45:22.444] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.455] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 41;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 41, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 45 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:22.460] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 41
[4 Debug 22:45:22.461] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.461] Executed in 0ms UPDATE CoreTracks SET Rating = 2,LastStreamError = 0,PrimarySourceID = 1,ArtistID = 1432,AlbumID = 1811,TagSetID = 0,MusicBrainzID = NULL,MimeType = 'taglib/mp3',FileSize = 1128164,FileModifiedStamp = 1351451702,LastSyncedStamp = 1358365092,Attributes = 5,Title = 'Track 21',TitleSort = NULL,MetadataHash = '1e5db28d8b0c94119f7e48a504017602',TrackNumber = 21,TrackCount = 91,Disc = 1,DiscCount = 0,Duration = 38008,Year = 0,Genre = NULL,Composer = NULL,Conductor = NULL,Grouping = NULL,Copyright = NULL,LicenseUri = NULL,Comment = NULL,BPM = 0,BitRate = 237,SampleRate = 44100,BitsPerSample = 0,Score = 100,PlayCount = 1,SkipCount = 0,ExternalID = 0,LastPlayedStamp = 1364417122,LastSkippedStamp = NULL,DateAddedStamp = 1358365092,DateUpdatedStamp = 1358365092,Uri = 'file:///home/username/My%20Music/Bruce%20Buckingham/Kitaraopas/21.%20Track%2021.mp3',TitleSortKey = X'0E990E8A0E020E0A0E3607020C330C210101010100',TitleLowered = 'track 21' WHERE TrackID = 5996
[4 Debug 22:45:22.461] Executed in 0ms BEGIN TRANSACTION
[1 Warn  22:45:22.466] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.473] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 35;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 35, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:22.478] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 35
[4 Debug 22:45:22.479] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.480] Executed in 2ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 64, 100
[4 Debug 22:45:22.480] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.495] Executed in 14ms 
                    DELETE FROM CoreCache WHERE ModelID = 37;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 37, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:22.500] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 37
[4 Debug 22:45:22.500] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.500] Executed in 0ms BEGIN TRANSACTION
[1 Warn  22:45:22.501] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.525] Executed in 25ms 
                    DELETE FROM CoreCache WHERE ModelID = 43;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 43, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:22.530] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 43
[4 Debug 22:45:22.530] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.533] Executed in 3ms SELECT CoreAlbums.AlbumID,CoreAlbums.ArtistID,CoreAlbums.MusicBrainzID,CoreAlbums.ReleaseDate,CoreAlbums.ArtworkID,CoreAlbums.IsCompilation,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort , OrderID, CoreCache.ItemID FROM CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreAlbums.AlbumID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 17   LIMIT 0, 40
[4 Debug 22:45:22.533] Executed in 0ms BEGIN TRANSACTION
[1 Warn  22:45:22.537] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:22.544] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 39;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 39, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 45 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:22.549] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 39
[4 Debug 22:45:22.549] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.551] Executed in 2ms SELECT CoreArtists.ArtistID,CoreArtists.Name,CoreArtists.NameSort,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreArtists
                        INNER JOIN CoreCache
                            ON CoreArtists.ArtistID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 15   LIMIT 0, 40
[4 Debug 22:45:22.557] Executed in 6ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 45)
[4 Debug 22:45:22.559] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recent Favorites',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-604800</date></lessThan><greaterThan><field name="playcount" /><int>3</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 49,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 3
[4 Debug 22:45:22.576] Executed in 17ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 5;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 5 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363203463) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 0)))  
[4 Debug 22:45:22.592] Executed in 15ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5 
[4 Debug 22:45:22.612] Executed in 20ms 
                    DELETE FROM CoreCache WHERE ModelID = 69;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 69, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:22.613] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.623] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 65;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 65, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 69 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:22.628] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 65
[4 Debug 22:45:22.628] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.643] Executed in 15ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 3;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 3 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363808263) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 3)))  
[4 Debug 22:45:22.644] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.655] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 59;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 59, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:22.660] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 59
[4 Debug 22:45:22.660] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.675] Executed in 15ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3 
[4 Debug 22:45:22.675] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.686] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 61;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 61, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:22.691] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 61
[4 Debug 22:45:22.691] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.711] Executed in 19ms 
                    DELETE FROM CoreCache WHERE ModelID = 45;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 45, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:22.711] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.736] Executed in 24ms 
                    DELETE FROM CoreCache WHERE ModelID = 67;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 67, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:22.741] Executed in 4ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 67
[4 Debug 22:45:22.741] Executed in 1ms COMMIT TRANSACTION
[4 Debug 22:45:22.741] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.752] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 41;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 41, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 45 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:22.757] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 41
[4 Debug 22:45:22.757] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.757] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.768] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 63;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 63, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 69 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:22.773] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 63
[4 Debug 22:45:22.774] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.774] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.784] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 35;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 35, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:22.789] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 35
[4 Debug 22:45:22.789] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.795] Executed in 6ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 69)
[4 Debug 22:45:22.795] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.806] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 37;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 37, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:22.811] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 37
[4 Debug 22:45:22.812] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.812] Executed in 1ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recently Played',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-1209600</date></lessThan><greaterThan><field name="playcount" /><int>0</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 320,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 5
[4 Debug 22:45:22.812] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.838] Executed in 26ms 
                    DELETE FROM CoreCache WHERE ModelID = 43;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 43, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:22.843] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 43
[4 Debug 22:45:22.843] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.891] Executed in 48ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 6;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 6 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount = 0) And (CoreTracks.SkipCount IS NOT NULL AND CoreTracks.SkipCount = 0)))  
[4 Debug 22:45:22.892] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.902] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 39;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 39, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 45 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:22.907] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 39
[4 Debug 22:45:22.907] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:22.926] Executed in 19ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 6 
[4 Debug 22:45:22.931] Executed in 5ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 45)
[4 Debug 22:45:22.974] Executed in 43ms 
                    DELETE FROM CoreCache WHERE ModelID = 81;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 81, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 6  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:22.974] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recent Favorites',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-604800</date></lessThan><greaterThan><field name="playcount" /><int>3</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 49,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 3
[4 Debug 22:45:22.975] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:22.994] Executed in 20ms 
                    DELETE FROM CoreCache WHERE ModelID = 77;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 77, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 81 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:22.999] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 77
[4 Debug 22:45:22.999] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.016] Executed in 17ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 5;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 5 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363203463) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 0)))  
[4 Debug 22:45:23.016] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.046] Executed in 30ms 
                    DELETE FROM CoreCache WHERE ModelID = 71;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 71, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 81 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:23.051] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 71
[4 Debug 22:45:23.051] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.067] Executed in 15ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5 
[4 Debug 22:45:23.067] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.093] Executed in 26ms 
                    DELETE FROM CoreCache WHERE ModelID = 73;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 73, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 81 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:23.098] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 73
[4 Debug 22:45:23.098] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.119] Executed in 21ms 
                    DELETE FROM CoreCache WHERE ModelID = 69;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 69, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:23.119] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.153] Executed in 34ms 
                    DELETE FROM CoreCache WHERE ModelID = 79;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 79, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 81 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:23.158] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 79
[4 Debug 22:45:23.158] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.158] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.169] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 65;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 65, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 69 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:23.174] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 65
[4 Debug 22:45:23.174] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.174] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.206] Executed in 32ms 
                    DELETE FROM CoreCache WHERE ModelID = 75;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 75, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 81 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:23.211] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 75
[4 Debug 22:45:23.211] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.211] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.224] Executed in 13ms 
                    DELETE FROM CoreCache WHERE ModelID = 59;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 59, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:23.230] Executed in 4ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 59
[4 Debug 22:45:23.230] Executed in 0ms COMMIT TRANSACTION
[1 Debug 22:45:23.240] TrackInfoDisplay RenderAnimation: 30.00 FPS
[4 Debug 22:45:23.250] Executed in 20ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 81)
[4 Debug 22:45:23.250] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.262] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 61;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 61, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:23.267] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 61
[4 Debug 22:45:23.268] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.268] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Unheard',
                        Condition = '<request><query banshee-version="1"><and><equals><field name="playcount" /><int>0</int></equals><equals><field name="skipcount" /><int>0</int></equals></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 7042,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 6
[4 Debug 22:45:23.268] Executed in 0ms BEGIN TRANSACTION
[460 Debug 22:45:23.270] Starting - Saving Metadata to File
[4 Debug 22:45:23.295] Executed in 27ms 
                    DELETE FROM CoreCache WHERE ModelID = 67;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 67, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:23.301] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 67
[4 Debug 22:45:23.301] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.307] Executed in 6ms SELECT COUNT(*) FROM CoreTracks WHERE (DateUpdatedStamp > LastSyncedStamp OR
                  (DateUpdatedStamp IS NOT NULL AND LastSyncedStamp IS NULL))
                  AND PrimarySourceID IN (1,2)
                  AND CoreTracks.Uri LIKE 'file:%'
[4 Debug 22:45:23.307] Executed in 0ms BEGIN TRANSACTION
[461 Debug 22:45:23.307] Finished - Saving Metadata to File
[4 Debug 22:45:23.318] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 63;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 63, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 69 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:23.323] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 63
[4 Debug 22:45:23.323] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.329] Executed in 6ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 69)
[4 Debug 22:45:23.331] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recently Played',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-1209600</date></lessThan><greaterThan><field name="playcount" /><int>0</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 320,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 5
[7 Debug 22:45:23.333] Starting - Saving Metadata to File
[1 Debug 22:45:23.338] Querying model for track to play in off:Next mode
[1 Warn  22:45:23.338] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.341] Executed in 8ms SELECT COUNT(*) FROM CoreTracks WHERE (DateUpdatedStamp > LastSyncedStamp OR
                  (DateUpdatedStamp IS NOT NULL AND LastSyncedStamp IS NULL))
                  AND PrimarySourceID IN (1,2)
                  AND CoreTracks.Uri LIKE 'file:%'
[462 Debug 22:45:23.341] Finished - Saving Metadata to File
[4 Debug 22:45:23.341] Executed in 0ms 
                    SELECT OrderID FROM CoreCache
                        WHERE
                            ModelID = 83 AND
                            ItemID = '5996'
[1 Warn  22:45:23.341] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.341] Executed in 0ms SELECT OrderID FROM CoreCache WHERE ModelID = 83 LIMIT 1
[1 Debug 22:45:23.348] (libbanshee:player) [gapless] Triggering track-change signal
[1 Warn  22:45:23.348] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.352] Executed in 1ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID FROM CoreTracks,CoreArtists,CoreAlbums WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.TrackID = 5996
[1 Warn  22:45:23.354] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.354] Executed in 0ms UPDATE CoreTracks SET Rating = 2,LastStreamError = 0,PrimarySourceID = 1,ArtistID = 1432,AlbumID = 1811,TagSetID = 0,MusicBrainzID = NULL,MimeType = 'taglib/mp3',FileSize = 1128164,FileModifiedStamp = 1351451702,LastSyncedStamp = 1358365092,Attributes = 5,Title = 'Track 21',TitleSort = NULL,MetadataHash = '1e5db28d8b0c94119f7e48a504017602',TrackNumber = 21,TrackCount = 91,Disc = 1,DiscCount = 0,Duration = 38008,Year = 0,Genre = NULL,Composer = NULL,Conductor = NULL,Grouping = NULL,Copyright = NULL,LicenseUri = NULL,Comment = NULL,BPM = 0,BitRate = 237,SampleRate = 44100,BitsPerSample = 0,Score = 100,PlayCount = 2,SkipCount = 0,ExternalID = 0,LastPlayedStamp = 1364417123,LastSkippedStamp = NULL,DateAddedStamp = 1358365092,DateUpdatedStamp = 1358365092,Uri = 'file:///home/username/My%20Music/Bruce%20Buckingham/Kitaraopas/21.%20Track%2021.mp3',TitleSortKey = X'0E990E8A0E020E0A0E3607020C330C210101010100',TitleLowered = 'track 21' WHERE TrackID = 5996
[1 Debug 22:45:23.355] OnEventChanged called with StartOfStream.  Replacing current_track with pending_track: "Track 6"
[1 Warn  22:45:23.355] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.357] Executed in 2ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 73, 100
[1 Warn  22:45:23.360] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.361] Executed in 0ms 
                    SELECT OrderID FROM CoreCache
                        WHERE
                            ModelID = 83 AND
                            ItemID = '5981'
[1 Warn  22:45:23.361] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.361] Executed in 1ms SELECT OrderID FROM CoreCache WHERE ModelID = 83 LIMIT 1
[1 Warn  22:45:23.362] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.364] Executed in 1ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 65, 100
[1 Warn  22:45:23.373] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.377] Executed in 5ms SELECT CoreAlbums.AlbumID,CoreAlbums.ArtistID,CoreAlbums.MusicBrainzID,CoreAlbums.ReleaseDate,CoreAlbums.ArtworkID,CoreAlbums.IsCompilation,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort , OrderID, CoreCache.ItemID FROM CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreAlbums.AlbumID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 17   LIMIT 0, 40
[1 Warn  22:45:23.383] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.386] Executed in 4ms SELECT CoreArtists.ArtistID,CoreArtists.Name,CoreArtists.NameSort,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreArtists
                        INNER JOIN CoreCache
                            ON CoreArtists.ArtistID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 15   LIMIT 0, 40
[4 Debug 22:45:23.531] Executed in 25ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 3;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 3 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363808263) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 3)))  
[4 Debug 22:45:23.547] Executed in 16ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3 
[272 Debug 22:45:23.552] (libbanshee:player) [Gapless] Requesting next track
[4 Debug 22:45:23.568] Executed in 21ms 
                    DELETE FROM CoreCache WHERE ModelID = 45;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 45, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:23.568] Executed in 0ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID FROM CoreTracks,CoreArtists,CoreAlbums WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.TrackID = 5981
[4 Debug 22:45:23.569] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.579] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 41;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 41, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 45 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:23.584] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 41
[4 Debug 22:45:23.584] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.584] Executed in 0ms UPDATE CoreTracks SET Rating = 2,LastStreamError = 0,PrimarySourceID = 1,ArtistID = 1432,AlbumID = 1811,TagSetID = 0,MusicBrainzID = NULL,MimeType = 'taglib/mp3',FileSize = 1072164,FileModifiedStamp = 1351451702,LastSyncedStamp = 1358365091,Attributes = 5,Title = 'Track 6',TitleSort = NULL,MetadataHash = '9d781d36e07e8ff3139bbe91f65f94d3',TrackNumber = 6,TrackCount = 91,Disc = 1,DiscCount = 0,Duration = 38034,Year = 0,Genre = NULL,Composer = NULL,Conductor = NULL,Grouping = NULL,Copyright = NULL,LicenseUri = NULL,Comment = NULL,BPM = 0,BitRate = 225,SampleRate = 44100,BitsPerSample = 0,Score = 100,PlayCount = 1,SkipCount = 0,ExternalID = 0,LastPlayedStamp = 1364417123,LastSkippedStamp = NULL,DateAddedStamp = 1358365091,DateUpdatedStamp = 1358365091,Uri = 'file:///home/username/My%20Music/Bruce%20Buckingham/Kitaraopas/06.%20Track%206.mp3',TitleSortKey = X'0E990E8A0E020E0A0E3607020C7D0101010100',TitleLowered = 'track 6' WHERE TrackID = 5981
[4 Debug 22:45:23.584] Executed in 0ms BEGIN TRANSACTION
[1 Warn  22:45:23.587] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.596] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 35;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 35, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:23.601] Executed in 4ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 35
[4 Debug 22:45:23.601] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.602] Executed in 1ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 65, 100
[4 Debug 22:45:23.602] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.614] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 37;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 37, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[1 Warn  22:45:23.619] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.619] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 37
[4 Debug 22:45:23.619] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.622] Executed in 3ms SELECT CoreAlbums.AlbumID,CoreAlbums.ArtistID,CoreAlbums.MusicBrainzID,CoreAlbums.ReleaseDate,CoreAlbums.ArtworkID,CoreAlbums.IsCompilation,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort , OrderID, CoreCache.ItemID FROM CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreAlbums.AlbumID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 17   LIMIT 0, 40
[4 Debug 22:45:23.622] Executed in 0ms BEGIN TRANSACTION
[1 Warn  22:45:23.628] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:23.652] Executed in 30ms 
                    DELETE FROM CoreCache WHERE ModelID = 43;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 43, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:23.660] Executed in 7ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 43
[4 Debug 22:45:23.661] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.664] Executed in 3ms SELECT CoreArtists.ArtistID,CoreArtists.Name,CoreArtists.NameSort,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreArtists
                        INNER JOIN CoreCache
                            ON CoreArtists.ArtistID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 15   LIMIT 0, 40
[4 Debug 22:45:23.665] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.681] Executed in 15ms 
                    DELETE FROM CoreCache WHERE ModelID = 39;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 39, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 45 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:23.687] Executed in 6ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 39
[4 Debug 22:45:23.687] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.693] Executed in 5ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 45)
[4 Debug 22:45:23.695] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recent Favorites',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-604800</date></lessThan><greaterThan><field name="playcount" /><int>3</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 49,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 3
[4 Debug 22:45:23.717] Executed in 21ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 5;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 5 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363203463) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 0)))  
[4 Debug 22:45:23.732] Executed in 16ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5 
[4 Debug 22:45:23.754] Executed in 22ms 
                    DELETE FROM CoreCache WHERE ModelID = 69;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 69, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:23.770] Executed in 15ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 3;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 3 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363808263) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 3)))  
[4 Debug 22:45:23.770] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.781] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 65;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 65, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 69 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:23.785] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 65
[4 Debug 22:45:23.786] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.801] Executed in 16ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3 
[4 Debug 22:45:23.801] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.813] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 59;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 59, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:23.818] Executed in 4ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 59
[4 Debug 22:45:23.818] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.838] Executed in 20ms 
                    DELETE FROM CoreCache WHERE ModelID = 45;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 45, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:23.838] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.849] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 61;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 61, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:23.854] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 61
[4 Debug 22:45:23.854] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.854] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.867] Executed in 13ms 
                    DELETE FROM CoreCache WHERE ModelID = 41;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 41, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 45 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:23.872] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 41
[4 Debug 22:45:23.872] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.872] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.898] Executed in 26ms 
                    DELETE FROM CoreCache WHERE ModelID = 67;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 67, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:23.903] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 67
[4 Debug 22:45:23.903] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.904] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.914] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 35;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 35, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:23.919] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 35
[4 Debug 22:45:23.919] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.920] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.931] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 63;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 63, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 69 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:23.936] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 63
[4 Debug 22:45:23.936] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.936] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.947] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 37;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 37, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:23.952] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 37
[4 Debug 22:45:23.952] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.959] Executed in 6ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 69)
[4 Debug 22:45:23.959] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:23.984] Executed in 26ms 
                    DELETE FROM CoreCache WHERE ModelID = 43;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 43, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:23.989] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 43
[4 Debug 22:45:23.989] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:23.990] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recently Played',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-1209600</date></lessThan><greaterThan><field name="playcount" /><int>0</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 320,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 5
[4 Debug 22:45:23.990] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:24.000] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 39;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 39, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 45 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:24.005] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 39
[4 Debug 22:45:24.005] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.056] Executed in 51ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 6;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 6 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount = 0) And (CoreTracks.SkipCount IS NOT NULL AND CoreTracks.SkipCount = 0)))  
[4 Debug 22:45:24.062] Executed in 6ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 45)
[4 Debug 22:45:24.085] Executed in 23ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 6 
[4 Debug 22:45:24.085] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recent Favorites',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-604800</date></lessThan><greaterThan><field name="playcount" /><int>3</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 49,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 3
[4 Debug 22:45:24.128] Executed in 43ms 
                    DELETE FROM CoreCache WHERE ModelID = 81;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 81, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 6  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:24.144] Executed in 16ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 5;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 5 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363203463) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 0)))  
[4 Debug 22:45:24.145] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:24.164] Executed in 20ms 
                    DELETE FROM CoreCache WHERE ModelID = 77;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 77, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 81 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:24.169] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 77
[4 Debug 22:45:24.169] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.185] Executed in 16ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5 
[4 Debug 22:45:24.185] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:24.215] Executed in 30ms 
                    DELETE FROM CoreCache WHERE ModelID = 71;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 71, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 81 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:24.221] Executed in 4ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 71
[4 Debug 22:45:24.221] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.242] Executed in 21ms 
                    DELETE FROM CoreCache WHERE ModelID = 69;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 69, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:24.242] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:24.268] Executed in 26ms 
                    DELETE FROM CoreCache WHERE ModelID = 73;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 73, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 81 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:24.274] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 73
[4 Debug 22:45:24.274] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.274] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:24.285] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 65;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 65, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 69 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:24.291] Executed in 6ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 65
[4 Debug 22:45:24.291] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.291] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:24.326] Executed in 35ms 
                    DELETE FROM CoreCache WHERE ModelID = 79;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 79, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 81 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:24.335] Executed in 9ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 79
[4 Debug 22:45:24.335] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.335] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:24.352] Executed in 17ms 
                    DELETE FROM CoreCache WHERE ModelID = 59;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 59, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:24.357] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 59
[4 Debug 22:45:24.357] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.357] Executed in 0ms BEGIN TRANSACTION
[1 Debug 22:45:24.378] TrackInfoDisplay RenderAnimation: 30.00 FPS
[4 Debug 22:45:24.386] Executed in 29ms 
                    DELETE FROM CoreCache WHERE ModelID = 75;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 75, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 81 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:24.391] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 75
[4 Debug 22:45:24.391] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.391] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:24.402] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 61;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 61, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[4 Debug 22:45:24.407] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 61
[4 Debug 22:45:24.407] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.426] Executed in 19ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 81)
[4 Debug 22:45:24.426] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:24.455] Executed in 28ms 
                    DELETE FROM CoreCache WHERE ModelID = 67;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 67, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 69 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:24.460] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 67
[4 Debug 22:45:24.460] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.460] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Unheard',
                        Condition = '<request><query banshee-version="1"><and><equals><field name="playcount" /><int>0</int></equals><equals><field name="skipcount" /><int>0</int></equals></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 7042,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 6
[4 Debug 22:45:24.460] Executed in 0ms BEGIN TRANSACTION
[463 Debug 22:45:24.462] Starting - Saving Metadata to File
[4 Debug 22:45:24.472] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 63;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 63, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 69 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:24.477] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 63
[4 Debug 22:45:24.477] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.483] Executed in 6ms SELECT COUNT(*) FROM CoreTracks WHERE (DateUpdatedStamp > LastSyncedStamp OR
                  (DateUpdatedStamp IS NOT NULL AND LastSyncedStamp IS NULL))
                  AND PrimarySourceID IN (1,2)
                  AND CoreTracks.Uri LIKE 'file:%'
[464 Debug 22:45:24.483] Finished - Saving Metadata to File
[4 Debug 22:45:24.489] Executed in 6ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 69)
[4 Debug 22:45:24.492] Executed in 1ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recently Played',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-1209600</date></lessThan><greaterThan><field name="playcount" /><int>0</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 320,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 5
[272 Debug 22:45:24.495] Starting - Saving Metadata to File
[1 Debug 22:45:24.500] Querying model for track to play in off:Next mode
[1 Warn  22:45:24.500] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.505] Executed in 10ms SELECT COUNT(*) FROM CoreTracks WHERE (DateUpdatedStamp > LastSyncedStamp OR
                  (DateUpdatedStamp IS NOT NULL AND LastSyncedStamp IS NULL))
                  AND PrimarySourceID IN (1,2)
                  AND CoreTracks.Uri LIKE 'file:%'
[465 Debug 22:45:24.505] Finished - Saving Metadata to File
[4 Debug 22:45:24.505] Executed in 0ms 
                    SELECT OrderID FROM CoreCache
                        WHERE
                            ModelID = 83 AND
                            ItemID = '5981'
[1 Warn  22:45:24.505] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.505] Executed in 0ms SELECT OrderID FROM CoreCache WHERE ModelID = 83 LIMIT 1
[1 Debug 22:45:24.513] (libbanshee:player) [gapless] Triggering track-change signal
[1 Warn  22:45:24.513] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.514] Executed in 1ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID FROM CoreTracks,CoreArtists,CoreAlbums WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.TrackID = 5981
[1 Warn  22:45:24.515] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.515] Executed in 0ms UPDATE CoreTracks SET Rating = 2,LastStreamError = 0,PrimarySourceID = 1,ArtistID = 1432,AlbumID = 1811,TagSetID = 0,MusicBrainzID = NULL,MimeType = 'taglib/mp3',FileSize = 1072164,FileModifiedStamp = 1351451702,LastSyncedStamp = 1358365091,Attributes = 5,Title = 'Track 6',TitleSort = NULL,MetadataHash = '9d781d36e07e8ff3139bbe91f65f94d3',TrackNumber = 6,TrackCount = 91,Disc = 1,DiscCount = 0,Duration = 38034,Year = 0,Genre = NULL,Composer = NULL,Conductor = NULL,Grouping = NULL,Copyright = NULL,LicenseUri = NULL,Comment = NULL,BPM = 0,BitRate = 225,SampleRate = 44100,BitsPerSample = 0,Score = 100,PlayCount = 2,SkipCount = 0,ExternalID = 0,LastPlayedStamp = 1364417124,LastSkippedStamp = NULL,DateAddedStamp = 1358365091,DateUpdatedStamp = 1358365091,Uri = 'file:///home/username/My%20Music/Bruce%20Buckingham/Kitaraopas/06.%20Track%206.mp3',TitleSortKey = X'0E990E8A0E020E0A0E3607020C7D0101010100',TitleLowered = 'track 6' WHERE TrackID = 5981
[1 Debug 22:45:24.516] OnEventChanged called with StartOfStream.  Replacing current_track with pending_track: "Track 3"
[1 Warn  22:45:24.516] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.519] Executed in 2ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 74, 100
[1 Warn  22:45:24.527] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.527] Executed in 0ms 
                    SELECT OrderID FROM CoreCache
                        WHERE
                            ModelID = 83 AND
                            ItemID = '5978'
[1 Warn  22:45:24.527] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.527] Executed in 0ms SELECT OrderID FROM CoreCache WHERE ModelID = 83 LIMIT 1
[1 Warn  22:45:24.529] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.532] Executed in 2ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 66, 100
[1 Warn  22:45:24.543] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.548] Executed in 4ms SELECT CoreAlbums.AlbumID,CoreAlbums.ArtistID,CoreAlbums.MusicBrainzID,CoreAlbums.ReleaseDate,CoreAlbums.ArtworkID,CoreAlbums.IsCompilation,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort , OrderID, CoreCache.ItemID FROM CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreAlbums.AlbumID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 17   LIMIT 0, 40
[1 Warn  22:45:24.553] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.557] Executed in 4ms SELECT CoreArtists.ArtistID,CoreArtists.Name,CoreArtists.NameSort,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreArtists
                        INNER JOIN CoreCache
                            ON CoreArtists.ArtistID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 15   LIMIT 0, 40
[4 Debug 22:45:24.692] Executed in 24ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 3;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 3 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363808263) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 3)))  
[4 Debug 22:45:24.716] Executed in 25ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3 
[7 Debug 22:45:24.741] (libbanshee:player) [Gapless] Requesting next track
[4 Debug 22:45:24.747] Executed in 30ms 
                    DELETE FROM CoreCache WHERE ModelID = 45;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 45, CoreTracks.TrackID FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 3  ORDER BY 
                    CoreArtists.NameSortKey ASC,
                    
                    CoreAlbums.TitleSortKey ASC,
                    CoreTracks.Disc ASC,
                    CoreTracks.TrackNumber ASC
[4 Debug 22:45:24.747] Executed in 1ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID FROM CoreTracks,CoreArtists,CoreAlbums WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.TrackID = 5978
[4 Debug 22:45:24.747] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:24.757] Executed in 10ms 
                    DELETE FROM CoreCache WHERE ModelID = 41;
                    INSERT INTO CoreCache (ModelID, ItemID) SELECT DISTINCT 41, Genre as Value 
                FROM CoreTracks, CoreCache
                    WHERE CoreCache.ModelID = 45 AND CoreCache.ItemID = CoreTracks.TrackID 
                    ORDER BY Value
[4 Debug 22:45:24.762] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 41
[4 Debug 22:45:24.763] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.763] Executed in 1ms UPDATE CoreTracks SET Rating = 2,LastStreamError = 0,PrimarySourceID = 1,ArtistID = 1432,AlbumID = 1811,TagSetID = 0,MusicBrainzID = NULL,MimeType = 'taglib/mp3',FileSize = 1093992,FileModifiedStamp = 1351451702,LastSyncedStamp = 1358365091,Attributes = 5,Title = 'Track 3',TitleSort = NULL,MetadataHash = '070c68d36b424a02cbd844a1330e8bb0',TrackNumber = 3,TrackCount = 91,Disc = 1,DiscCount = 0,Duration = 38243,Year = 0,Genre = NULL,Composer = NULL,Conductor = NULL,Grouping = NULL,Copyright = NULL,LicenseUri = NULL,Comment = NULL,BPM = 0,BitRate = 229,SampleRate = 44100,BitsPerSample = 0,Score = 100,PlayCount = 1,SkipCount = 0,ExternalID = 0,LastPlayedStamp = 1364417124,LastSkippedStamp = NULL,DateAddedStamp = 1358365091,DateUpdatedStamp = 1358365091,Uri = 'file:///home/username/My%20Music/Bruce%20Buckingham/Kitaraopas/03.%20Track%203.mp3',TitleSortKey = X'0E990E8A0E020E0A0E3607020C460101010100',TitleLowered = 'track 3' WHERE TrackID = 5978
[4 Debug 22:45:24.763] Executed in 0ms BEGIN TRANSACTION
[1 Warn  22:45:24.765] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.775] Executed in 12ms 
                    DELETE FROM CoreCache WHERE ModelID = 35;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 35, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreAlbums.ArtistID FROM CoreAlbums, CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreTracks.AlbumID = CoreAlbums.AlbumID AND
                              EXISTS (SELECT 1 FROM CoreArtists WHERE ArtistID = CoreAlbums.ArtistID) AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                        ORDER BY NameSortKey
[4 Debug 22:45:24.780] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 35
[4 Debug 22:45:24.780] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.782] Executed in 2ms SELECT CoreTracks.Rating,CoreTracks.LastStreamError,CoreTracks.TrackID,CoreTracks.PrimarySourceID,CoreTracks.ArtistID,CoreTracks.AlbumID,CoreTracks.TagSetID,CoreTracks.MusicBrainzID,CoreTracks.MimeType,CoreTracks.FileSize,CoreTracks.FileModifiedStamp,CoreTracks.LastSyncedStamp,CoreTracks.Attributes,CoreTracks.Title,CoreTracks.TitleSort,CoreTracks.TrackNumber,CoreTracks.TrackCount,CoreTracks.Disc,CoreTracks.DiscCount,CoreTracks.Duration,CoreTracks.Year,CoreTracks.Genre,CoreTracks.Composer,CoreTracks.Conductor,CoreTracks.Grouping,CoreTracks.Copyright,CoreTracks.LicenseUri,CoreTracks.Comment,CoreTracks.BPM,CoreTracks.BitRate,CoreTracks.SampleRate,CoreTracks.BitsPerSample,CoreTracks.Score,CoreTracks.PlayCount,CoreTracks.SkipCount,CoreTracks.ExternalID,CoreTracks.LastPlayedStamp,CoreTracks.LastSkippedStamp,CoreTracks.DateAddedStamp,CoreTracks.DateUpdatedStamp,CoreTracks.Uri,CoreArtists.Name,CoreArtists.NameSort,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort,CoreAlbums.IsCompilation,CoreAlbums.MusicBrainzID,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreTracks,CoreArtists,CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreTracks.TrackID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 83 AND CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID LIMIT 66, 100
[4 Debug 22:45:24.782] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:24.793] Executed in 11ms 
                    DELETE FROM CoreCache WHERE ModelID = 37;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 37, CoreArtists.ArtistID 
                FROM CoreArtists WHERE CoreArtists.ArtistID IN
                    (SELECT CoreTracks.ArtistID FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY NameSortKey
[1 Warn  22:45:24.797] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.799] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 37
[4 Debug 22:45:24.799] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.799] Executed in 0ms BEGIN TRANSACTION
[4 Debug 22:45:24.824] Executed in 25ms 
                    DELETE FROM CoreCache WHERE ModelID = 43;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 43, CoreTracks.TrackID 
                FROM (SELECT MIN(CoreTracks.TrackID) AS TrackID, CoreTracks.Year FROM CoreTracks GROUP BY CoreTracks.Year) AS CoreTracks
                WHERE CoreTracks.Year IN
                    (SELECT CoreTracks.Year FROM CoreTracks, CoreCache
                        WHERE CoreCache.ModelID = 45 AND
                              CoreCache.ItemID = CoreTracks.TrackID )
                    ORDER BY Year
[4 Debug 22:45:24.829] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 43
[4 Debug 22:45:24.829] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.835] Executed in 3ms SELECT CoreAlbums.AlbumID,CoreAlbums.ArtistID,CoreAlbums.MusicBrainzID,CoreAlbums.ReleaseDate,CoreAlbums.ArtworkID,CoreAlbums.IsCompilation,CoreAlbums.Title,CoreAlbums.TitleSort,CoreAlbums.ArtistName,CoreAlbums.ArtistNameSort , OrderID, CoreCache.ItemID FROM CoreAlbums
                        INNER JOIN CoreCache
                            ON CoreAlbums.AlbumID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 17   LIMIT 0, 40
[4 Debug 22:45:24.835] Executed in 0ms BEGIN TRANSACTION
[1 Warn  22:45:24.842] HyenaSqliteConnection command issued from the main thread
[4 Debug 22:45:24.848] Executed in 13ms 
                    DELETE FROM CoreCache WHERE ModelID = 39;
                        INSERT INTO CoreCache (ModelID, ItemID) SELECT 39, CoreAlbums.AlbumID 
                FROM CoreAlbums WHERE CoreAlbums.AlbumID IN
                        (SELECT CoreTracks.AlbumID FROM CoreTracks, CoreCache
                            WHERE CoreCache.ModelID = 45 AND
                                  CoreCache.ItemId = CoreTracks.TrackID )
                    ORDER BY CoreAlbums.TitleSortKey, CoreAlbums.ArtistNameSortKey
[4 Debug 22:45:24.853] Executed in 5ms SELECT COUNT(*) FROM CoreCache WHERE ModelID = 39
[4 Debug 22:45:24.853] Executed in 0ms COMMIT TRANSACTION
[4 Debug 22:45:24.855] Executed in 2ms SELECT CoreArtists.ArtistID,CoreArtists.Name,CoreArtists.NameSort,CoreArtists.MusicBrainzID , OrderID, CoreCache.ItemID FROM CoreArtists
                        INNER JOIN CoreCache
                            ON CoreArtists.ArtistID = CoreCache.ItemID 
                        WHERE
                            CoreCache.ModelID = 15   LIMIT 0, 40
[4 Debug 22:45:24.861] Executed in 6ms SELECT count(*), SUM(CoreTracks.Duration), SUM(CoreTracks.FileSize) FROM CoreTracks WHERE CoreTracks.TrackID IN (SELECT ItemID FROM CoreCache WHERE ModelID = 45)
[4 Debug 22:45:24.863] Executed in 0ms 
                UPDATE CoreSmartPlaylists
                    SET Name = 'Recent Favorites',
                        Condition = '<request><query banshee-version="1"><and><lessThan><field name="lastplayed" /><date factor="Week" type="rel">-604800</date></lessThan><greaterThan><field name="playcount" /><int>3</int></greaterThan></and></query></request>',
                        OrderBy = NULL,
                        LimitNumber = NULL,
                        LimitCriterion = NULL,
                        CachedCount = 49,
                        IsTemporary = 0,
                        IsHiddenWhenEmpty = 1
                    WHERE SmartPlaylistID = 3
[4 Debug 22:45:24.885] Executed in 22ms DELETE FROM CoreSmartPlaylistEntries WHERE SmartPlaylistID = 5;
                  INSERT INTO CoreSmartPlaylistEntries
                    (EntryID, SmartPlaylistID, TrackID)
                    SELECT NULL, 5 as SmartPlaylistID, TrackId FROM CoreTracks,CoreArtists,CoreAlbums
                        WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID AND CoreTracks.PrimarySourceID = 1
                        AND (((CoreTracks.LastPlayedStamp IS NOT NULL AND CoreTracks.LastPlayedStamp > 1363203463) And (CoreTracks.PlayCount IS NOT NULL AND CoreTracks.PlayCount > 0)))  
[4 Debug 22:45:24.901] Executed in 16ms SELECT COUNT(*), SUM(CoreTracks.FileSize), SUM(CoreTracks.Duration) FROM CoreTracks CROSS JOIN CoreArtists,CoreAlbums, CoreSmartPlaylistEntries WHERE CoreArtists.ArtistID = CoreTracks.ArtistID AND CoreAlbums.AlbumID = CoreTracks.AlbumID  AND  CoreSmartPlaylistEntries.TrackID = CoreTracks.TrackID AND CoreSmartPlaylistEntries.SmartPlaylistID = 5 

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
at Banshee.Sources.PrimarySource/<OnTracksChanged>c__AnonStorey24.<>m__46 () [0x0003b] in /builddir/build/BUILD/banshee-2.6.0/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs:426
at Hyena.ThreadAssist.SpawnFromMain (System.Threading.ThreadStart) [0x00017] in /builddir/build/BUILD/banshee-2.6.0/src/Hyena/Hyena/Hyena/ThreadAssist.cs:112
at Banshee.Sources.PrimarySource.OnTracksChanged (Hyena.Query.QueryField[]) [0x00014] in /builddir/build/BUILD/banshee-2.6.0/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs:417
at Banshee.Sources.PrimarySource.NotifyTracksChanged (Hyena.Query.QueryField[]) [0x00000] in /builddir/build/BUILD/banshee-2.6.0/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs:354
at Banshee.Collection.Database.DatabaseTrackInfo.Save (bool,Hyena.Query.QueryField[]) [0x00118] in /builddir/build/BUILD/banshee-2.6.0/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs:225
at Banshee.Collection.Database.DatabaseTrackInfo.UpdateLastPlayed () [0x0000c] in /builddir/build/BUILD/banshee-2.6.0/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs:186
at Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) [0x00000] in /builddir/build/BUILD/banshee-2.6.0/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs:436
at (wrapper native-to-managed) Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <IL 0x00022, 0x0006f>

[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
at Banshee.Sources.PrimarySource/<OnTracksChanged>c__AnonStorey24.<>m__46 () [0x0003b] in /builddir/build/BUILD/banshee-2.6.0/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs:426
at Hyena.ThreadAssist.SpawnFromMain (System.Threading.ThreadStart) [0x00017] in /builddir/build/BUILD/banshee-2.6.0/src/Hyena/Hyena/Hyena/ThreadAssist.cs:112
at Banshee.Sources.PrimarySource.OnTracksChanged (Hyena.Query.QueryField[]) [0x00014] in /builddir/build/BUILD/banshee-2.6.0/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs:417
at Banshee.Sources.PrimarySource.NotifyTracksChanged (Hyena.Query.QueryField[]) [0x00000] in /builddir/build/BUILD/banshee-2.6.0/src/Core/Banshee.Services/Banshee.Sources/PrimarySource.cs:354
at Banshee.Collection.Database.DatabaseTrackInfo.Save (bool,Hyena.Query.QueryField[]) [0x00118] in /builddir/build/BUILD/banshee-2.6.0/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs:225
at Banshee.Collection.Database.DatabaseTrackInfo.UpdateLastPlayed () [0x0000c] in /builddir/build/BUILD/banshee-2.6.0/src/Core/Banshee.Services/Banshee.Collection.Database/DatabaseTrackInfo.cs:186
at Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) [0x00000] in /builddir/build/BUILD/banshee-2.6.0/src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs:436
at (wrapper native-to-managed) Banshee.GStreamer.PlayerEngine.OnAboutToFinish (intptr) <IL 0x00022, 0x0006f>


