Adding database function to tracklist