AlbumObjects don't display in the web interface

I’m working on a new channel and returning an ObjectContainer containing a bunch of AlbumObjects. THe code seems to be working find because they show up on my android phone but in plex for web it just shows nothing. Using Firefox’s developer tools I can see all the albums being included in the http response. Is this a known bug?

I was having trouble getting a PhotoAlbumObject to show in the web interface (it was also included in the xml). Changing the rating_key of the object made it appear.

Changing it to what though? I’m just using a unique ID right now, is there some restriction on what it can be?

I don’t even know what the problem was, I just tried changing it random things and it sometimes worked. Maybe its a caching issue.

Actually I was mistaken, the xml is different. For DirectoryObject, ArtistObject and PlaylistObject the XML uses a <Directory> tag. For AlbumObject it uses an <Object> tag which breaks the web UI.