Fix AVR playing state
Deploy HEOS panel / deploy (push) Successful in 25s

This commit is contained in:
2026-09-16 20:39:53 +02:00
parent 532b48ad37
commit 51dff45b54
4 changed files with 16 additions and 9 deletions
+5 -1
View File
@@ -73,9 +73,13 @@ class ZidooTest(unittest.TestCase):
def test_a_film_carries_its_year_progress_and_poster(self):
self.assertEqual(self.zidoo.now_playing(), {
"song": "A Private War", "artist": "2018", "image": None, "poster_id": 108,
"position_ms": 1589745, "duration_ms": 6635092,
"play_state": "play", "position_ms": 1589745, "duration_ms": 6635092,
})
def test_a_paused_film_is_still_there_but_paused(self):
FakeZidoo.video["status"] = 0
self.assertEqual(self.zidoo.now_playing()["play_state"], "pause")
def test_the_poster_is_looked_up_once_per_file(self):
self.zidoo.now_playing()
self.zidoo.now_playing()