maintenance MM.DB

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

Milagro
Posts: 90
Joined: Sun Jun 20, 2010 7:21 am

maintenance MM.DB

Post by Milagro »

I would like to maintain my Media Monkey database.
I have tried SQLite and FireFox SQLite manager to run the following queries.


Empty albums with less then 4 song:
SELECT album, COUNT (album) FROM album GROUP BY test.songs

Empty genres with less then 50 song:
SELECT genre, COUNT (genre) FROM songs GROUP BY Genre

Delete double songs
SELECT album, artist, track title, COUNT (title song) FROM test.songs GROUP BY title song

Determine is the artist has the corrected genre
SELECT album, artist, genre FROM songs GROUP BY albumartist

Is there a tool to run these query's or some plugins to get the same result?
Lowlander
Posts: 56628
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: maintenance MM.DB

Post by Lowlander »

Milagro
Posts: 90
Joined: Sun Jun 20, 2010 7:21 am

Re: maintenance MM.DB

Post by Milagro »

That is exactly what i need,

Only it seem that this query don't work

Displaying double songs:
SELECT songtitle,albumartist,
ROUND(songlength *1.66666666666667E-05,2) AS minutes,extension,
COUNT(songtitle) AS doubleSongs
FROM songs
GROUP BY minutes
HAVING doubleSongs >1
ORDER BY doubleSongs desc
Post Reply