Read the statement by Michael Teeuw here.
Development Branch -- MMM-Unsplash
-
I normally sit pointed towards the dev branch only because I’ve gotten used to helping out with calendar issues where I can. I noticed two days ago that a specific module (MMM-Unsplash) has stopped working. What’s the best way to check what’s changed to help troubleshoot the issue? If nothing has changed on my end (still same pi) then thinking it’s the dev branch change and perhaps may impact others?
-
@yk the dev branch has changed a lot. electron 11, and a lot of updates
-
Darn, I was looking at using MMM-Unsplash to replace my background module.
-
@bkeyport only 3 weeks til release… worried about what else will break…
-
@sdetweil said in Development Branch -- MMM-Unsplash:
only 3 weeks til release… worried about what else will break…
Nothing that you can’t fix. :thumbsup:
-
@mykle1 I don’t think the base will be a problem. the modules however
-
@sdetweil said in Development Branch -- MMM-Unsplash:
I don’t think the base will be a problem. the modules however
In that case, get ready to get busy. ;-)
-
I’m going through normal debug type approaches to see what’s up. Seems Unsplash hasn’t been updated in ages. Can someone remind me how to inspect the rendered mm page remotely? I’m thinking I’ll just browse to the ip, and slowly go through each div via inspect. I’ve done it before but don’t remember how I did it. Painful but easily doable. This could just be a “something changed and it’s a style issue”.
-
Got it. Tweaked config.js to browse to ip:8080. I think you guys are right, there are going to be many modules broken. ;)
-
@yk hm… looking at the code and testing that module, this line (44) fails
img1.src = obj.urls.customas ‘custom’ doesn’t exist

-
@sdetweil saw that. Love the fact that it worked just a few days ago. I have a funny feeling it’s between Unsplash API and new work in MM. I’m reading the API docs now. It’s a simple setup so hopefully a tweak shouldn’t be too tough.
-
@yk its not in MM… don’t you love coincidences??
the api just didn’t return the data it used to return -
@sdetweil hehe. Agreed. And now I have a decision to make. Hack it to work or rewrite. 😉
-
@yk well, how did the ‘custom’ image compare to one of the other choices? and can u force the other choice back to what custom was…
should be only a couple lines of code…
i checked my background image code modules and they are ok… (local files)
-
@sdetweil Fixed. It’s a change in the Unsplash API. obj.urls.custom is no longer an option returned in JSON. I changed “custom” to “raw” and it’s good.
Lovely.
-
… I should check mine and flip over to dev myself.
-
@bkeyport this problem had nothing to do with MM… just coincidence…(which I HATE!)
-
@sdetweil Yeah, I know, but it don’t hurt to check.
-
@yk said in Development Branch -- MMM-Unsplash:
obj.urls.custom
for all out there as stupid as I am… :-) its this which has to be modified from .custom to .raw (row 130 in my WallberryTheme.js file).
from:
p.url = photoData.urls.custom;to:
p.url = photoData.urls.raw;Cheers and thanks for the hack mates!
Patrick
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login