mirror of
https://github.com/talwat/lowfi
synced 2025-01-26 10:21:26 +00:00
fix: only import mpris_server with the feature
This commit is contained in:
parent
978dfbc5e2
commit
cefb95e556
@ -7,7 +7,6 @@ use std::{collections::VecDeque, ffi::CString, sync::Arc, time::Duration};
|
|||||||
use arc_swap::ArcSwapOption;
|
use arc_swap::ArcSwapOption;
|
||||||
use downloader::Downloader;
|
use downloader::Downloader;
|
||||||
use libc::freopen;
|
use libc::freopen;
|
||||||
use mpris_server::PlayerInterface;
|
|
||||||
use reqwest::Client;
|
use reqwest::Client;
|
||||||
use rodio::{OutputStream, OutputStreamHandle, Sink};
|
use rodio::{OutputStream, OutputStreamHandle, Sink};
|
||||||
use tokio::{
|
use tokio::{
|
||||||
@ -19,6 +18,9 @@ use tokio::{
|
|||||||
task,
|
task,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#[cfg(feature = "mpris")]
|
||||||
|
use mpris_server::PlayerInterface;
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
play::PersistentVolume,
|
play::PersistentVolume,
|
||||||
tracks::{self, list::List},
|
tracks::{self, list::List},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user