general logging and comment fixups

This commit is contained in:
Felix Prillwitz 2024-12-11 23:52:53 +01:00
parent 11040d994e
commit cd9f822c90
No known key found for this signature in database
GPG key ID: DE334B43606D1455
3 changed files with 3 additions and 3 deletions

View file

@ -128,8 +128,6 @@ impl<'ct> ConnectState {
};
};
debug!("next track is {new_track:#?}");
let new_track = match new_track {
None => return Ok(None),
Some(t) => t,

View file

@ -175,6 +175,8 @@ fn handle_transfer_encoding(
let encoding = headers.get("Transfer-Encoding").map(String::as_str);
if let Some(encoding) = encoding {
trace!("message was send with {encoding} encoding ");
} else {
trace!("message was send with no encoding ");
}
if !matches!(encoding, Some("gzip")) {

View file

@ -820,7 +820,7 @@ impl SpClient {
/// **will** contain the query
/// - artists
/// - 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
/// - is massively influenced by the provided query
/// - the query result shown by the search expects no query at all