Expand description
Calls on one library. Port of the media list, thumbnail and key parts of
@redseat/api library.ts; the next-page key follows the web app’s
MediasList.svelte.
Structs§
- Library
Api - Calls on one library. Cheap to clone; clones share the passphrase.
- Media
Page - One page of medias.
Constants§
- MEDIA_
TIMEOUT - Timeout of
LibraryApi::get_media: a whole file can take long to download.
Functions§
- next_
page_ key - The key of the page after
lastforsort:<sort value>|<id>, the server’s keyset cursor.Nonefor name and rating sorts, which the server cannot page (it only reads integer cursors), or whenlastlacks the sort value.
Type Aliases§
- Media
Item - A media of a list, with its relations (tags, people, series…).