added skip opening for tv shows

* available for tv shows, where metaDB has the needed information
This commit is contained in:
2021-07-17 19:40:16 +02:00
parent 26d2da923b
commit 9dfd2cf70b
6 changed files with 97 additions and 17 deletions

View File

@ -42,8 +42,6 @@ class MetaDBController {
val url = URL("$repoUrl/list.json")
val json = url.readText()
Thread.sleep(5000)
mediaList = Gson().fromJson(json, MediaList::class.java)
}
}
@ -148,11 +146,11 @@ data class EpisodeMeta(
@SerializedName("tmdb_number")
val tmdbNumber: Int,
@SerializedName("opening_start")
val openingStart: Int,
val openingStart: Long,
@SerializedName("opening_duration")
val openingDuration: Int,
val openingDuration: Long,
@SerializedName("ending_start")
val endingStart: Int,
val endingStart: Long,
@SerializedName("ending_duration")
val endingDuration: Int
val endingDuration: Long
)