I don’t know if remember, but long time ago I was looking for an opensource project that could index all the files that are stored on cd’s or dvd’s (see this old post).
It seems somebody coded it, the name of that project is DiskSearch and it’s written in Python.
I didn’t test it a lot yet, but I’ll try it very soon. Opensource is always the solution… but sometimes a bit of patience is needed 😉