Skip to content

Commit

Permalink
Double tap in the player to quickly seek,
Browse files Browse the repository at this point in the history
Show title of the episode in the player,
TImer which shows current time of the played video,
Don't resume video if it is paused after activity was resumed,
Stop automatic source selection after user manually picked something
  • Loading branch information
MrBoomDeveloper committed Feb 21, 2024
1 parent b640b06 commit e311db7
Show file tree
Hide file tree
Showing 10 changed files with 480 additions and 104 deletions.
2 changes: 2 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ android {

release {
debuggable false
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
Expand Down Expand Up @@ -99,6 +100,7 @@ dependencies {
implementation 'com.squareup.moshi:moshi:1.15.0'
implementation 'com.google.code.gson:gson:2.10'
implementation 'com.github.Blatzar:NiceHttp:0.4.4'
implementation 'org.mozilla:rhino:1.7.14'

// Aniyomi
implementation 'io.reactivex:rxjava:1.3.8'
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package com.mrboomdev.awery.catalog.provider;

import androidx.annotation.NonNull;

import com.mrboomdev.awery.catalog.template.CatalogEpisode;
import com.mrboomdev.awery.catalog.template.CatalogMedia;

import org.mozilla.javascript.Context;

import java.util.List;

public class JsExtensionProvider extends ExtensionProvider {

@Override
public void getEpisodes(int page, CatalogMedia media, @NonNull ResponseCallback<List<CatalogEpisode>> callback) {
super.getEpisodes(page, media, callback);
}

public JsExtensionProvider(String script) {
var context = Context.enter();
var scope = context.initSafeStandardObjects();
context.evaluateString(scope, script, null, 1,null);
}

@Override
public String getName() {
return "JsExtensionProvider";
}
}
Loading

0 comments on commit e311db7

Please sign in to comment.