Skip to content
Snippets Groups Projects

MediaLibrary: Add thumbnail generation API

Merged Romain Vimont requested to merge rom1v/medialibrary:thumbnail_from_media_id into master

Add an API to request asynchronous thumbnail generation from a media id.

The existing API (IMedia::requestThumbnail()) needs a Media instance. If the client only knows the media id, it must execute a SQL query to retrieve a Media, so for an UI client, this defeated the purpose of an asynchronous API.

This new API resolves the media id from the worker thread.

Refs #283 (closed)

Edited by Romain Vimont

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading