mirror of
https://github.com/asbplayer/asbplayer.git
synced 2026-11-04 13:17:55 +00:00
Allow configuring the Jimaku (jimaku.cc) subtitle source API URL #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The online subtitle search currently always talks to
https://jimaku.cc/api— the base URL is hard-coded asdefaultJimakuBaseUrlincommon/subtitle-sources/subtitle-sources.ts.JimakuClientalready accepts abaseUrloption, but nothing ever passes one.It would be great if the Jimaku API URL were configurable (e.g. a Jimaku API URL field next to the existing Jimaku API key field in the online subtitle search dialog), defaulting to
https://jimaku.cc/apiwhen empty.Motivation
Proposed behaviour
onlineSubtitleSourceConfiglike the other Jimaku settings.https://jimaku.cc/api.https://jimaku.cc/api/behaves the same ashttps://jimaku.cc/api.fetchfrom the extension UI and app.Happy to submit a PR for this.
Implementation PR: keir/asbplayer-fork#1
(It lives on the
keir/asbplayer-forkworking fork because this repo is a read-only mirror — Forgejo never allows pull requests targeting mirrors.)