Series Detail Screen

This commit is contained in:
2025-10-30 15:13:02 +01:00
parent 64354c6bd4
commit a77e36c6ec
5 changed files with 537 additions and 1 deletions
+16
View File
@@ -186,5 +186,21 @@ class BackendApi {
final v = map['id'];
return v == null ? null : (v as num).toInt();
}
Future<void> setShowMeta({
required int showId,
String? resolution,
String? downloadPath,
bool? cliffhanger,
}) async {
final payload = <String, dynamic>{
'action': 'set_show_meta',
'show_id': showId,
if (resolution != null) 'resolution': resolution,
if (downloadPath != null) 'download_path': downloadPath,
if (cliffhanger != null) 'cliffhanger': cliffhanger,
};
await _post(payload);
}
}