mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
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_min") val thumbsMin: String? = null,
|
||||||
@JsonProperty("thumbs_org") val thumbsOrg: String? = null,
|
@JsonProperty("thumbs_org") val thumbsOrg: String? = null,
|
||||||
@JsonProperty("imdb_link") val imdbLink: 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()
|
// @JsonProperty("play_progress" ) val playProgress : PlayProgress? = PlayProgress()
|
||||||
|
|
||||||
)
|
)
|
||||||
|
@ -462,7 +462,7 @@ class SuperStream : MainAPI() {
|
||||||
|
|
||||||
return newMovieLoadResponse(
|
return newMovieLoadResponse(
|
||||||
data.title ?: "",
|
data.title ?: "",
|
||||||
data.imdbLink ?: "",
|
url,
|
||||||
TvType.Movie,
|
TvType.Movie,
|
||||||
LinkData(
|
LinkData(
|
||||||
data.id ?: throw RuntimeException("No movie ID"),
|
data.id ?: throw RuntimeException("No movie ID"),
|
||||||
|
@ -493,7 +493,7 @@ class SuperStream : MainAPI() {
|
||||||
|
|
||||||
return newTvSeriesLoadResponse(
|
return newTvSeriesLoadResponse(
|
||||||
data.title ?: "",
|
data.title ?: "",
|
||||||
data.imdbLink ?: data.tomatoUrl ?: "",
|
url,
|
||||||
TvType.TvSeries,
|
TvType.TvSeries,
|
||||||
episodes.mapNotNull {
|
episodes.mapNotNull {
|
||||||
Episode(
|
Episode(
|
||||||
|
|
|
@ -89,7 +89,9 @@ object BackupUtils {
|
||||||
val newFile = ContentValues().apply {
|
val newFile = ContentValues().apply {
|
||||||
put(MediaStore.MediaColumns.DISPLAY_NAME, displayName)
|
put(MediaStore.MediaColumns.DISPLAY_NAME, displayName)
|
||||||
put(MediaStore.MediaColumns.TITLE, 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)
|
//put(MediaStore.MediaColumns.RELATIVE_PATH, folder)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue