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

feat(multisrc): new theme #2347

Merged
merged 5 commits into from
Oct 10, 2023
Merged

feat(multisrc): new theme #2347

merged 5 commits into from
Oct 10, 2023

Conversation

Secozzi
Copy link
Contributor

@Secozzi Secozzi commented Oct 9, 2023

Closes #2226

Splits kaido and aniwatch into two different sources, and fixes some video issues.
Adds new extractor to libs, and fixes an issue with playlist-utils

Checklist:

  • Updated extVersionCode value in build.gradle for individual extensions
  • Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
  • Referenced all related issues in the PR body (e.g. "Closes #xyz")
  • Added the isNsfw = true flag in build.gradle when appropriate
  • Have not changed source names
  • Have explicitly kept the id if a source's name or language were changed
  • Have tested the modifications by compiling and running the extension through Android Studio

@Secozzi Secozzi requested a review from Claudemirovsky October 9, 2023 17:05
Claudemirovsky
Claudemirovsky previously approved these changes Oct 9, 2023
Copy link
Contributor

@Claudemirovsky Claudemirovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

11/10 please nuke aniwatch

multisrc/overrides/zorotheme/default/additional.gradle Outdated Show resolved Hide resolved
multisrc/overrides/zorotheme/kaido/additional.gradle Outdated Show resolved Hide resolved
map { async(Dispatchers.Default) { f(it) } }.awaitAll().filterNotNull()
}

private inline fun <A, B> Iterable<A>.parallelCatchingFlatMap(crossinline f: suspend (A) -> Iterable<B>): List<B> =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

return any { it.equals(s, ignoreCase) }
}

private fun apiHeaders(referer: String): Headers = headers.newBuilder().apply {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

headersBuilder() >>>>> headers.newBuilder()

@Secozzi Secozzi marked this pull request as ready for review October 10, 2023 15:24
@jmir1 jmir1 merged commit a33aada into master Oct 10, 2023
@jmir1 jmir1 deleted the aniwatch branch October 10, 2023 22:42
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.

AniWatch preferred server option
3 participants