ronie
Registered User
Registered User
Posts: 2
Joined: Sun Feb 17, 2013 10:51 pm

Response format for empty strings

Thu Mar 07, 2019 12:23 am

hi zag,

would it be possible to return an empty string (or nothing at all) for album genre / album style when no data is available?
currently it often returns "..." instead.

for example:
https://www.theaudiodb.com/api/v1/json/ ... 7380928d80

User avatar
zag
Site Admin
Site Admin
Posts: 1249
Joined: Wed Jun 06, 2012 9:19 am
Country: United Kingdom

Re: Response format for empty strings

Thu Mar 07, 2019 9:35 am

Ahh nice catch, I fixed this bug for Artists and Tracks years ago but looks like I forgot Albums.

All sorted now. They will return an empty string generally if the album has been edited. NULL if not.

ronie
Registered User
Registered User
Posts: 2
Joined: Sun Feb 17, 2013 10:51 pm

Re: Response format for empty strings

Thu Mar 07, 2019 12:31 pm

great, thanx!

Return to “Developers”