mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-10 06:04:15 +00:00
Allow scanning for clients when using GDM.all()
This commit is contained in:
parent
7dad2a8931
commit
40e295ddf9
1 changed files with 2 additions and 2 deletions
|
@ -23,12 +23,12 @@ class GDM:
|
|||
"""Scan the network."""
|
||||
self.update(scan_for_clients)
|
||||
|
||||
def all(self):
|
||||
def all(self, scan_for_clients=False):
|
||||
"""Return all found entries.
|
||||
|
||||
Will scan for entries if not scanned recently.
|
||||
"""
|
||||
self.scan()
|
||||
self.scan(scan_for_clients)
|
||||
return list(self.entries)
|
||||
|
||||
def find_by_content_type(self, value):
|
||||
|
|
Loading…
Reference in a new issue