Crates.io | rs-plugin-lookup-interfaces |
lib.rs | rs-plugin-lookup-interfaces |
version | 0.11.0 |
source | src |
created_at | 2024-04-03 20:10:02.606423 |
updated_at | 2024-04-05 08:13:27.519257 |
description | Common description for plugin creation |
homepage | https://github.com/neckaros/rs-plugin-lookup-interfaces/ |
repository | https://github.com/neckaros/rs-plugin-lookup-interfaces/ |
max_upload_size | |
id | 1195506 |
size | 4,209 |
Interfaces for episodes/movies/Actors... and Media Lookup
Like every other plugins you must implement an info request
#[plugin_fn]
pub fn infos() -> FnResult<Json<PluginInformation>> {
Ok(Json(
PluginInformation { name: "xxxx_request".into(), kind: PluginType::Lookup, version: 1, publisher: "neckaros".into(), description: "descruption".into(), credential_kind: Some(CredentialType::Token), ..Default::default() }
))
}
```