Micolithe
Agender
36 years old
Philadelphia, PA
Online Now
Last Login: 08/30/2007

Agender Enby, Trans, Gay, AND the bearer of the gamer's curse. Not a man, not a woman, but instead I am puppy.
I got a fat ass and big ears.

--

Yes I did the cooking mama Let's Play way back when. I post alot about Tech (mostly how it sucks) and Cooking and Music and Television Shows and the occasional Let's Play video
💖@FadeToZac

--

We all do what we can ♫

So we can do just one more thing ♫

We can all be free ♫

Maybe not in words ♫

Maybe not with a look ♫

But with your mind ♫


last.fm listening



Things I have learned about the last.fm API that were relevant to troubleshooting:

Sometimes the album art comes as a png and sometimes it is a jpeg and the php gd library does not have a catch-all image creation function for me to pass a url to, I have to substring out the extension and make a decision.

If you are listening to a song right the fuck now the date field is not present in the API response at all, which if I want to display it on the image I had to put in an explicit check for that.

I have also remembered why I did not grow up to be a web developer and it's because PHP sucks lmao


You must log in to comment.