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

Wildcard for mimetypes_by_file_ext? #255

Closed
J-avery32 opened this issue Jul 17, 2022 · 1 comment · Fixed by #259
Closed

Wildcard for mimetypes_by_file_ext? #255

J-avery32 opened this issue Jul 17, 2022 · 1 comment · Fixed by #259

Comments

@J-avery32
Copy link

I am trying to create a config.yml for a specialized format as instructed here: https://blueskyproject.io/tiled/explanations/specialized-formats.html

However, in this format files of the same type have a variety of different extensions simply because the '.' character is used in these files for another kind of information, not an actual extension.

For example some of my files look like this:

polymer_10_new_Ck150V.2050
polymer_10_new_Ck150V.3050
polymer_10_new_Ck150V.4050

but they are all the same data format.

Additionally, there are two files in this directory that have the extension ".log"

I would like to create an adapter for the .log files and then a separate adapter for all the rest.

Are there any wildcards that I can use in the yaml field mimetypes_by_file_ext?

@danielballan
Copy link
Member

I think that the proposal in #175 (comment) (not yet implemented) would address this. I'll implement it soon and ask you to give it a try if you don't mind.

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

Successfully merging a pull request may close this issue.

2 participants