Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • M medialibrary
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 63
    • Issues 63
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLAN
  • medialibrary
  • Issues
  • #373

Closed
Open
Created Oct 04, 2021 by Hugo Beauzée-Luyssen@chouquetteMaintainer

Implement a private/public state for the analyzed content

As it's already done for present/missing, we need a privacy setting for the contents analyzed by the media library.

This will allow the UPnP server (and most likely other servers in the future) to have a fine grain selection on what gets publicly exposed, instead of all or nothing.

How to implement this is not yet settled in stone, there are 2 main ways:

  • Replicate what's done all around with is_present flags
  • Compute it on the fly

The gutfeel is that computing this on the fly will lead to a major performance hit, since we won't be able to leverage any of the precomputed counters for various entities. For instance, if a user queries the public media groups, they would need to scan the entire media table each time to compute the number of video/audio & all.

On the other hand, having everything computed by some triggers is probably easier to handle once implemented, and all precomputed counters can be updated accordingly, however it basically means doubling the number of existing counters which will imply a lot of changes all over.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking

VideoLAN code repository instance