[fix] add --no-video flag
This commit is contained in:
parent
b5d0efc88f
commit
7918ef0b3a
1 changed files with 1 additions and 1 deletions
|
@ -7,4 +7,4 @@
|
||||||
(while True
|
(while True
|
||||||
(for [item (.json (requests.get "https://stream.chillhop.com/live/12355"))]
|
(for [item (.json (requests.get "https://stream.chillhop.com/live/12355"))]
|
||||||
(print f"Now playing: {(:title item)} - {(:artists item)} - {(:fileId item)}")
|
(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)))
|
||||||
|
|
Loading…
Reference in a new issue