Adjust core to new proto spec

This commit is contained in:
Hans Mündelein 2023-06-02 14:40:45 +02:00
parent fac450900c
commit eda7c6528a
Signed by: hans
GPG Key ID: BA7B55E984CE74F4
1 changed files with 1 additions and 2 deletions

View File

@ -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,
} }