fix crashing for ALL extensions

This commit is contained in:
jmir1 2023-02-09 11:44:26 +01:00
parent fd7f90f34b
commit 77223612d7
5 changed files with 13 additions and 5 deletions

View file

@ -3,7 +3,7 @@
I acknowledge that:
- I have updated:
- To the latest version of the app (stable is v0.12.3.9)
- To the latest version of the app (stable is v0.12.3.10)
- All extensions
- If this is an issue with an anime extension, that I should be opening an issue in https://github.com/jmir1/aniyomi-extensions
- I have searched the existing issues and this is new ticket **NOT** a duplicate or related to another open issue

View file

@ -52,7 +52,7 @@ body:
label: Aniyomi version
description: You can find your Aniyomi version in **More → About**.
placeholder: |
Example: "0.12.3.9"
Example: "0.12.3.10"
validations:
required: true
@ -97,7 +97,7 @@ body:
required: true
- label: I have tried the [troubleshooting guide](https://aniyomi.jmir.xyz/help/guides/troubleshooting/).
required: true
- label: I have updated the app to version **[0.12.3.9](https://github.com/jmir1/aniyomi/releases/latest)**.
- label: I have updated the app to version **[0.12.3.10](https://github.com/jmir1/aniyomi/releases/latest)**.
required: true
- label: I have updated all installed extensions.
required: true

View file

@ -32,7 +32,7 @@ body:
required: true
- label: If this is an issue with an extension, I should be opening an issue in the [extensions repository](https://github.com/jmir1/aniyomi-extensions/issues/new/choose).
required: true
- label: I have updated the app to version **[0.12.3.9](https://github.com/jmir1/aniyomi/releases/latest)**.
- label: I have updated the app to version **[0.12.3.10](https://github.com/jmir1/aniyomi/releases/latest)**.
required: true
- label: I will fill out all of the requested information in this form.
required: true

View file

@ -30,7 +30,7 @@ android {
minSdk = AndroidConfig.minSdk
targetSdk = AndroidConfig.targetSdk
versionCode = 72
versionName = "0.12.3.9"
versionName = "0.12.3.10"
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")
buildConfigField("String", "COMMIT_SHA", "\"${getGitSha()}\"")

View file

@ -28,6 +28,14 @@ open class Video(
audioTracks: List<Track> = emptyList(),
) : this(url, quality, videoUrl, null, headers, subtitleTracks, audioTracks)
constructor(
url: String,
quality: String,
videoUrl: String?,
uri: Uri?,
headers: Headers? = null,
) : this(url, quality, videoUrl, uri, headers, emptyList(), emptyList())
@Transient
@Volatile
var status: Int = 0