plex-api 0.0.6

Library for communication with Plex server. Work in progress, not ready for any use. See github for details.
docs.rs failed to build plex-api-0.0.6
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: plex-api-0.0.11

crates tests status codecov Join the chat at https://gitter.im/plex-api-rs/community

Work in progress

Sorry, if you're looking for a ready-to-use API, it's definitely not this one.

My goal (not sure, when I would be able to achieve it, or even if I'll achieve it) is to create an API, similar to python-plexapi. Actually, to be honest, my final goal is to rewrite my plexiglas project into Rust from Python :) And to "simplify" the task I've decided to have a separate project with the API.

Any help is welcome. And just in case: I'm far from being an expert in Rust, so if you know how to do things in proper, Rust-way — feel free to create an issue (or, better, pull-request) to correct the code.

As the starting point I'd like to have an easy way to bootstrap test env. You can check out what I've done for python-plexapi in terms of the env: there is a script which creates a new Plex Server instance in docker and populates the library with some stub media, and assigns this shiny new server to MyPlex account, if required.

Supported plex versions

The codebase is regularly tested against three different PMS versions. The exact list of the releases is generated automatically on a daily basis, to keep up with all the recent PMS versions. We take every other minor release from the latest 5 minor releases. At the moment the following versions are tested:

  • 1.31.1.6733-bc0674160
  • 1.29.2.6364-6d72b0cf6
  • 1.27.2.5929-a806c5905

TODO

  • MyPlex access
  • CLI command to bootstrap new Plex server
    • Requesting claim-token from MyPlex
    • Change server's settings
    • Library section creation
    • Notifications handling, to be able to determine if the library initialisation complete
    • Granting access to a managed user for freshly created server
  • MobileSync
    • Read
    • Download

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

You can find the contribution documentation in the CONTRIBUTING.md file.