-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Temporary Poster Background #609
Conversation
Also use FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.ReadWrite on image cache generation FileStream
Qodana for .NET2 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at qodana-support@jetbrains.com
|
This reverts commit 7e504b2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the commented code intentional? Otherwise, looks good
|
||
// TODO: Use FallbackCDNUtil to get the sprites | ||
_gamePosterPath = await ImageLoaderHelper.GetCachedSpritesAsync(FallbackCDNUtil.TryGetAbsoluteToRelativeCDNURL(config.ZonePosterURL, "metadata/"), default); | ||
//_gamePosterPath = await ImageLoaderHelper.GetCachedSpritesAsync(FallbackCDNUtil.TryGetAbsoluteToRelativeCDNURL(config.ZonePosterURL, "metadata/"), default); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove if not in use, or uncomment if you commented it for testing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentional as the code might be used again if the local loading method is removed or we want to use different posters for OOBE
Merging as no more review came :sadge: |
Main Goal
Use poster as temporary background when requested background is not yet downloaded.
New background retrieval mechanism:
Due to the poster having slight transparency, the switching looks a wee bit janky
This PR also contains IOException fixes especially for background loading and image cache processing (really noticeable when user uses Waifu2X)
PR Status :