Heads-up: How to deal with content types / media types
#20
(2017-01-05, 00:16)marcelveldt Wrote:
(2017-01-05, 00:14)ronie Wrote: that's the album type as far as i can tell.
it's not related to media type.

Hmmm, but why do all other json endpoints return the mediatype as the type property except for the album one ?
It doesn't seem very consistent to me but maybe I'm missing something very obvious :-)

Since PR#10573 the music database now will store a string as "strType" for album "Type", intended to be pulled from song tag Musicbrainz ReleaseType if present. There is also a separate strReleaseType that's really a boolean album/single and can work as a fallback if strType is null. I suppose JSON api maybe should be tweaked?

scott s.
.
Reply


Messages In This Thread
RE: Heads-up: How to deal with content types / media types - by scott967 - 2017-01-05, 22:31
Logout Mark Read Team Forum Stats Members Help
Heads-up: How to deal with content types / media types1