mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
Add to_base62 method
This commit is contained in:
parent
a7334b6c23
commit
cbc4ee7554
2 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
use byteorder::{BigEndian, ByteOrder};
|
||||
use extprim::u128::u128;
|
||||
use std;
|
||||
use std::fmt;
|
||||
use extprim::u128::u128;
|
||||
// Unneeded since 1.21
|
||||
#[allow(unused_imports)]
|
||||
use std::ascii::AsciiExt;
|
||||
|
|
|
@ -533,7 +533,11 @@ impl PlayerInternal {
|
|||
fn load_track(&self, track_id: SpotifyId, position: i64) -> Option<(Decoder, f32)> {
|
||||
let track = Track::get(&self.session, track_id).wait().unwrap();
|
||||
|
||||
info!("Loading track \"{}\" with Spotify URI \"{}\"", track.name, track_id.to_base62());
|
||||
info!(
|
||||
"Loading track \"{}\" with Spotify URI \"{}\"",
|
||||
track.name,
|
||||
track_id.to_base62()
|
||||
);
|
||||
|
||||
let track = match self.find_available_alternative(&track) {
|
||||
Some(track) => track,
|
||||
|
|
Loading…
Reference in a new issue