Fix mpv pause state when loading new media

- Bugfix for volume setting
- Making duck() unduck() stable
This commit is contained in:
Philipp Grafe committed 2026-02-08 10:59:56 +01:00
1 parent d42abaa2c9
commit e4c26a323e
2 files changed
+28 -9

No files matched your search

+16
View File
@@ -17,6 +17,22 @@ time.sleep(2)
player.resume()
time.sleep(5)
print("Set volume to 80")
player.set_volume(80)
time.sleep(2)
print("Duck")
player.duck()
time.sleep(2)
print("Set volume to 40 while ducked")
player.set_volume(40)
time.sleep(2)
print("Unduck")
player.unduck()
time.sleep(2)
player.stop()
time.sleep(2)