From 48f03354d3b814ded352b66a9b5edc219f186460 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 23 Dec 2024 13:07:14 +0100 Subject: [PATCH] Disable subscribe/unsubscribe commands temporarily --- lib/api/commands.dart | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/api/commands.dart b/lib/api/commands.dart index 0528350..671c195 100644 --- a/lib/api/commands.dart +++ b/lib/api/commands.dart @@ -36,21 +36,21 @@ class Command extends PlayerConnectionEvent { return jsonEncode(toJson()); } - factory Command.subscribe(String property) { - return Command( - type: 'subscribe', - value: { - 'property': property, - }, - ); - } + // factory Command.subscribe(String property) { + // return Command( + // type: 'subscribe', + // value: { + // 'property': property, + // }, + // ); + // } - factory Command.unsubscribeAll() { - return Command( - type: 'unsubscribe_all', - value: {}, - ); - } + // factory Command.unsubscribeAll() { + // return Command( + // type: 'unsubscribe_all', + // value: {}, + // ); + // } factory Command.load(String url) { return Command(