I have iTunes 12.6. I read that after 12.2 iTunes doesn't create .xml to store playlists. Is the .itl the same thing? Will it have my playlists? I tried importing the library.itl to my new computer, but nothing happened. How do I get my playlists to a new computer when using iTunes 12.2 or later?
ITunes library .xml vs. .itl
itunesmigration
Best Answer
It sounds like the reason you've run into problems is that you've tried to manually migrate across your iTunes data from your Time Machine Backup.
Without knowing exactly what you did, if you copied the entire iTunes folder from your TM backup to your new Mac, one thing you can try is to tell iTunes where that folder was copied to. To do this you would:
Migration Assistant
Since you're migrating to a new Mac, you'd probably be better off starting again and using Migration Assistant to transfer all your data across. This will give you the option of migrating what you choose from a Time Machine backup or directly from your other Mac (if you have a way of connecting to it). Migration Assistant also provides other options.
To use Migration Assistant:
Note: This process may take some time.
For more information see Move your content to a new Mac.