mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 22:10:09 +00:00
Add Plex service to refresh a library (#39094)
* Add Plex service to refresh a library * Clean up rebase leftovers * Re-run black * Fix docstring Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com> Co-authored-by: Charles Garwood <cgarwood@newdealmultimedia.com>
This commit is contained in:
@@ -121,8 +121,6 @@ class MockPlexServer:
|
||||
|
||||
self._systemAccounts = list(map(MockPlexSystemAccount, range(num_users)))
|
||||
|
||||
self._library = None
|
||||
|
||||
self._clients = []
|
||||
self._sessions = []
|
||||
self.set_clients(num_users)
|
||||
@@ -400,6 +398,10 @@ class MockPlexLibrarySection:
|
||||
"""Mock the key identifier property."""
|
||||
return str(id(self.title))
|
||||
|
||||
def update(self):
|
||||
"""Mock the update call."""
|
||||
pass
|
||||
|
||||
|
||||
class MockPlexMediaItem:
|
||||
"""Mock a Plex Media instance."""
|
||||
|
||||
Reference in New Issue
Block a user