This took me a few hours to figure out, but I thought I'd post this here in case anyone is having the same issue migrating to a new mac and enabling home sharing of music and videos.
I am in the process of migrating from a 2012 Mac Mini to a 2020 Mac Mini M1. The old Mac Mini was running MacOS Catalina 10.15.7 and the new Mac Mini is running the latest MacOS Ventura 13.1.
Whenever I tried to enable Settings => General => Sharing => Media Sharing, it would prompt me to log in with my Apple ID, but then never actually turn on the Home Sharing service. Some time the Family process would be not responding and the Apple ID and password dialog box would just have a spinner indefinitely waiting. In some cases, this actually prevented quitting the Settings.app and also prevented restarting the computer (had to pull the power plug multiple times in this process).
Finally, I realized that the computer needed to be "authorized"
Once I did this, then I could go into Settings => General => Sharing => Media Sharing and successfully turn on Media Sharing. Then I could go to my Apple TV box connected to my TV and browse and play all the media in my library.
For some reason, browsing the Home Sharing Media on my iPhone doesn't work correctly (takes forever to load the names of the movies and then errors when attempting to play a movie). If we need to view media on iPhone or iPad, we plug in the device with a USB cable and transfer files from the Mac Mini.
I have all of my media stored on an external hard drive and the metadata for the music and movies are stored in the files themselves. For Music, I use X Lossless Decoder => Mp3tag. For movies, I use MakeMKV => Handbrake => Subler. Most media, I buy on physical discs, but I also have a few purchased items from the iTunes store. I re-created the Music and TV libraries by importing all the files again (note that this loses the play counts). For the iTunes store purchased, the metadata is not re-read from disc until you check the item info (Cmd + I) on each item.
I am in the process of migrating from a 2012 Mac Mini to a 2020 Mac Mini M1. The old Mac Mini was running MacOS Catalina 10.15.7 and the new Mac Mini is running the latest MacOS Ventura 13.1.
Whenever I tried to enable Settings => General => Sharing => Media Sharing, it would prompt me to log in with my Apple ID, but then never actually turn on the Home Sharing service. Some time the Family process would be not responding and the Apple ID and password dialog box would just have a spinner indefinitely waiting. In some cases, this actually prevented quitting the Settings.app and also prevented restarting the computer (had to pull the power plug multiple times in this process).
Finally, I realized that the computer needed to be "authorized"
- From the Music.app or TV.app, Account => Account Settings
- In the Apple ID summary section, next to Computer Authorizations, Deauthorize All. Note that this is a once a year option, but handy if you have devices that are authorized but you no longer have physical control over.
- From the Music.app or TV.app, Account => Authorizations => Authorize This Computer
Once I did this, then I could go into Settings => General => Sharing => Media Sharing and successfully turn on Media Sharing. Then I could go to my Apple TV box connected to my TV and browse and play all the media in my library.
For some reason, browsing the Home Sharing Media on my iPhone doesn't work correctly (takes forever to load the names of the movies and then errors when attempting to play a movie). If we need to view media on iPhone or iPad, we plug in the device with a USB cable and transfer files from the Mac Mini.
I have all of my media stored on an external hard drive and the metadata for the music and movies are stored in the files themselves. For Music, I use X Lossless Decoder => Mp3tag. For movies, I use MakeMKV => Handbrake => Subler. Most media, I buy on physical discs, but I also have a few purchased items from the iTunes store. I re-created the Music and TV libraries by importing all the files again (note that this loses the play counts). For the iTunes store purchased, the metadata is not re-read from disc until you check the item info (Cmd + I) on each item.