mirror of
https://github.com/pkkid/python-plexapi
synced 2025-02-16 21:08:27 +00:00
Merge pull request #585 from jjlawren/gdm_scan_clients_with_all
Allow scanning for clients when using GDM.all()
This commit is contained in:
commit
114d907443
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…
Add table
Reference in a new issue