From cdb243716113fa9f9297b999a8d3b1f3e5d29f9c Mon Sep 17 00:00:00 2001 From: kokarare1212 Date: Sun, 25 Apr 2021 06:38:01 +0900 Subject: [PATCH] Add debugging methods. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index dbeaa55..d1b35f5 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,15 @@ stream = session.content_feeder().load(track_id, VorbisOnlyAudioQuality(AudioQua # stream.input_stream.stream().read() to get one byte of the music stream ``` Please read [this document](https://librespot-python.rtfd.io) for detailed specifications. + +## Debug +To display the debug information, you need to inject the following code at the top of the code. +```python +import logging + + +logging.basicConfig(level=logging.DEBUG) +``` ## Roadmap Please read [ROADMAP.md](https://github.com/kokarare1212/librespot-python/blob/main/ROADMAP.md). ## Contributing