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

Use pattern for indicating timestamp in filename for pbp-meta-gen #26

Open
carueda opened this issue Aug 21, 2024 · 2 comments
Open

Use pattern for indicating timestamp in filename for pbp-meta-gen #26

carueda opened this issue Aug 21, 2024 · 2 comments
Assignees
Labels

Comments

@carueda
Copy link
Member

carueda commented Aug 21, 2024

@danellecline @ryjombari

As part of our discussion earlier today:

In regards to the current --prefix PREFIX option for pbp-meta-gen, maybe, alternatively, consider something like

--pattern PATTERN

to indicate how pbp-meta-gen can extract the timestamp from the input filenames?

PATTERN would be any string with fragments that collectively indicate the timestamp like:

  • {YYYYMMDD} : 4-digit year, 2-dig month, 2-digit day
  • {YYYY} : 4-digit year
  • {YY} : 2-digit year
  • {MM} : 2-digit month
  • etc.

Where the possible symbols inside a {} fragment include Y, M, D, H, m, s ..

The NRS11 case would be something like --pattern NRS11_{YYYYMMDD}_{HHmmss}.flac

Just an idea.

@carueda carueda added the idea label Aug 21, 2024
@ryjombari
Copy link
Collaborator

Good idea @carueda. This may be a beneficial approach.

@danellecline danellecline self-assigned this Aug 21, 2024
@danellecline
Copy link
Collaborator

Thanks for capturing this suggestion @carueda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants