Format code with yapf
This commit fixes the style issues introduced in 4502848
according to the output
from yapf.
Details: https://deepsource.io/gh/kokarare1212/librespot-python/transform/ce5167d0-9711-4c7d-a401-05c377522186/
This commit is contained in:
parent
4502848265
commit
269240c9c7
|
@ -115,8 +115,9 @@ def login():
|
||||||
|
|
||||||
def play(track_id_str: str):
|
def play(track_id_str: str):
|
||||||
track_id = TrackId.from_base62(track_id_str)
|
track_id = TrackId.from_base62(track_id_str)
|
||||||
stream = session.content_feeder().load(
|
stream = session.content_feeder().load(track_id,
|
||||||
track_id, VorbisOnlyAudioQuality(quality), False, None)
|
VorbisOnlyAudioQuality(quality),
|
||||||
|
False, None)
|
||||||
ffplay = subprocess.Popen(
|
ffplay = subprocess.Popen(
|
||||||
["ffplay", "-"],
|
["ffplay", "-"],
|
||||||
stdin=subprocess.PIPE,
|
stdin=subprocess.PIPE,
|
||||||
|
|
Loading…
Reference in New Issue