mirror of
https://github.com/talwat/lowfi
synced 2025-01-12 19:31:54 +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 downloader::Downloader;
|
||||
use libc::freopen;
|
||||
use mpris_server::PlayerInterface;
|
||||
use reqwest::Client;
|
||||
use rodio::{OutputStream, OutputStreamHandle, Sink};
|
||||
use tokio::{
|
||||
@ -19,6 +18,9 @@ use tokio::{
|
||||
task,
|
||||
};
|
||||
|
||||
#[cfg(feature = "mpris")]
|
||||
use mpris_server::PlayerInterface;
|
||||
|
||||
use crate::{
|
||||
play::PersistentVolume,
|
||||
tracks::{self, list::List},
|
||||
|
Loading…
x
Reference in New Issue
Block a user