Skip to content

Proposal for new GDD type: Scan folder #23

@dvdeurse

Description

@dvdeurse

One of the parameter types that exists inside LiveOS is called FileList. It is basically a GDD Select, but the items in the list are dynamic based on the content of a folder.

A typical use case (and one that is used every day in production by multiple LiveOS clients) is a folder with images. Without updating the graphics template, operators can manipulate the list of images to select from by simply adding/removing files from that folder. You might argue that you could use the GDD File path (or Image File path) type, but then the operator needs to search the image every time somewhere on the file system. And in some cases, the computer of the operator doesn't have access to that folder.

The final name of this new type is to be discussed, but it should contain the following options:

  • folder: the folder to scan the files. In LiveOS, this is currently restricted to a relative path from the base folder (i.e. the folder of the manifest file). To be discussed whether we want this broader.
  • extensions: a filter to only show files based on extensions (I assume this is sufficient, we probably don't need a full regex-based filter)

What are your thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Concluded - waiting for implementationThis issue has been discussed by the Working Group and a conclusion has been reached.Data TypesIdeaIdeas or ProposalManifestRelated to the OGraf Graphics manifest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions