https://mandarapte.com/apple/how-to-import-itunes-music-library-into-apple-music-after-a-clean-install-of-macos-catalina-on-your-new-computer-while-keeping-intact-play-counts-and-star-ratings-for-respective-songs-and-albums/
How to import iTunes Music Library into Apple Music after a clean install of macOS Catalina on your new computer while keeping intact play counts and star ratings for respective songs and albums.