mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Clean up playlist example
This commit is contained in:
parent
eb9ab4885f
commit
abfcce282e
1 changed files with 0 additions and 4 deletions
|
@ -15,8 +15,6 @@ use librespot::core::authentication::Credentials;
|
||||||
use librespot::core::config::SessionConfig;
|
use librespot::core::config::SessionConfig;
|
||||||
use librespot::core::session::Session;
|
use librespot::core::session::Session;
|
||||||
use librespot::core::spotify_id::SpotifyId;
|
use librespot::core::spotify_id::SpotifyId;
|
||||||
use librespot::playback::config::PlayerConfig;
|
|
||||||
use librespot::playback::config::Bitrate;
|
|
||||||
use librespot::metadata::{Metadata, Track, Playlist};
|
use librespot::metadata::{Metadata, Track, Playlist};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
@ -25,8 +23,6 @@ fn main() {
|
||||||
let handle = core.handle();
|
let handle = core.handle();
|
||||||
|
|
||||||
let session_config = SessionConfig::default();
|
let session_config = SessionConfig::default();
|
||||||
let mut player_config = PlayerConfig::default();
|
|
||||||
player_config.bitrate = Bitrate::Bitrate320;
|
|
||||||
|
|
||||||
let args: Vec<_> = env::args().collect();
|
let args: Vec<_> = env::args().collect();
|
||||||
if args.len() != 4 {
|
if args.len() != 4 {
|
||||||
|
|
Loading…
Reference in a new issue