mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
general logging and comment fixups
This commit is contained in:
parent
11040d994e
commit
cd9f822c90
3 changed files with 3 additions and 3 deletions
|
@ -128,8 +128,6 @@ impl<'ct> ConnectState {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
debug!("next track is {new_track:#?}");
|
|
||||||
|
|
||||||
let new_track = match new_track {
|
let new_track = match new_track {
|
||||||
None => return Ok(None),
|
None => return Ok(None),
|
||||||
Some(t) => t,
|
Some(t) => t,
|
||||||
|
|
|
@ -175,6 +175,8 @@ fn handle_transfer_encoding(
|
||||||
let encoding = headers.get("Transfer-Encoding").map(String::as_str);
|
let encoding = headers.get("Transfer-Encoding").map(String::as_str);
|
||||||
if let Some(encoding) = encoding {
|
if let Some(encoding) = encoding {
|
||||||
trace!("message was send with {encoding} encoding ");
|
trace!("message was send with {encoding} encoding ");
|
||||||
|
} else {
|
||||||
|
trace!("message was send with no encoding ");
|
||||||
}
|
}
|
||||||
|
|
||||||
if !matches!(encoding, Some("gzip")) {
|
if !matches!(encoding, Some("gzip")) {
|
||||||
|
|
|
@ -820,7 +820,7 @@ impl SpClient {
|
||||||
/// **will** contain the query
|
/// **will** contain the query
|
||||||
/// - artists
|
/// - artists
|
||||||
/// - returns 2 pages with tracks: 10 most popular tracks and latest/popular album
|
/// - returns 2 pages with tracks: 10 most popular tracks and latest/popular album
|
||||||
/// - remaining pages are albums of the artists and are only provided as page_url
|
/// - remaining pages are artist albums sorted by popularity (only provided as page_url)
|
||||||
/// - search
|
/// - search
|
||||||
/// - is massively influenced by the provided query
|
/// - is massively influenced by the provided query
|
||||||
/// - the query result shown by the search expects no query at all
|
/// - the query result shown by the search expects no query at all
|
||||||
|
|
Loading…
Reference in a new issue