From abfcce282e764b11d432c69b3996f96955f6438b Mon Sep 17 00:00:00 2001 From: HEnquist Date: Sat, 10 Aug 2019 20:45:07 +0200 Subject: [PATCH] Clean up playlist example --- examples/playlist_tracks.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/playlist_tracks.rs b/examples/playlist_tracks.rs index 14cdfb02..224d43ab 100644 --- a/examples/playlist_tracks.rs +++ b/examples/playlist_tracks.rs @@ -15,8 +15,6 @@ use librespot::core::authentication::Credentials; use librespot::core::config::SessionConfig; use librespot::core::session::Session; use librespot::core::spotify_id::SpotifyId; -use librespot::playback::config::PlayerConfig; -use librespot::playback::config::Bitrate; use librespot::metadata::{Metadata, Track, Playlist}; fn main() { @@ -25,8 +23,6 @@ fn main() { let handle = core.handle(); let session_config = SessionConfig::default(); - let mut player_config = PlayerConfig::default(); - player_config.bitrate = Bitrate::Bitrate320; let args: Vec<_> = env::args().collect(); if args.len() != 4 {