Initial commit of ZonePlayer

This commit is contained in:
Media
2025-06-28 01:05:35 -05:00
commit 2c188140b0
5486 changed files with 940469 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
from Scripts.ZonePlayer.OLD.persistent_player import PersistentPlayer
import time
# create and start three players
praise = PersistentPlayer("praise", "/home/media/Music/Praise")
worship = PersistentPlayer("worship", "/home/media/Music/Worship")
instrumental = PersistentPlayer("instrumental", "/home/media/Music/Instrumental")
for p in (praise, worship, instrumental):
p.play_current()
# just keep Python alive; python-mpv's internal thread will fire your callbacks
try:
while True:
time.sleep(1)
except KeyboardInterrupt:
print("Stopping…")