#lookup #plugin #interface #media #request #episodes-movies-actors #plugin-fn

rs-plugin-lookup-interfaces

Common description for plugin creation

5 releases (breaking)

0.11.0 Apr 5, 2024
0.5.0 Apr 5, 2024
0.4.0 Apr 4, 2024
0.2.0 Apr 3, 2024
0.1.0 Apr 3, 2024

#160 in Video

MIT/Apache

5KB
58 lines

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() }
    ))
}
```

Dependencies

~3–5MB
~92K SLoC