Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background spotlight #29

Closed
yrtnsky opened this issue Jul 13, 2023 · 4 comments
Closed

Background spotlight #29

yrtnsky opened this issue Jul 13, 2023 · 4 comments

Comments

@yrtnsky
Copy link

yrtnsky commented Jul 13, 2023

In Windows 11 was added a feature to use Spotlight images for wallpapers.
There appear images 3840x2160 size.
Does anyone know what request can be used to get a proper reply?
I guess ID is 88000326, json file looks different from files for lockscreen.

@ORelio
Copy link
Owner

ORelio commented Jul 13, 2023

Hi,
For now, I'm not aware of how Windows 11 downloads its wallpaper images.
I tried to replace the ID for spotlight lockscreen image API request with the one you provided but that was not enough.

@MNLierman
Copy link

I'm going to open another issue, but I wanted to comment on this one. I'm aware that you made this in 2021, so this is a little aged, but still it remains that Spotlight API uses 4k, and this downloads only 1080. On my 4K computers this looks like trash. Naturally, as time has gone on, I have replaced most of my monitors to 4K. My new laptop is 4k, so this script, while cool, is unusable because of how blurry and awful the images look. Perhaps the script is using an old API version, and Microsoft updated it? I'll link some other resources I found that have 4K. This tool is still cool because it randomly sets one of the images to the lockscreen, but I'm sure I could duplicate that. Just wondering if you use this yourself, because it's glaringly obvious how unusable this is on 4K. Maybe I can improve it, but I don't know anything about Spotlight and I'm not well versed with JSON and APIs in general, assuming JSON is involved in the API request. I do know C# really well.

@ORelio
Copy link
Owner

ORelio commented Jul 29, 2024

Responded on your issue #30.

ORelio added a commit that referenced this issue Jul 31, 2024
Windows 10 uses Spotlight API v3 (1080p)
Windows 11 uses Spotlight API v4 (4K)

Investigate Windows 11 and find new endpoint
Document new API endpoint in SpotlightAPI.md
Add support for new API version in Spotlight Downloader
Add --api-version command-line switch to select version
Make APIv4 the default version, use --api-version 3 for APIv3
@ORelio
Copy link
Owner

ORelio commented Jul 31, 2024

The new 4K Spotlight API is now supported in SpotlightDownloader v1.5.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants