Final fix for trailers.to now stop reporting it

Episode subs wont load all the times due to an underlying app bug, Lagrad should fix it soon.
This commit is contained in:
Blatzar 2021-11-30 14:22:46 +01:00
parent 968f3b8b9c
commit 3fe746f1b2
3 changed files with 3 additions and 6 deletions

View file

@ -36,10 +36,6 @@ jobs:
TMP_KEYSTORE_FILE_PATH="${RUNNER_TEMP}"/keystore TMP_KEYSTORE_FILE_PATH="${RUNNER_TEMP}"/keystore
mkdir -p "${TMP_KEYSTORE_FILE_PATH}" mkdir -p "${TMP_KEYSTORE_FILE_PATH}"
echo $ENCODED_STRING | base64 -di > "${TMP_KEYSTORE_FILE_PATH}"/prerelease_keystore.keystore echo $ENCODED_STRING | base64 -di > "${TMP_KEYSTORE_FILE_PATH}"/prerelease_keystore.keystore
- name: Create Local Properties File
run: touch local.properties
- name: Add TMDB API Key
run: echo "TMDB_API_KEY=${{ secrets.TMDB_API_KEY }}" >> local.properties
- name: Run Gradle - name: Run Gradle
run: ./gradlew app:assemblePrerelease run: ./gradlew app:assemblePrerelease
env: env:

View file

@ -45,7 +45,6 @@ android {
"${defaultConfig.versionName}${versionNameSuffix ?: ""}" "${defaultConfig.versionName}${versionNameSuffix ?: ""}"
buildConfigField("String", "BUILDDATE", "new java.text.SimpleDateFormat(\"yyyy-MM-dd HH:mm\").format(new java.util.Date(" + System.currentTimeMillis() + "L));") buildConfigField("String", "BUILDDATE", "new java.text.SimpleDateFormat(\"yyyy-MM-dd HH:mm\").format(new java.util.Date(" + System.currentTimeMillis() + "L));")
buildConfigField("String", "TMDB_API_KEY", "\"" + properties.getProperty("TMDB_API_KEY", "") + "\"")
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

View file

@ -32,7 +32,9 @@ open class TmdbProvider : MainAPI() {
override val hasMainPage = true override val hasMainPage = true
override val providerType = ProviderType.MetaProvider override val providerType = ProviderType.MetaProvider
val tmdb = Tmdb(BuildConfig.TMDB_API_KEY) // Fuck it, public private api key because github actions won't co-operate.
// Please no stealy.
val tmdb = Tmdb("e6333b32409e02a4a6eba6fb7ff866bb")
private fun getImageUrl(link: String?): String? { private fun getImageUrl(link: String?): String? {
if (link == null) return null if (link == null) return null