Open Failed-Spy opened 3 months ago
Same issue. Why this happened? Is there someone here plz?
Yep, same here. Looks like something broke.
same. Could it be a numbers thing? Like the unsplash API got overloaded or something?
I did some digging and added some debug logs to the plugin. It looks like Unsplash's random endpoint is throwing 500s.
Getting background with theme: seasons and holidays plugin:beautitab:6369 Seasonal tag: spring plugin:beautitab:6369 Unsplash URL: https://source.unsplash.com/random?spring&cachetag=MonMay272024 random:1 Failed to load resource: the server responded with a status of 503 (Service Unavailable)
Since I've already made some debug logging, I'll make PR to push it upstream. Handy for troubleshooting.
Okay, looking into this a bit more. It looks like source.unsplash.com has been depreciated for some time, and has only been left in place for legacy applications. They don't support it and I've seen a lot of other posts around reddit where people have had problems with it going back over a year.
The supported method is to use their new API, which requires registering an application and getting an API key. I'm going to pursue this route and will make a PR to the plugin after some thinking, coding, and testing.
In case source.unsplash.com stays down for an extended period of time, a temporary workaround would be to go directly to unsplash.com and download some backgrounds locally, add them to the plugin and then set the background theme to Local. It won't be as random or have as many images, but it will be better than the grey background!
I'm also having this issue. Thought I configured the plugin wrong at first. @andrewmcgivery do you need some help testing out the PR before approving it? I think it'd be nice to get the random backgrounds working out of the box (though on the bright side, I remember where my local wallpaper folder is now)
Until this is fixed, I'm using a service that returns Bing's image of the day. I've selected "custom" and entered this URL:
https://bing.biturl.top/?resolution=1920&format=image&index=0&mkt=zh-CN
You can look at the documentation and code here: https://github.com/TimothyYe/bing-wallpaper
I'm having the same issue as everyone else. Why isn't the suggested fix being approved?
Until this is fixed, I'm using a service that returns Bing's image of the day. I've selected "custom" and entered this URL:
https://bing.biturl.top/?resolution=1920&format=image&index=0&mkt=zh-CN
You can look at the documentation and code here: https://github.com/TimothyYe/bing-wallpaper
This is a nice work around. Appreciate the suggestion.
No image for the background is being shown. I even tried changing the themes to check if it's a theme problem, but it didn't seem like it.![Screenshot 2024-05-27 174418](https://github.com/andrewmcgivery/obsidian-beautitab/assets/170945898/a2218e01-2ca7-4cb5-a6fc-87144db42a41)