Problems merging 2 codes (blinking light and dfplayer)

You can read the state of the DF Player to see if the song is done or not. Look at the read example that comes with the library.