mirror of
https://github.com/jellyfin/jellyfin-apiclient-python.git
synced 2024-10-07 03:13:26 +00:00
rename scan_library to refresh_library
This commit is contained in:
parent
a33be83513
commit
0120650286
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user