Hi Alex,
It sounds like you're having some issues with your AirPods when trying to play music in iTunes on your Mac.
We understand that this is important to you and we want you to be able to listen to your music too.
Based off of the information you provided, we have some recommendations that may be of help:
We would encourage some initial research to help you in your troubleshooting.
The following resource will give us a good place to start:
If you see an error in Finder or iTunes on your computer
Taking note of the section that asks you to make sure both iTunes and your Mac are up-to-date.
If the issue persists: Try the AirPods with a different device. Do they preform correctly?
If you try to listen to audio on your Mac that is outside of the iTunes platform (like a YouTube video) do you still encounter the same issue?
This can help us understand where the issue is originating form.
Lastly, we'll want to make sure that the computer's serial number appears in "About This Mac" or "System Information."
If you need any guidance with this, this article is a great resource:
Find the model and serial number of your Mac
And we'll use Apple Diagnostics to see if your device can gather any information that would be useful to our troubleshooting.
The following article is a resource on how to capture that information:
How to use Apple Diagnostics on your Mac
In the event you find yourself needing to reach out for further servicing needs or any other repair options, please ensure your device is updated and contact Apple Support, we're happy to help.
Thanks for reaching out to Apple Communities.
Be well!