The above examples are designed for cases when your app always connects to a single server, and you always know the address. The web socket provides various events that can be used to receive notifications from the server:ĪpiClient.UserUpdated += webSocket_UserUpdated This will open a connection in a background thread, and periodically check to ensure it's still connected. Once you have an ApiClient instance, you can easily connect to the server's web socket using: Search recursively through the user's library Var items = await client.GetItemsAsync(new ItemQuery Get the ten most recently added items for the current user RemoteLoggedOut indicates the user was logged out remotely by the serverĪpiClient.RemoteLoggedOut += ApiClient_RemoteLoggedOut Report capabilities after authenticationĪwait ApiClient.ReportCapabilities(capabilities) Var authResult = await AuthenticateUserAsync("username", passwordHash) Var client = new ApiClient(logger, " "My client name", device, cryptoProvider) Var cryptoProvider = new CryptographyProvider()
#Emby client download portable#
If using the portable class library you'll need to supply your own ICryptographyProvider implementation. If using the portable class library you'll need to supply your own IDevice implementation. Var capabilities = new ClientCapabilities() This describes the device capabilities Developers are encouraged to create their own ILogger implementation This is an example of connecting to a single server using a fixed, predictable address, from an app that has user-specific features. As a server-client, Emby Theater can be granted direct access to the multimedia content, without requiring additional resources for transcoding.This portable class library makes it very easy to harness the power of the Embyr API.
Together with its server counterpart, Emby Theater implements a powerful media sharing and streaming solution, enabling you to enjoy videos and audio files you like on any computer in your network. An easy to configure client for Media Browser Server
The built-in player is completely configurable, with customizable audio and video rendering options, streaming bitrate and filter set. To be more exact, the server streams multimedia content over the network and Emby Theater acts as a client that connects to the server's library.Īside from playing videos and music from Emby Server, the application can also fetch media content from an external disc and connect to external media players to open specific types of files. You can view videos and music files in your personal collection and start playing any of them, without downloading or sharing the file. Enjoy multimedia content on remote computers The application enables you to sort files in your library by various criteria, such as the file name, the rating, the creation date, IMDb rating or release date. Once connected, Emby Theater displays a list of all the folders in your library, exactly as you have organized them during server setup. Alternatively, you can log in via Emby Connect, so as to avoid having to specify the server configuration details. Access your Media Browser library on any network PCĬonfiguring the server-client connection is easy, considering you just have to enter the server's IP address and port number in order to sign in, but not before generating an API key for Emby Theater in Emby Server. With its help, you can gain access to your media library and play multimedia content on a remote workstation. Emby Theater acts as a client for Emby Server, enabling you to enjoy your favorite music and videos on any computer in the network.