tattwamasi / TeslaTunes

Copy your iTunes library, automatically converting Apple Lossless to flac, to a destination for use with your Tesla Model S
https://teslatunes.loci.net
43 stars 5 forks source link

Music library stored on secondary drive. #21

Open rohan3au opened 4 years ago

rohan3au commented 4 years ago

99% of my music library is stored on a data drive and my OS (and iTunes) is on the boot drive. iTunes can play all of the music just fine, but the program says all of my music is not accessible and to double check it's accessible in iTunes. I go to itunes and all of the music plays just fine? Screen Shot 2019-09-02 at 6 31 57 pm

tattwamasi commented 4 years ago

That message specifically indicates that the playlist data I’m getting from iTunes does not have the location field set. That can happen for a few reasons but basically, iTunes doesn’t know where it is, so it can’t tell me.

It could have had one but then when iTunes tried playing something, it couldn’t find it (say drive wasn’t avail for example). Seems like when iTunes has that happen, in the old days it would error and tell you. Now it just will try to stream it instead, at least if you subscribe to match or music (not sure if it’s one or both). In that case, the updated playlist info it gives me won’t have a location field. Same thing if the music was added to your library from somewhere else with Apple Music or something but not added to your drive.

I suspect that the drive wasn’t available at some point when you started iTunes, and it is failing over to streaming rather than playing your files. Happens to me a lot (my big library is on a networked drive).

Check this - when you are actively seeing the issue, look in iTunes, right click that playlist song entry and get it’s info/details on screen. You’ll see a location entry on one of the tabs. That’s what the util reads. It’s empty, right? If you know that file is on disk, then completely quit iTunes, not just closing the window. Restart it after making sure the drives and files are available and check your location again. Is it back? Cool. No?

If the location field isn’t empty, make sure the util is looking at the freshest iTunes data by restarting TeslaTunes too, and if it still happens, then it must be something else going on, and we can figure it out together.