Skip to content

Auto switch http download source when package is missing - #170

Draft
Catizard wants to merge 1 commit into
seraxis:mainfrom
Catizard:feat/fallback_download_source
Draft

Auto switch http download source when package is missing#170
Catizard wants to merge 1 commit into
seraxis:mainfrom
Catizard:feat/fallback_download_source

Conversation

@Catizard

@Catizard Catizard commented Nov 28, 2025

Copy link
Copy Markdown
Collaborator

Waiting wriggle changes the endpoint behavior

There're two cases that we know a package is missing from server:

  • Building the actual download link. Konmai requires us to query a meta data endpoint first to know the actual download link. If it returns 404 or a json string with err message then we know this package is not present on konmai.
  • Downloading file from the actual download link and server responds 404 back. This is currently happening when using wriggle as the download source because it's meta query endpoint doesn't return the actual download link back. The link is constructed by using a specific pattern currently.

Handle the second case is kinda hard because it's an async task. So currently this pr is waiting wriggle to change the endpoint behavior to match what konmai does.

@Catizard
Catizard force-pushed the feat/fallback_download_source branch 2 times, most recently from b44e1ce to ed31e3f Compare June 23, 2026 06:53
# Conflicts:
#	core/src/bms/tool/mdprocessor/HttpDownloadProcessor.java
@Catizard
Catizard force-pushed the feat/fallback_download_source branch from ed31e3f to 4f5e2a1 Compare June 23, 2026 07:47
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

Successfully merging this pull request may close these issues.

1 participant