Hi. For me, it depends on what you are seeking from Buddhism.
For example, if you are meditating, is the music hindering your concentration/meditation? Is music always popping into your head when you meditate? If so, then it is a hindrance. If not, then it is not a hindrance.
Otherwise, does the type of music you listen to impair your moral judgment/sensibilities?
For me, it is important to understand the harm caused by not following a precept. If there is not much or any discernable harm occurring then we probably need to reflect upon the precept more deeply.
Personally, I’ve never found music to be any great problem. Personally, for me, transitioning (many years ago) from sexuality to celibacy had some challenges. I imagine being sexually active may cause some strong hindrances to meditation concentration. But starting & practicing meditation many years ago was never hindered by music if it was listened to.
This said, when I gave up sex, certain types of music naturally dropped away at the same time. For example, ever since I gave up sex (before I found Buddhism) I have been unable to listen to the music of the rock band called Led Zeppelin. Once my mind developed a sense of sexual responsibility or harmlessness then their music instantly became dumb to me.
I think the 8 precepts are a whole package. They include refraining from sex, drugs, music, dancing, wearing make-up, etc. But, in my experience, types of music that are not inherently related to sex, drugs, dancing, sexual attractiveness, etc, are not a significance hindrance.