LibraryThing has good support for CDs. I just added this by barcode:
For best results, use a music source, such as Amazon UK Music.
LibraryThing has Android and iOS apps that support barcodes using phone camera. I didn't have much luck though.
See this thread on LT for a bit more detail:
PS: I'm not affiliated with LT; just a happy user of many years.
PPS: I was just reading a post on another forum about using Jellyfin (a well-known media server and player) for serving books. Funny, that.
--