Update README.md

This commit is contained in:
こうから
2021-04-25 09:27:03 +09:00
committed by GitHub
parent 12f033d56b
commit f16ee066e4

View File

@@ -48,7 +48,8 @@ session = Session.Builder() \
track_id = TrackId.from_uri("spotify:track:xxxxxxxxxxxxxxxxxxxxxx")
stream = session.content_feeder().load(track_id, VorbisOnlyAudioQuality(AudioQuality.AudioQuality.VERY_HIGH), False, None)
# stream.input_stream.stream().read() to get one byte of the music stream
# stream.input_stream.stream().read() to get one byte of the music stream.
# ex: 1 (If there is no more voice data, -1 is received as the result.)
```
Please read [this document](https://librespot-python.rtfd.io) for detailed specifications.