Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: should epoch-ids be enumerated instead of random stings of numbers? #307

Open
stevevanhooser opened this issue Dec 16, 2024 · 0 comments

Comments

@stevevanhooser
Copy link
Contributor

Right now, epoch ids for generic devices are ndi.ido random strings. Should they be numbered in order of creation? (Which may or may not reflect chronological order.)

Along with this idea, should we make it easier to set the epoch_id to a filename or some other feature without creating a class?

Advantages:

  • It is cognitively easier to deal with sequential number than a set of random numbers (even if the numbers are sortable).
  • Even easier if the epoch matches some name that the user is familiar with (like a file name, as long as the file name increments).

Potential issues:

  • One would have to make sure that the epoch_id is unique within a session. If we allow people to specify a filename, and it isn't unique, then that's a problem. We'd have to check (probably in ndi.file.navigator, where most of the epoch_ids get assigned.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant