[fix] add --no-video flag

This commit is contained in:
SouthFox 2024-12-30 17:00:49 +08:00
parent b5d0efc88f
commit 7918ef0b3a

View file

@ -7,4 +7,4 @@
(while True
(for [item (.json (requests.get "https://stream.chillhop.com/live/12355"))]
(print f"Now playing: {(:title item)} - {(:artists item)} - {(:fileId item)}")
(subprocess.run f"mpv https://stream.chillhop.com/mp3/{(:fileId item)}" :shell True :capture_output True)))
(subprocess.run f"mpv --no-video https://stream.chillhop.com/mp3/{(:fileId item)}" :shell True :capture_output True)))