Just to add to shmn's,
If you keep your music in "Music" folder, you just need to drop the .nomedia into the root of the folder. It will automatically effect all your music sub folders and prevent them from being scanned by Android's media-scanner.
Also, by default Android is supposed to skip Music folder from displaying its images, so is there a chance, you place the music in your own directory of choice ?