added Information-Field to TV Shows

This commit is contained in:
2026-02-02 14:46:05 +01:00
parent a78501a6a4
commit a6bd718157
4 changed files with 80 additions and 2 deletions
@@ -15,6 +15,7 @@ class EpisodeItem {
final String? posterPath;
final int? showId;
final String? downloadPath;
final String? showInformation;
EpisodeItem({
required this.id,
@@ -31,6 +32,7 @@ class EpisodeItem {
this.posterPath,
this.showId,
this.downloadPath,
this.showInformation,
});
factory EpisodeItem.fromJson(Map<String, dynamic> j) => EpisodeItem(
@@ -48,6 +50,7 @@ class EpisodeItem {
posterPath: j['poster_path'] as String?,
showId: (j['show_id'] as num?)?.toInt(),
downloadPath: j['download_path'] as String?,
showInformation: j['show_information'] as String?,
);
static bool? _parseBool(dynamic v) {