Remove Game Selector;

Implement multi-game mining based on the priority list
This commit is contained in:
DevilXD committed 2022-03-30 14:15:26 +02:00
1 parent b94bc1e02e
commit 5af4ee79c3
9 files changed
+164 -261

No files matched your search

+3 -3
View File
@@ -132,7 +132,7 @@ class Channel:
return NotImplemented
def __hash__(self) -> int:
return hash((self.__class__.__name__, self.id))
return self.id
@property
def name(self) -> str:
@@ -247,8 +247,8 @@ class Channel:
return Stream.from_get_stream(self, stream_data)
async def check_online(self) -> bool:
self._stream = stream = await self.get_stream()
if stream is None:
self._stream = await self.get_stream()
if self._stream is None:
invalidate_cache(self, "_payload")
return False
return True