#plugin #interface #media #lookup #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

#216 in Video

Download history 29/week @ 2024-07-29 6/week @ 2024-09-23 5/week @ 2024-09-30

120 downloads per month

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

~2.9–5MB
~90K SLoC