Tuesday, May 26 2020

macOS catalina and music

I have a lot of music that I’ve ripped myself. Not the massive collection that some people have, but reasonably well organized and tagged music going way back to the initial versions of iTunes1. Right now, I’m at about 1,300 albums and 17,000 songs. I’ve never really had any issues with iTunes, and while I’ve had to do a few workarounds over the years to get my music to where it needed to go, I’ve been perfectly happy with iTunes.

I delayed upgrading my old mac to Catalina because of the iTunes -> Music transition, and was worried I’d have some problems. I finally got a new mac and was forced to upgrade.

First things first, the upgrade went smooth using Migration Assistant, even though:

  • My iTunes library was ‘Tunespanned’ to an external hard drive.
  • I also use iTunes Match (but not the Apple Music streaming service).
  • I use a lot of command line utilities, including mutt for mail, installed from homebrew.
  • I didn’t bother to do anything specific with very ‘controlling’ apps like Adobe Photoshop and Mathematica. Their installers took care of everything.

Smooth sailing…

I started playing music with Music, and noticed my CPU usage was a bit high. No big deal, probably just sorting out some iCloud crap. But it never relented. Looking in Activity Monitor, Music was using quite a bit of CPU even while not playing, but so was AMPArtworkAgent. I learned snooping around online that AMPArtworkAgent is the Apple Music (Player?) Artwork process that matches album art. “OK,” I say to myself, “I’ve got a number of albums with no art, let it sort itself out like people online say to.” Well, it never did. I then fired up Console.app and noticed that there were repeated messages, 1000’s and 1000’s of them, all with the form of

AMPArtworkAgent	Failed to find the SourceInfo for UUID:931AD28D-7A8F-403E-A7B7-D860F6E53365 error:Error Domain=NSOSStatusErrorDomain Code=9068 "(null)"
AMPArtworkAgent	RequireAction failure: ("IsLockValid(lock)")

I noticed the UUIDs were repeated a lot. In fact, there were only 21 unique UUIDs across over 100,000 messages in 10 minutes. Maybe it’s just a few songs or albums that were fucked up, and if I could fix them, I’d fix my issues?

The temporary ‘fix’

In the meantime, I exported my library as an XML file, bought a copy of Swinsian, and had it import the XML library every startup. It’s not a bad app, and might serve some people very well. However, since I use iTunes Match (or whatever it is called) to sync my music to my phone, I really am tied to Apple Music for now. But Swinsian is a good app to keep around. Recommended if it fits your needs.

Attempts to remedy

I wasn’t able to find anything on the internet reporting on a similar situation. Apple’s discussion forums were useless. So I tried a couple of things (some by accident) with varying degrees of success.

  1. Created a new library (start up Music while holding down the option key). Added a few tracks (with ‘Sync Library’, ‘Copy files to Music Media folder’, and ‘Keep Music Media folder organized’ turned off, even though I usually have those turned on). Fixed the problem.
  2. Started up Music with my original library in Safe mode (hold done command-option while starting up Music). Fixed the problem, probably because it disables AMPArtworkAgent somehow.
  3. Manually added missing artwork to all the iTunes Match matched albums that did not have artwork already (according to a smart playlist). I figured the songs that had been uploaded to iTunes Match weren’t an issue. I don’t have artwork for some of them as it doesn’t exist, and if Apple can’t even find the album to match to, why would it be searching for art? Doesn’t mean that this wasn’t the problem, but… This did not fix the problem.
  4. Repeated #1 but added all of my music. Fixed the problem.

So where did that leave me? Hope to get to an iTunes/Music engineer on the phone to help me track down the issue? Or do #4 and lose my playlists (not a big deal) and ratings & play counts (big deal). I had a last thought that maybe if I exported my library as an XML file, made a new library, and reimported that XML file, maybe it would save ratings & play counts but still behave as if I imported all the songs from scratch? It was worth a try.


Well, it worked! To the one other person on the internet who is having the same problem, if you ever read this, just export your old library as an XML file, created a new library, and import the XML file.

I then re-enabled ‘Copy files to Music Media folder’ and ‘Keep Music Media folder organized’ with no issues, though the ‘Keep Music organized’ one did have to check every file, so it took a bit. Lastly, I re-enabled ‘Sync Library’ and waited for Cloud Music library to do it’s thing.

After a few hours, the results are good. Music is now usable, I don’t think I lost any songs, etc. Only two negative side effects that I’ve noticed so far:

  • My playlists were duplicated. So I had to delete the duplicates.
  • I lost the “Date Added” data, but I’m not overly concerned about this. Pointless metadata for me. I can always go back to the XML file if I need it as well. I’m not that torn up about this either, as for reasons lost in the mists of time, I’ve reimported most of my music at one time or another.

Very annoying that I had to do this at all Apple, but at least I’m up and running again.

  1. I have replaced many of my originally ripped MP3s, ripped at 192 kbps, with AAC files ripped at 256 kbps, and then finally ALAC files. I still have some of those original MP3s, and it looks like the earliest two files were ripped with SoundJam MP and SoundJam v2.1.1. Not sure if I ripped those or downloaded them in college. The earliest bulk rips I did were with iTunes v1.0, v1.1, and iTunes X v1.1.1. Then, at some point in 2002, I started mass ripping all of my CDs. As I said, many of those songs have been replaced with higher quality rips, but some still exist.

Monday, September 30 2019

Wednesday, September 4 2019

Photos from lenses

Below is a listing of lenses that I’ve owned with links to photos that I’ve taken with them and uploaded on flickr. Lenses that I have written up also have links to the article. I do not currently own all of these lenses and will likely never write up my thoughts about all of them.

Leica M mount

Leica LTM mount

Sony E/FE mount

Miscellaneous cameras & lenses

Saturday, August 17 2019

Sony update

As I assumed when I last wrote, I have used my digital camera a bit more than my trusty film cameras. Reasons for this are multiple, but mainly due to a) laziness and b) so many cat photos that don’t need to be on film.

Short summary of the camera: I find some interface quirks annoying, particularly with manual focus lenses, but it’s a relatively easy camera to use in my opinion. The quality of the files is absolutely bonkers. Huge dynamic range and low noise. Shooting manual focus lenses in dim light is nice with the electronic viewfinder. I still find a rangefinder more intuitive in good light. The camera is a bit bulky, but not too bad. Autofocus in dim light is annoying.1

I have acquired a few more lenses, using the rationale of upcoming trips/events.2


As I stated in the previous post, the Zeiss Loxia 21 is pretty amazing. I might have been tempted to get the Loxia 25 instead, had it been released when I originally purchased, because I do love 28mm, and the 25 is as close as you can get. At the same time, I do also like 21mm… At least the Sony system focusses closer than the Leica standard of 0.7m, so I can get tighter framing when I want it. (As it turned out, I got the 25mm anyway.)

Zeiss Batis 25/2

So why the additional purchases? The Batis 25 rationale was threefold:

  1. Zeiss was running a discount promotion on wide angle lenses.
  2. I had $100 B&H Photo credit.
  3. I find manually focusing the Sony to be slower than on Leica M. An autofocus lens in a focal length I like for people seemed to make sense.

I thought back a little bit to that time I borrowed a Canon 24/1.4 from work and shot a few rolls with it (pictures here). Having autofocus on a camera that has great lowlight abilities seemed like a win when I was interacting with people. I have also come to accept the fact that the 28mm focal length is going to be ignored on the Sony system, so 25mm might be as close as it gets. Zeiss particularly seems to feel this way (more on this in a bit).


The Batis is a nice lens. A bit on the large size, but it’s light. It has to be wider than 25mm; it actually seems pretty close to the Loxia 21. Every once in a while, you can get some ‘onion-ring’ bokeh, which is annoying, but it is what it is. And now that Sony has announced a 24/1.4, I might have considered that instead, but too late for that.

I bought it before our annual July 4th gathering of friends and family in 2018, which actually happened in August that year for the same reason I haven’t been developing film: everyone is busy. No complaints. It’s main issue of color fringing in out of focus areas doesn’t bother me much since I mostly stick with B&W. Had the old Canon EF 28/1.8 looked like this years ago, I would have probably never moved to Leica.

Zeiss Loxia 50/2

My beloved Leica 50 Summilux only works okay on the Sony. The corners are kind of crap up until about f/5.6, the handling is a bit fiddly, and it doesn’t integrate into the Sony system that well (like all adapted lenses). The bad corners are fine for certain types of candid shots where they would be out of focus anyway, but a lot of times, I use a lens wide open because I need more light. The Summilux on the Sony didn’t seem like a dependable travel lens to me.

bird is the word

We had a vacation planned to go to Iceland. I had no decent 50mm lens, so picked up the Zeiss Loxia 50/2. It might not be sharp enough for some, or have a bit fussy bokeh, but I like this lens. Reminds me of Leica lenses. Great focusing damping too—much better than the 21mm Loxia in my opinion, as it has less resistance.3 If you like classic lenses, this is a no brainer. It is fatter than an M lens, but the Sony mount has a larger outer diameter. It’s not much taller than an M 50mm lens once you take into account the adapter needed to make up the difference in flange distance to the sensor/film.

Anyway, the trip to Iceland was great, and I had fun with the 3 lens combo (Loxia 21 & 50, and the Batis 25). I mostly used the Batis 25 when walking around town due to the autofocus, and the other two lenses when things were a little slower. I also took my Ricoh GR, which I used here and there, but my wife used more. Photos are here.

It’s funny that this lens gets a bit of flak on the internet forums as not being super sharp wide open. Go to a rangefinder forum, and the equivalent ZM 50 Planar is always touted as super sharp and clinical. My understanding is that they are basically the same lens, with the Loxia being tweaked for the Sony sensor. I personally think it is a fantastic lens and a classic formula.

I did consider getting a Zeiss ZM C-Sonnar 50/1.5 (and probably will anyway). I’ve always been intrigued by the lens, but the focus shift scared me off. That would be taken care of on the Sony. However, it’s not a cheap lens and I would still be adapting it. I do wish Zeiss would come out with a C-Sonnar Loxia. Instant purchase.

Zeiss Loxia 25/2.4

At some point last year, I wrote to Zeiss and asked them if they plan on making a 28mm Loxia. While I did not expect a fully transparent answer and took their response with a grain of salt, they said no, use the Loxia 25mm. There was a Zeiss rebate going on, I had some B&H Photo credit that was about to expire, and so I pulled the trigger.4


I’m happy to report the 25mm focus feel is like the 50mm and not like the 21mm. Yes, 25mm is closer to 21mm than I would like, but it’s also closer to 28mm than 21mm or 35mm. It’s also what is available in the system. So here we are.

I’ve not used it a ton yet, but I can see that this will be my main lens on the Sony. The 21mm will come out when I want the wider angle of view, or just want to change things up; otherwise it not be the companion to the 50mm in the compact 2 lens bag.

Camera handling

On a side note, I previously mentioned that the Sony interface is a bit fiddly. My most recent digital camera experience is with the Ricoh GR, which handles wonderfully with what I think is very intuitive control placement. The Sony is a bit less so.

My opinion has changed somewhat. I just purchased a Nikon D7500 and some lenses for work5. Having used it a bit, I find the Sony system more user friendly. It’s been so long since I’ve used Canon that maybe I would find it the same way. Sony could use some refinement to its interface, but it’s not too bad. I wish they would change a few buttons here or there, and maybe they have on the III and IV models, but I don’t find the cameras too much ‘like a computer’ which is a common criticism.


So this is how I end up with 3 lenses in the 21-25mm range. Dumb, right?

I know there is a ‘trend’ in Sony land to jump ship from the Zeiss lenses to the wonderful Cosina and Sony lenses coming out. They do look great, but I find the quality of the Loxia lenses incredible, particularly the 21 and 25. I’m sure the Sony and Cosina lenses are also incredible, but I’m happy where I am with this system. Had I joined now, I probably would have the Sony 24/1.4 instead of the Batis 25/2, and possibly the Cosina Voigtlander 21/3.5 instead of the Zeiss Loxia 21/2.8. I would have saved a little bit of money and traded half a stop at 21mm for a whole stop at 24/25mm. If I made the swap now, I’d be out an extra few hundred dollars, and I just don’t care enough to bother. I’d rather put that money towards something else, like the ZM C-Sonnar…

For those who might be interested, here’s all of my uploaded photos by lens:

  1. One of the reasons I ended up using manual focus lenses… I hate auto focus hunting.
  2. Errr… rationalization?
  3. This was actually something that bothered me about the 75mm Summilux.
  4. I’m fully aware that the marketing of credit and rebates is working on me.
  5. We have some long telephoto zooms for Nikon, so it doesn’t make a lot of sense to buy into another system.