rename scan_library to refresh_library

This commit is contained in:
joncrall 2023-12-17 16:54:19 -05:00
parent a33be83513
commit 0120650286

View File

@ -135,10 +135,12 @@ class BiggerAPIMixin:
params['includeDirectories'] = params.get('includeDirectories', True)
return self._get("Environment/DirectoryContents", params)
def scan_library(self):
def refresh_library(self):
"""
Starts a library scan.
"""
return self._post("Library/Refresh")
def items(self, handler="", action="GET", params=None, json=None):
if action == "POST":
return self._post("Items%s" % handler, json, params)