switch to mpv, because its way better

This commit is contained in:
Greg Gauthier 2021-03-15 19:42:28 +00:00
parent 48f85f0cd0
commit 283d898408
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.DS_Store .DS_Store
__pycache__/
.idea/ .idea/
*.lock *.lock

View File

@ -16,7 +16,7 @@ class RadioMenu(AbstractMenu):
station_list[i]["codec"] + " " + station_list[i]["codec"] + " " +
station_list[i]["bitrate"] + " " + station_list[i]["bitrate"] + " " +
station_list[i]["url"], station_list[i]["url"],
lambda url=station_list[i]["url"]: subprocess.run(["mpg123", url]) lambda url=station_list[i]["url"]: subprocess.run(["mpv", "--no-video", url])
) )
) )