Merge pull request #384 from librespot-org/revert-379-patch-1

Revert "Fix play.rs example"
This commit is contained in:
Ash 2019-10-09 19:01:05 +02:00 committed by GitHub
commit 551daadc44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

View file

@ -4,10 +4,10 @@ extern crate tokio_core;
use std::env; use std::env;
use tokio_core::reactor::Core; use tokio_core::reactor::Core;
use librespot::librespot_core::authentication::Credentials; use librespot::core::authentication::Credentials;
use librespot::librespot_core::config::SessionConfig; use librespot::core::config::SessionConfig;
use librespot::librespot_core::session::Session; use librespot::core::session::Session;
use librespot::librespot_core::spotify_id::SpotifyId; use librespot::core::spotify_id::SpotifyId;
use librespot::playback::config::PlayerConfig; use librespot::playback::config::PlayerConfig;
use librespot::playback::audio_backend; use librespot::playback::audio_backend;

View file

@ -12,7 +12,7 @@ extern crate url;
pub extern crate librespot_audio as audio; pub extern crate librespot_audio as audio;
pub extern crate librespot_connect as connect; pub extern crate librespot_connect as connect;
pub extern crate librespot_core; pub extern crate librespot_core as core;
pub extern crate librespot_metadata as metadata; pub extern crate librespot_metadata as metadata;
pub extern crate librespot_playback as playback; pub extern crate librespot_playback as playback;
pub extern crate librespot_protocol as protocol; pub extern crate librespot_protocol as protocol;

View file

@ -26,11 +26,11 @@ use tokio_core::reactor::{Core, Handle};
use tokio_io::IoStream; use tokio_io::IoStream;
use url::Url; use url::Url;
use librespot::librespot_core::authentication::{get_credentials, Credentials}; use librespot::core::authentication::{get_credentials, Credentials};
use librespot::librespot_core::cache::Cache; use librespot::core::cache::Cache;
use librespot::librespot_core::config::{ConnectConfig, DeviceType, SessionConfig}; use librespot::core::config::{ConnectConfig, DeviceType, SessionConfig};
use librespot::librespot_core::session::Session; use librespot::core::session::Session;
use librespot::librespot_core::version; use librespot::core::version;
use librespot::connect::discovery::{discovery, DiscoveryStream}; use librespot::connect::discovery::{discovery, DiscoveryStream};
use librespot::connect::spirc::{Spirc, SpircTask}; use librespot::connect::spirc::{Spirc, SpircTask};