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:
jjlawrenandCharles Garwood authored and GitHub committed 2020-09-02 13:56:41 -05:00
1 parent 97602a127a
commit cb1cf2238d
6 files changed
+195 -2

No files matched your search

+4 -2
View File
@@ -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."""