forked from recloudstream/cloudstream
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c9f393d0e3
2 changed files with 6 additions and 4 deletions
|
@ -376,7 +376,7 @@ class SuperStream : MainAPI() {
|
|||
@JsonProperty("thumbs_min") val thumbsMin: String? = null,
|
||||
@JsonProperty("thumbs_org") val thumbsOrg: String? = null,
|
||||
@JsonProperty("imdb_link") val imdbLink: String? = null,
|
||||
@JsonProperty("quality_tags") val qualityTags: ArrayList<String> = arrayListOf(),
|
||||
// @JsonProperty("quality_tags") val qualityTags: ArrayList<String> = arrayListOf(),
|
||||
// @JsonProperty("play_progress" ) val playProgress : PlayProgress? = PlayProgress()
|
||||
|
||||
)
|
||||
|
@ -462,7 +462,7 @@ class SuperStream : MainAPI() {
|
|||
|
||||
return newMovieLoadResponse(
|
||||
data.title ?: "",
|
||||
data.imdbLink ?: "",
|
||||
url,
|
||||
TvType.Movie,
|
||||
LinkData(
|
||||
data.id ?: throw RuntimeException("No movie ID"),
|
||||
|
@ -493,7 +493,7 @@ class SuperStream : MainAPI() {
|
|||
|
||||
return newTvSeriesLoadResponse(
|
||||
data.title ?: "",
|
||||
data.imdbLink ?: data.tomatoUrl ?: "",
|
||||
url,
|
||||
TvType.TvSeries,
|
||||
episodes.mapNotNull {
|
||||
Episode(
|
||||
|
|
|
@ -89,7 +89,9 @@ object BackupUtils {
|
|||
val newFile = ContentValues().apply {
|
||||
put(MediaStore.MediaColumns.DISPLAY_NAME, displayName)
|
||||
put(MediaStore.MediaColumns.TITLE, displayName)
|
||||
put(MediaStore.MediaColumns.MIME_TYPE, "application/json")
|
||||
// While it a json file we store as txt because not
|
||||
// all file managers support mimetype json
|
||||
put(MediaStore.MediaColumns.MIME_TYPE, "text/plain")
|
||||
//put(MediaStore.MediaColumns.RELATIVE_PATH, folder)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue