xmb.api.v1.LibraryService
LibraryService manages libraries and the hub folders feeding them.
postAdd library path
Feeds a library from a folder on a hub, verifying the folder exists before recording it. **Required scopes:** `xmb:admin`
postApply subtitle
Has the retrieval service cache one candidate and the hub write it beside the file, then re-probes the file so the track is playable at once. **Required scopes:** `xmb:user:read`
postBrowse hub
Lists one folder on a hub so a library path can be chosen. Requires the hub to be online. **Required scopes:** `xmb:admin`
postClear media file marker
Removes the hand-pinned marker of a kind, so the automated sources decide again. **Required scopes:** `xmb:admin`
postEnsure library
Returns the server's library for the given category, creating it if it does not exist. **Required scopes:** `xmb:admin`
postIdentify series
Pins a series to a provider record, or keeps it as it is under a given name. Either way the choice is locked against automated passes. **Required scopes:** `xmb:admin`
postList libraries
Returns the server's libraries. An admin also gets the hub folders that feed each one. **Required scopes:** `xmb:user:read`
postList media file markers
Every stored marker row on a file — chapter, detected, community, manual — with the row the player is given per kind flagged. **Required scopes:** `xmb:admin`
postList unidentified
Returns library items that have not been matched to a provider record, for review. **Required scopes:** `xmb:admin`
postRe-identify media file
Says a file is not the series it was matched to: drops the delivery hint, refuses the delivering grab's episode rows, and either lets the next scan place the file by its name or pins it to a chosen series. **Required scopes:** `xmb:admin`
postRemove library path
Stops feeding a library from a hub folder. Already-indexed files are marked missing by the next scan. **Required scopes:** `xmb:admin`
postRescan library
Queues a scan of the server's hubs. A scan already running for the server is waited on rather than duplicated. **Required scopes:** `xmb:admin`
postSearch metadata
Searches the configured metadata providers, for choosing what an unidentified item is. **Required scopes:** `xmb:admin`
postSearch subtitles
Asks the shared retrieval service what subtitles exist for a file, ranked under its library's policy, with what the nightly pass last decided. **Required scopes:** `xmb:user:read`
postSet media file marker
Pins an intro or credits range on a file by hand. A manual marker outranks every automated source and is never overwritten by a later pass. **Required scopes:** `xmb:admin`
postUpdate library
Changes a library's settings, such as the quality profile its titles inherit by default. **Required scopes:** `xmb:admin`