![:(](./images/smilies/icon_sad.gif)
right before my music showed up Debug View said this:
[6896] Going to make final callback 5544
[6896] 1440 DB lock finished, took 430.
What should I do with the Debug log?
Moderator: Gurus
Just disable the start up scan. You can still use file monitor, and the problem won't occur.Funkafonik wrote:Finally some answers about this! My MM also started doing this not long ago and couldn't figure it out...
until this thread mentioning MonkeyTunes that I've bought and installed at around the time my MM started acting up.
I love File Monitor and MonkeyTunes, so hopefully a fix is coming to allow the use of both at the same time!
thx!
Hmm but like I mentioned in the other thread, I did have it set to Startup Scan OFF...nohitter151 wrote:Just disable the start up scan. You can still use file monitor, and the problem won't occur.Funkafonik wrote:Finally some answers about this! My MM also started doing this not long ago and couldn't figure it out...
until this thread mentioning MonkeyTunes that I've bought and installed at around the time my MM started acting up.
I love File Monitor and MonkeyTunes, so hopefully a fix is coming to allow the use of both at the same time!
thx!
I wonder if I add a line of code in MonkeyTunes that 10 seconds after it starts up to send an SDB.ProcessMessages call because I think by connecting with the Apple Remote which causes the deadlock to magically break and MM start working again.Funkafonik wrote:Hmm but like I mentioned in the other thread, I did have it set to Startup Scan OFF...
OK, I've played around some more and as of this morning, even with no signs of File Monitoring, MM keeps hanging on startup so I had to completely remove MonkeyTunes, and now it's all back to normal, MM is back up to full speed. So I'm guessing the problem is with MonkeyTunes itself...Melloware wrote:I wonder if I add a line of code in MonkeyTunes that 10 seconds after it starts up to send an SDB.ProcessMessages call because I think by connecting with the Apple Remote which causes the deadlock to magically break and MM start working again.Funkafonik wrote:Hmm but like I mentioned in the other thread, I did have it set to Startup Scan OFF...
I don't know what would be causing the deadlock but something surely is. I might add that in the code and have you try it out.
Code: Select all
8.673s - PID:500 - Closing database.
8.673s - PID:500 - DB:_Query remained running:_SELECT DISTINCT Albums.ID,Albums.Artist,Albums.Album,Albums.Tracks FROM Albums ORDER BY Albums.Album
8.673s - PID:500 - DB:_Query remained running:_SELECT Playlists.IDPlaylist, IFNULL(Playlists.IsAutoPlaylist, 0) IsAutoPlaylist,IFNULL((SELECT A.PlaylistName FROM Playlists A WHERE A.IDPlaylist=Playlists.ParentPlaylist), 'Root') || ' - ' || Playlists.PlaylistName AS NAME, COUNT(PlaylistSongs.IDPlaylistSong) as REC_COUNT FROM Playlists LEFT OUTER JOIN PlaylistSongs ON Playlists.IDPlaylist = PlaylistSongs.IDPlaylist GROUP BY Playlists.IDPlaylist, IsAutoPlaylist, NAME ORDER BY NAME
8.673s - PID:500 - DB:_Query remained running:_SELECT Genres.GenreName FROM Genres ORDER BY Genres.GenreName
8.673s - PID:500 - DB:_Query remained running:_SELECT DISTINCT Artists.Artist FROM Artists, ArtistsSongs, GenresSongs, Genres WHERE Genres.GenreName = 'Classical' AND Artists.ID=ArtistsSongs.IDArtist AND Artists.Albums != 0 AND ArtistsSongs.IDSong=GenresSongs.IDSong AND Genres.IDGenre = GenresSongs.IDGenre ORDER BY Artists.Artist
Code: Select all
SDBDBIterator iterator = (SDBDBIterator)MediaMonkey.Database.OpenSQL( "SELECT DISTINCT TextData FROM AddSongInfo WHERE DataType=200 Order BY TextData");
while (!iterator.EOF) {
iterator.Next();
}
Code: Select all
System.GC.Collect()