Adjust core to new proto spec
This commit is contained in:
parent
fac450900c
commit
eda7c6528a
|
|
@ -1,7 +1,7 @@
|
||||||
pub mod proto;
|
pub mod proto;
|
||||||
|
|
||||||
use async_trait::async_trait;
|
use async_trait::async_trait;
|
||||||
use proto::crabidy::{LibraryNode, LibraryNodeChild, LibraryNodeState, Queue, Track};
|
use proto::crabidy::{LibraryNode, LibraryNodeChild, Queue, Track};
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
pub trait ProviderClient: std::fmt::Debug + Send + Sync {
|
pub trait ProviderClient: std::fmt::Debug + Send + Sync {
|
||||||
|
|
@ -38,7 +38,6 @@ impl LibraryNode {
|
||||||
title: "/".to_string(),
|
title: "/".to_string(),
|
||||||
children: Vec::new(),
|
children: Vec::new(),
|
||||||
parent: None,
|
parent: None,
|
||||||
state: LibraryNodeState::Unspecified as i32,
|
|
||||||
tracks: Vec::new(),
|
tracks: Vec::new(),
|
||||||
is_queable: false,
|
is_queable: false,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue