Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 963 Bytes

README.md

File metadata and controls

25 lines (23 loc) · 963 Bytes

About

With this library you can create a remote Plex client. This library is based on plex-mpv-shim.

How to use

  • Implement the abstract class PlayerAbstract. As example you can look at this file.
  • Import the program like this:
from plex_remote.plex_remote_client import PlexRemoteClient
  • Start the remote client like:
self.plexRemoteClient = PlexRemoteClient(remote_player)
thread = threading.Thread(target=self.plexRemoteClient.start)
thread.daemon = True
thread.start()
  • To stop the remote client:
thread = threading.Thread(target=self.plexRemoteClient.stop)
thread.daemon = True
thread.start()

Where it's used

This library is used in Girens an GTK Plex Media Player.