With this library you can create a remote Plex client. This library is based on plex-mpv-shim.
- 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()
This library is used in Girens an GTK Plex Media Player.