Skip to content

Conversation

curbengh
Copy link

@asandikci
Copy link
Collaborator

Thank you for your PR. Could you please resolve problems in CI build 🙏🏻

@curbengh
Copy link
Author

curbengh commented Sep 7, 2025

Added missing HOOK in SponsorBlockFragment.java

@asandikci
Copy link
Collaborator

still failing. Could you please re-check for typos?

@asandikci asandikci changed the base branch from master to dev September 7, 2025 10:35
@curbengh
Copy link
Author

curbengh commented Sep 8, 2025

added missing ,

@curbengh
Copy link
Author

curbengh commented Sep 9, 2025

probably need to clear CI cache?

@asandikci
Copy link
Collaborator

probably need to clear CI cache?

I'm not sure, cache should not a problem. Could you please re-view logs:

/home/runner/work/Tubular/Tubular/app/src/main/java/org/schabi/newpipe/player/Player.java:2625: error: an enum switch case label must be the unqualified name of an enumeration constant
            case HOOK -> prefs.getString(
                 ^
> Task :app:compileDebugJavaWithJavac
/home/runner/work/Tubular/Tubular/app/src/main/java/org/schabi/newpipe/util/ExtractorHelper.java:426: error: cannot find symbol
        result.includeHookCategory =
              ^
  symbol:   variable includeHookCategory
  location: variable result of type SponsorBlockApiSettings
/home/runner/work/Tubular/Tubular/app/src/main/java/org/schabi/newpipe/fragments/list/sponsorblock/SponsorBlockFragment.java:334: error: cannot find symbol
                        context, SponsorBlockCategory.HOOK),
                                                     ^
  symbol:   variable HOOK
  location: class SponsorBlockCategory
/home/runner/work/Tubular/Tubular/app/src/main/java/org/schabi/newpipe/util/SponsorBlockHelper.java:87: error: an enum switch case label must be the unqualified name of an enumeration constant
            case HOOK -> {
                 ^
/home/runner/work/Tubular/Tubular/app/src/main/java/org/schabi/newpipe/util/SponsorBlockHelper.java:166: error: an enum switch case label must be the unqualified name of an enumeration constant
            case HOOK -> context.getString(
                 ^
/home/runner/work/Tubular/Tubular/app/src/main/java/org/schabi/newpipe/util/SponsorBlockHelper.java:193: error: an enum switch case label must be the unqualified name of an enumeration constant
            case HOOK -> context
                 ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
6 errors


FAILURE: Build failed with an exception.
> Task :app:compileDebugJavaWithJavac FAILED

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

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.

2 participants