Skip to content

Stable library media item id's #2

@martin-juul

Description

@martin-juul

(synchronised from forgejo)

Currently we regenerate the ids in a non-deterministic way.

This is okay for now but if the api server wants to request a stream for a specific path and has cached some of the information, it will not be useable. We need a shared database of paths and library item id's.

I suggest we create a path-db-item sqlite database which has the direct path mappings between the api server and the transcoding server.

For the transcoding server we might look into foreign data wrapper if they support sqlite.

We also need to ensure the mapping between library -> media item are stable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions