Skip to content

tgiachi/OneCog.Io.Plex

 
 

Repository files navigation

OneCog.Io.Plex

Portable client library for accessing Plex Media Server content library

OneCog.Io.Plex Build Status

Usage

Install nuget package from the OneCog package repository:

Install-Package OneCog.Io.Plex -Source https://www.myget.org/F/onecog/api/v2/package

Use the following code to instantiate a server:

OneCog.Io.Plex.IServer server = OneCog.Io.Plex.Server.Create("[Plex Host Name or IP]", [Plex Port]);

Retrieve all artists with:

IList<OneCog.Io.Plex.Music.IArtist> artists = await server.Music.Artists.All.ToList();

Retrieve all albums with:

IList<OneCog.Io.Plex.Music.IAlbum> albumss = await server.Music.Albums.All.ToList();

NOTE: All access to the metadata library is via IObservable instances. This allows for improved asynchronous behaviour, buffering and composition with other observable sources.

About

Portable client library for accessing Plex Media Server content library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 93.8%
  • F# 5.5%
  • Batchfile 0.7%