Something went wrong. Try again.
An extensible music server written in Rust , single binary, zero dependency
scrobble audio atproto radio streaming jellyfin subsonic navidrome
Something went wrong. Try again.
1.6 kB · 42 lines
Rust
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243// This file is @generated by prost-build.#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]pub struct Addon { #[prost(string, tag = "1")] pub id: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub name: ::prost::alloc::string::String, #[prost(string, tag = "3")] pub description: ::prost::alloc::string::String, #[prost(string, tag = "4")] pub icon: ::prost::alloc::string::String, #[prost(string, tag = "5")] pub url: ::prost::alloc::string::String, #[prost(string, tag = "6")] pub version: ::prost::alloc::string::String, #[prost(string, tag = "7")] pub author: ::prost::alloc::string::String, #[prost(bool, tag = "8")] pub enabled: bool,}#[derive(Clone, PartialEq, ::prost::Message)]pub struct Playlist { #[prost(string, tag = "1")] pub id: ::prost::alloc::string::String, #[prost(string, tag = "2")] pub name: ::prost::alloc::string::String, #[prost(string, tag = "3")] pub description: ::prost::alloc::string::String, #[prost(message, repeated, tag = "4")] pub tracks: ::prost::alloc::vec::Vec<super::super::metadata::v1alpha1::Track>, /// How many tracks it has. A listing reports this without sending the /// entries, so counting `tracks` there gives zero. #[prost(uint32, tag = "5")] pub track_count: u32,}#[derive(Clone, PartialEq, ::prost::Message)]pub struct Tracklist { #[prost(string, tag = "1")] pub id: ::prost::alloc::string::String, #[prost(message, repeated, tag = "2")] pub tracks: ::prost::alloc::vec::Vec<super::super::metadata::v1alpha1::Track>,}