private void DeleteFromDatabase(GUIListItem item)
 {
     // delete from database
     if (Util.Utils.IsPicture(item.Path))
     {
         //Remove from picture database
         PictureDatabase.DeletePicture(item.Path);
     }
     else if (Util.Utils.IsVideo(item.Path))
     {
         //Remove from video database
         VideoDatabase.DeleteMovie(item.Path);
     }
     else if (Util.Utils.IsAudio(item.Path))
     {
         //Remove from music database
         if (dbMusic == null)
         {
             dbMusic = MusicDatabase.Instance;
         }
         if (dbMusic != null)
         {
             dbMusic.DeleteSong(item.Path, true);
         }
     }
 }