Media Library Scanning
MediaLibraryScanning(api, subsonic)
Class that contains all the methods needed to interact with the media library scanning endpoints in the Subsonic API.
Source code in .venv/lib/python3.11/site-packages/knuckles/_media_library_scanning.py
get_scan_status()
Get the status of the scanning of the library.
Returns:
Type | Description |
---|---|
ScanStatus
|
An object that holds all the info about the current state of the scanning of the library. |
Source code in .venv/lib/python3.11/site-packages/knuckles/_media_library_scanning.py
start_scan()
Request to the server to start a scanning of the library.
Returns:
Type | Description |
---|---|
ScanStatus
|
An object that holds all the info about the current state of the scanning of the library. |